GetReceivedTagsByQuery

This function allows fetching multiple tags based on order ID.

Tags: GetReceivedTagsByQuery, query, GetReceivedTagsByQueryResult, ReceivedTag, InOrderLine

Request XML

POST /xxx/service.asmx HTTP/1.1
Host: api.ongoingsystems.se
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ongoingsystems.se/WSI/GetReceivedTagsByQuery"

<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetReceivedTagsByQuery xmlns="http://ongoingsystems.se/WSI">
      <UserName>string</UserName>
      <Password>string</Password>
      <GoodsOwnerCode>string</GoodsOwnerCode>
      <query>
        <InOrderId>int</InOrderId>
      </query>
    </GetReceivedTagsByQuery>
  </soap:Body>
</soap:Envelope>

Request specification

GetReceivedTagsByQuery
UserName str(50) Req. Your username
Password str(50) Req. Your password
GoodsOwnerCode str(400) Req. The name/code of your client
query object Req. Specifies the query/search criteria, see query.
query
InOrderId int Order ID.

Response XML

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetReceivedTagsByQueryResponse xmlns="http://ongoingsystems.se/WSI">
      <GetReceivedTagsByQueryResult>
        <ReceivedTags>
          <ReceivedTag>
            <InOrderLine>
              <InOrderLineId>int</InOrderLineId>
            </InOrderLine>
            <Serial>string</Serial>
            <NumberOfItems>decimal</NumberOfItems>
          </ReceivedTag>
          <ReceivedTag>
            <InOrderLine>
              <InOrderLineId>int</InOrderLineId>
            </InOrderLine>
            <Serial>string</Serial>
            <NumberOfItems>decimal</NumberOfItems>
          </ReceivedTag>
        </ReceivedTags>
        <Success>boolean</Success>
        <Message>string</Message>
      </GetReceivedTagsByQueryResult>
    </GetReceivedTagsByQueryResponse>
  </soap:Body>
</soap:Envelope>

Response specification

GetReceivedTagsByQueryResult
ReceivedTags object[] Containing elements of ReceivedTag.
Success boolean If request was successful.
Message str(400) Message if not successful.
ReceivedTag
InOrderLine object See InOrderLine.
Serial str(128) Unique identifier for this tag.
NumberOfItems decimal The quantity og items identified by this tag.
InOrderLine
InOrderLineId int Order line ID.