The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/Files HTTP/1.1
Host: cloud3.evosus.com
Content-Type: text/jsv
Content-Length: length
{
path: String,
textContents: String,
forDownload: False,
companySN: String,
customer_PK: 0,
schedule_PK: 0,
username: String,
ticket: String,
client: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
directory:
{
folders:
[
{
name: String,
modifiedDate: 0001-01-01,
fileCount: 0
}
],
files:
[
{
name: String,
extension: String,
fileSizeBytes: 0,
modifiedDate: 0001-01-01,
isTextFile: False
}
]
},
file:
{
name: String,
extension: String,
fileSizeBytes: 0,
modifiedDate: 0001-01-01,
isTextFile: False,
contents: String
},
responseStatus:
{
errorCode: String,
message: String,
stackTrace: String,
errors:
[
{
errorCode: String,
fieldName: String,
message: String
}
]
}
}