Zola Suite Client Portal API

<back to all web services

SaveUploadNewDocument

Requires Authentication
The following routes are available for this service:
POST/api2/SaveUploadNewDocument/ClientDocuments
SaveUploadNewDocument Parameters:
NameParameterData TypeRequiredDescription
MatterNumberbodystringNo
MatterIdbodyintNo
UploadRequestbodyList<UploadRequest>No
UploadRequest Parameters:
NameParameterData TypeRequiredDescription
FilenameformstringNo
FolderIdformint?No
LinkformstringNo
RootIdformstringNo
FileSizeformlongNo
LastModifiedDatetimeformDateTime?No
SaveUploadNewDocumentResponse Parameters:
NameParameterData TypeRequiredDescription
successformboolNo

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

HTTP + JSON

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}