Yunique.API.REST

<back to all web services

SampleModelWhereUsed

The following routes are available for this service:
GET,OPTIONS/v3/Sample/Model/WhereUsed/{Location}/{Item}

To override the Content-type in your clients 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 /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
}