HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/SampleModelWhereUsed HTTP/1.1
Host: ncsu.yuniquecloud.com
Content-Type: text/jsv
Content-Length: length
{
location: String,
item: String,
recordCountOnly: 0,
orderBy: String,
pageNumber: String,
pageSize: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
samples:
[
{
id: 00000000000000000000000000000000,
samplerequestworkflowid: 00000000000000000000000000000000,
samplerequesttradeid: 00000000000000000000000000000000,
sampleworkflowid: String,
submit: 0,
sampleworkflowno: 0,
sampletypename: String,
tradepartnerfullname: String,
sampledescription: String
}
],
recordCount: 0
}