POST | /api2/SaveUploadNewDocument/ClientDocuments |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
MatterNumber | body | string | No | |
MatterId | body | int | No | |
UploadRequest | body | List<UploadRequest> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Filename | form | string | No | |
FolderId | form | int? | No | |
Link | form | string | No | |
RootId | form | string | No | |
FileSize | form | long | No | |
LastModifiedDatetime | form | DateTime? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
success | form | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api2/SaveUploadNewDocument/ClientDocuments HTTP/1.1
Host: zolacaseway.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"matterNumber":"String","matterId":0,"uploadRequest":[{"filename":"String","folderId":0,"link":"String","rootId":"String","fileSize":0,"lastModifiedDatetime":"\/Date(-62135596800000-0000)\/"}]}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"success":false}