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 .jsv suffix or ?format=jsv

HTTP + 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
}