GetReceivedTagsByQuery

This function allows fetching multiple tags based on order ID.

Tags: GetReceivedTagsByQuery, GetReceivedTagsQuery, GetReceivedTagsByQueryResponse, GetReceivedTagsResult, ReceivedTag, InOrderLine_GetReceivedTags

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 string(50) Req. Your username
Password string(50) Req. Your password
GoodsOwnerCode string(400) Req. The name/code of your client
Query GetReceivedTagsQuery Req. The query object
GetReceivedTagsQuery
InOrderId int Order ID.

Response XML

<?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>
            <TagInDate>dateTime</TagInDate>
          </ReceivedTag>
          <ReceivedTag>
            <InOrderLine>
              <InOrderLineId>int</InOrderLineId>
            </InOrderLine>
            <Serial>string</Serial>
            <NumberOfItems>decimal</NumberOfItems>
            <TagInDate>dateTime</TagInDate>
          </ReceivedTag>
        </ReceivedTags>
        <Success>boolean</Success>
        <Message>string</Message>
      </GetReceivedTagsByQueryResult>
    </GetReceivedTagsByQueryResponse>
  </soap:Body>
</soap:Envelope>

Response specification

GetReceivedTagsByQueryResponse
GetReceivedTagsByQueryResult GetReceivedTagsResult
GetReceivedTagsResult
ReceivedTags ReceivedTag[] Containing elements of ReceivedTag.
Success boolean If request was successful.
Message string(400) Message if not successful.
ReceivedTag
InOrderLine InOrderLine_GetReceivedTags See InOrderLine.
Serial string(128) Unique identifier for this tag.
NumberOfItems decimal The quantity of items identified by this tag.
TagInDate dateTime The registered in-date of this tag.
InOrderLine_GetReceivedTags
InOrderLineId int Order line ID.