POST api/Files

Creates a new matter.

Request

Body

Content Type: application/xml
Schema: http://download.overtech.com.au/schemas/XmlFile.xsd
XML document describing the matter to create.

Response

Body

Content Type: application/xml
Details of the new matter or an error message.

XML
<Response>                     
  <Result>                     
    <Status>string</Status>    <!--'Success' or 'AlreadyExists'--> 
    <ID>string</ID>            <!--Unique identifier for the new matter--> 
    <Number>string</Number>    <!--Human-readable file number (e.g. 462.5)--> 
    <Matter>string</Matter>    <!--Matter description--> 
  </Result>                    
  <Message>string</Message>    <!--Error message--> 
</Response>                    

Status Codes

Code Condition
201 CreatedThe matter was created successfully.
400 Bad RequestThe XML document was invalid or resulted in an invalid matter record.
401 Unauthorized Access token is invalid, expired or not specified.
406 Not Acceptable Content type specified in the Accept header isn't supported.
409 ConflictAn existing matter matching the unique key criteria already exists.
500 Internal Server Error An internal error occurred.
501 Not ImplementedServer does not have the required plug-in.