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 .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 /json/reply/SampleModelWhereUsed HTTP/1.1 
Host: ncsu.yuniquecloud.com 
Content-Type: application/json
Content-Length: length

{"location":"String","item":"String","recordCountOnly":0,"orderBy":"String","pageNumber":"String","pageSize":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"samples":[{"id":"00000000000000000000000000000000","samplerequestworkflowid":"00000000000000000000000000000000","samplerequesttradeid":"00000000000000000000000000000000","sampleworkflowid":"String","submit":0,"sampleworkflowno":0,"sampletypename":"String","tradepartnerfullname":"String","sampledescription":"String"}],"recordCount":0}