DESCRIPTION
This endpoint creates a new incoming correspondence with supplied documents.
URL STRUCTURE
https://[hostname]/incoming-correspondence/newMETHOD
POST
HEADERS
**Authorization:** string Base64 [email]:[key]
PARAMETERS
| Name | Type | Description |
|---|---|---|
| title | string | Name of the incoming correspondence. |
| date | date | Date of the incoming correspondence. |
| source | int | Source id of the incoming correspondence. |
| urgent | bool | Boolean to determine whether IC is urgent (1 or 0). |
| assignedTo | int | User ID IC is assigned to. |
| batchNumber | int | Batch Number identifier. |
| physicallyRouted | int | Boolean whether IC has been physically routed. |
| primary-classification | int | Primary Classification ID. |
| secondary-classification | int | Secondary Classification ID. |
| notes | string | Notes field. |
| matterId | int | Matter ID the IC corresponds to. |
| documentInfoDocumentDate | string | Date. |
| documents[] | binary | Binary file to upload to IC as a document. |
| documents_name[] | string | Uploaded document name. |
| documents_date[] | date | Uploaded document date. |
| documents_class[] | int | Uploaded document primary classification ID. |
| documents_secclass[] | int | Uploaded document secondary classification ID. |
| documents_notes[] | string | Uploaded document notes. |
RETURNS
Returns ID of incoming correspondence added as an int.
36