Retrieves a list of the most recent matters for which the contact is a client, along with the total counts.
Name | Description | Default |
---|---|---|
id
|
Contact number (unique ID). | |
companyID
|
Optional filter by company. |
|
Content Type:
application/xml
or
application/json
List containing basic matter information, or an error message.
XML JSON |
---|
<Response> <Result> <Files> <!--Array of 'Item'--> <Item> <ID>long</ID> <!--Unique matter ID--> <FileNumber>string</FileNumber> <!--Human-readable file number--> <Matter>string</Matter> <CompanyID>long</CompanyID> <!--Company (unique ID)--> <PrimaryClientID>long</PrimaryClientID> <!--Contact number (unique ID) of primary client--> </Item> </Files> <ActiveTotal>int</ActiveTotal> <!--Total number of active matters--> <ArchivedTotal>int</ArchivedTotal> <!--Total number of archived matters--> </Result> <Message>string</Message> <!--Error message--> </Response> |
{ "Result": { "Files": [{ "ID": "long", // Unique matter ID "FileNumber": "string", // Human-readable file number "Matter": "string", "CompanyID": "long", // Company (unique ID) "PrimaryClientID": "long" // Contact number (unique ID) of primary client }], "ActiveTotal": "int", // Total number of active matters "ArchivedTotal": "int" // Total number of archived matters }, "Message": "string" // Error message } |
Code | Condition |
---|---|
200 OK | The operation completed successfully. |
400 Bad Request | Invalid contact number. |
401 Unauthorized | Access token is invalid, expired or not specified. |
404 Not Found | Contact not found. |
406 Not Acceptable | Content type specified in the Accept header isn't supported. |
500 Internal Server Error | An internal error occurred. |