Service


Click here for a complete list of operations.

GetInOrdersByQuery

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

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

<?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>
    <GetInOrdersByQuery xmlns="http://ongoingsystems.se/WSI">
      <GoodsOwnerCode>string</GoodsOwnerCode>
      <UserName>string</UserName>
      <Password>string</Password>
      <query>
        <InDateFrom>dateTime</InDateFrom>
        <InDateTo>dateTime</InDateTo>
        <LastReceiveTimeFrom>dateTime</LastReceiveTimeFrom>
        <LastReceiveTimeTo>dateTime</LastReceiveTimeTo>
        <InOrderStatusFrom>int</InOrderStatusFrom>
        <InOrderStatusTo>int</InOrderStatusTo>
        <CreatedByWsiExternalSystemId>int</CreatedByWsiExternalSystemId>
        <CreatedBySessionRequestIdIsNull>boolean</CreatedBySessionRequestIdIsNull>
        <IsReturnType>boolean</IsReturnType>
        <InOrderNumbersToGet>
          <string>string</string>
          <string>string</string>
        </InOrderNumbersToGet>
        <InOrderSpecialFilters>
          <OnlyGetUnDeclaredInOrders>boolean</OnlyGetUnDeclaredInOrders>
          <OnlyWithInOrderLinesWithDiffingReceviedToReported>boolean</OnlyWithInOrderLinesWithDiffingReceviedToReported>
          <OnlyWithInOrderLinesWithDiffingReceivedToAcknowledged>boolean</OnlyWithInOrderLinesWithDiffingReceivedToAcknowledged>
          <ArticleItemSerialNumbers>
            <string>string</string>
            <string>string</string>
          </ArticleItemSerialNumbers>
          <CreatedByUserName>string</CreatedByUserName>
          <HasReceivedArticleItem>boolean</HasReceivedArticleItem>
        </InOrderSpecialFilters>
        <LastUpdatedFrom>dateTime</LastUpdatedFrom>
        <LastUpdatedTo>dateTime</LastUpdatedTo>
        <InOrderIdsToGet>
          <int>int</int>
          <int>int</int>
        </InOrderIdsToGet>
        <MaxInOrdersToGet>int</MaxInOrdersToGet>
        <InOrderIdFrom>int</InOrderIdFrom>
        <LastReceiveTimeOrLastUpdatedFrom>dateTime</LastReceiveTimeOrLastUpdatedFrom>
        <InOrderStatusChangedTimeFrom>dateTime</InOrderStatusChangedTimeFrom>
        <Advanced>
          <IncludeAdvisedArticleItemsInReceivedArticleItems>boolean</IncludeAdvisedArticleItemsInReceivedArticleItems>
          <IncludeInboundPalletItems>boolean</IncludeInboundPalletItems>
        </Advanced>
        <ChangedFrom>dateTime</ChangedFrom>
        <ReferenceNumbersToGet>
          <string>string</string>
          <string>string</string>
        </ReferenceNumbersToGet>
      </query>
    </GetInOrdersByQuery>
  </soap:Body>
</soap:Envelope>
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>
    <GetInOrdersByQueryResponse xmlns="http://ongoingsystems.se/WSI">
      <GetInOrdersByQueryResult>
        <InOrders>
          <ReceivedInOrder>
            <InOrderInfo xsi:nil="true" />
            <InOrderSupplier xsi:nil="true" />
            <GoodsOwner xsi:nil="true" />
            <WsiSystem xsi:nil="true" />
            <ReceivedInOrderLines xsi:nil="true" />
            <ReceivedArticleItems xsi:nil="true" />
            <InOrderCustomer xsi:nil="true" />
            <Warehouse xsi:nil="true" />
            <InOrderSeller xsi:nil="true" />
            <InboundPalletItems xsi:nil="true" />
            <InOrderTextLines xsi:nil="true" />
          </ReceivedInOrder>
          <ReceivedInOrder>
            <InOrderInfo xsi:nil="true" />
            <InOrderSupplier xsi:nil="true" />
            <GoodsOwner xsi:nil="true" />
            <WsiSystem xsi:nil="true" />
            <ReceivedInOrderLines xsi:nil="true" />
            <ReceivedArticleItems xsi:nil="true" />
            <InOrderCustomer xsi:nil="true" />
            <Warehouse xsi:nil="true" />
            <InOrderSeller xsi:nil="true" />
            <InboundPalletItems xsi:nil="true" />
            <InOrderTextLines xsi:nil="true" />
          </ReceivedInOrder>
        </InOrders>
      </GetInOrdersByQueryResult>
    </GetInOrdersByQueryResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /apidemo/service.asmx HTTP/1.1
