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

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/SampleModelWhereUsed HTTP/1.1 
Host: ncsu.yuniquecloud.com 
Content-Type: application/xml
Content-Length: length

<SampleModelWhereUsed xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yunique.API.Rest.DTOs">
  <Item>String</Item>
  <Location>String</Location>
  <OrderBy>String</OrderBy>
  <PageNumber>String</PageNumber>
  <PageSize>String</PageSize>
  <RecordCountOnly>0</RecordCountOnly>
</SampleModelWhereUsed>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<SampleModelWhereUsedResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yunique.API.Rest.DTOs">
  <RecordCount>0</RecordCount>
  <Samples xmlns:d2p1="http://schemas.datacontract.org/2004/07/Yunique.API.Rest.DTOs.POCOs">
    <d2p1:SampleModelWhereUsedItem>
      <d2p1:sampledescription>String</d2p1:sampledescription>
      <d2p1:samplerequesttradeid>00000000-0000-0000-0000-000000000000</d2p1:samplerequesttradeid>
      <d2p1:samplerequestworkflowid>00000000-0000-0000-0000-000000000000</d2p1:samplerequestworkflowid>
      <d2p1:sampletypename>String</d2p1:sampletypename>
      <d2p1:sampleworkflowid>String</d2p1:sampleworkflowid>
      <d2p1:sampleworkflowno>0</d2p1:sampleworkflowno>
      <d2p1:submit>0</d2p1:submit>
      <d2p1:tradepartnerfullname>String</d2p1:tradepartnerfullname>
      <d2p1:ID>00000000-0000-0000-0000-000000000000</d2p1:ID>
    </d2p1:SampleModelWhereUsedItem>
  </Samples>
</SampleModelWhereUsedResponse>