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 .jsv suffix or ?format=jsv
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: text/jsv
Content-Type: text/jsv
Content-Length: length
{
matterNumber: String,
matterId: 0,
uploadRequest:
[
{
filename: String,
folderId: 0,
link: String,
rootId: String,
fileSize: 0,
lastModifiedDatetime: 0001-01-01
}
]
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { success: False }