Host: api.ongoingsystems.se
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetInOrdersByQuery xmlns="http://ongoingsystems.se/WSI">
      <GoodsOwnerCode>string</GoodsOwnerCode>
      <UserName>string</UserName>
      <Password>string</Password>
      <query>
        <InDateFrom>dateTime</InDateFrom>
        <InDateTo>dateTime</InDateTo>
        <LastReceiveTimeFrom>dateTime</LastReceiveTimeFrom>
        <LastReceiveTimeTo>dateTime</LastReceiveTimeTo>
        <InOrderStatusFrom>int</InOrderStatusFrom>
        <InOrderStatusTo>int</InOrderStatusTo>
        <CreatedByWsiExternalSystemId>int</CreatedByWsiExternalSystemId>
        <CreatedBySessionRequestIdIsNull>boolean</CreatedBySessionRequestIdIsNull>
        <IsReturnType>boolean</IsReturnType>
        <InOrderNumbersToGet>
          <string>string</string>
          <string>string</string>
        </InOrderNumbersToGet>
        <InOrderSpecialFilters>
          <OnlyGetUnDeclaredInOrders>boolean</OnlyGetUnDeclaredInOrders>
          <OnlyWithInOrderLinesWithDiffingReceviedToReported>boolean</OnlyWithInOrderLinesWithDiffingReceviedToReported>
          <OnlyWithInOrderLinesWithDiffingReceivedToAcknowledged>boolean</OnlyWithInOrderLinesWithDiffingReceivedToAcknowledged>
          <ArticleItemSerialNumbers>
            <string>string</string>
            <string>string</string>
          </ArticleItemSerialNumbers>
          <CreatedByUserName>string</CreatedByUserName>
          <HasReceivedArticleItem>boolean</HasReceivedArticleItem>
        </InOrderSpecialFilters>
        <LastUpdatedFrom>dateTime</LastUpdatedFrom>
        <LastUpdatedTo>dateTime</LastUpdatedTo>
        <InOrderIdsToGet>
          <int>int</int>
          <int>int</int>
        </InOrderIdsToGet>
        <MaxInOrdersToGet>int</MaxInOrdersToGet>
        <InOrderIdFrom>int</InOrderIdFrom>
        <LastReceiveTimeOrLastUpdatedFrom>dateTime</LastReceiveTimeOrLastUpdatedFrom>
        <InOrderStatusChangedTimeFrom>dateTime</InOrderStatusChangedTimeFrom>
        <Advanced>
          <IncludeAdvisedArticleItemsInReceivedArticleItems>boolean</IncludeAdvisedArticleItemsInReceivedArticleItems>
          <IncludeInboundPalletItems>boolean</IncludeInboundPalletItems>
        </Advanced>
        <ChangedFrom>dateTime</ChangedFrom>
        <ReferenceNumbersToGet>
          <string>string</string>
          <string>string</string>
        </ReferenceNumbersToGet>
      </query>
    </GetInOrdersByQuery>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetInOrdersByQueryResponse xmlns="http://ongoingsystems.se/WSI">
      <GetInOrdersByQueryResult>
        <InOrders>
          <ReceivedInOrder>
            <InOrderInfo xsi:nil="true" />
            <InOrderSupplier xsi:nil="true" />
            <GoodsOwner xsi:nil="true" />
            <WsiSystem xsi:nil="true" />
            <ReceivedInOrderLines xsi:nil="true" />
            <ReceivedArticleItems xsi:nil="true" />
            <InOrderCustomer xsi:nil="true" />
            <Warehouse xsi:nil="true" />
            <InOrderSeller xsi:nil="true" />
            <InboundPalletItems xsi:nil="true" />
            <InOrderTextLines xsi:nil="true" />
          </ReceivedInOrder>
          <ReceivedInOrder>
            <InOrderInfo xsi:nil="true" />
            <InOrderSupplier xsi:nil="true" />
            <GoodsOwner xsi:nil="true" />
            <WsiSystem xsi:nil="true" />
            <ReceivedInOrderLines xsi:nil="true" />
            <ReceivedArticleItems xsi:nil="true" />
            <InOrderCustomer xsi:nil="true" />
            <Warehouse xsi:nil="true" />
            <InOrderSeller xsi:nil="true" />
            <InboundPalletItems xsi:nil="true" />
            <InOrderTextLines xsi:nil="true" />
          </ReceivedInOrder>
        </InOrders>
      </GetInOrdersByQueryResult>
    </GetInOrdersByQueryResponse>
  </soap12:Body>
</soap12:Envelope>