Service


Click here for a complete list of operations.

GetInOrderByOrderNumber

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/GetInOrderByOrderNumber"

<?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>
    <GetInOrderByOrderNumber xmlns="http://ongoingsystems.se/WSI">
      <GoodsOwnerCode>string</GoodsOwnerCode>
      <UserName>string</UserName>
      <Password>string</Password>
      <OrderNumber>string</OrderNumber>
    </GetInOrderByOrderNumber>
  </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>
    <GetInOrderByOrderNumberResponse xmlns="http://ongoingsystems.se/WSI">
      <GetInOrderByOrderNumberResult>
        <InOrderInfo>
          <InOrderId>int</InOrderId>
          <GoodsOwnerOrderNumber>string</GoodsOwnerOrderNumber>
          <SupplierOrderNumber>string</SupplierOrderNumber>
          <GoodsOwnerReference>string</GoodsOwnerReference>
          <BatchNumber>string</BatchNumber>
          <ReferenceNumber>string</ReferenceNumber>
          <InDate>dateTime</InDate>
          <OrderDate>dateTime</OrderDate>
          <BatchDate>dateTime</BatchDate>
          <ReceivedDate>dateTime</ReceivedDate>
          <LastReceivedTime>dateTime</LastReceivedTime>
          <Comment>string</Comment>
          <Container>string</Container>
          <WayOfDelivery>string</WayOfDelivery>
          <WayOfDeliveryTypeCode>string</WayOfDeliveryTypeCode>
          <WayOfDeliveryTypeName>string</WayOfDeliveryTypeName>
          <InOrderTypeName>string</InOrderTypeName>
          <InOrderTypeCode>string</InOrderTypeCode>
          <InOrderIsReturnType>boolean</InOrderIsReturnType>
          <InOrderStatusNumber>int</InOrderStatusNumber>
          <InOrderStatusText>string</InOrderStatusText>
          <AdvisedNumberOfItems>decimal</AdvisedNumberOfItems>
          <ReceivedNumberOfItems>decimal</ReceivedNumberOfItems>
          <InvoiceNumber>string</InvoiceNumber>
          <TermsOfDeliveryTypeCode>string</TermsOfDeliveryTypeCode>
          <TermsOfDeliveryTypeName>string</TermsOfDeliveryTypeName>
          <FreeText1>string</FreeText1>
          <FreeText2>string</FreeText2>
          <FreeText3>string</FreeText3>
          <FreeText4>string</FreeText4>
          <FreeText5>string</FreeText5>
          <InOrderFreeDecimal1>decimal</InOrderFreeDecimal1>
          <InOrderFreeDecimal2>decimal</InOrderFreeDecimal2>
          <ArrivalDate>dateTime</ArrivalDate>
        </InOrderInfo>
        <InOrderSupplier>
          <SupplierName>string</SupplierName>
          <SupplierNumber>string</SupplierNumber>
          <Address>
            <Name>string</Name>
            <Address>string</Address>
            <Address2>string</Address2>
            <Address3>string</Address3>
            <PostCode>string</PostCode>
            <City>string</City>
            <TelePhone>string</TelePhone>
            <Remark>string</Remark>
            <Email>string</Email>
            <MobilePhone>string</MobilePhone>
            <IsEuCountry>boolean</IsEuCountry>
            <CountryStateCode>string</CountryStateCode>
            <CountryCode>string</CountryCode>
            <DeliveryInstruction>string</DeliveryInstruction>
            <IsVisible>boolean</IsVisible>
            <NotifyBySMS>boolean</NotifyBySMS>
            <NotifyByEmail>boolean</NotifyByEmail>
            <NotifyByTelephone>boolean</NotifyByTelephone>
          </Address>
        </InOrderSupplier>
        <GoodsOwner>
          <GoodsOwnerIdentification>SystemId or GoodsOwnerCode</GoodsOwnerIdentification>
          <GoodsOwnerCode>string</GoodsOwnerCode>
          <GoodsOwnerId>int</GoodsOwnerId>
          <FinancialCode>string</FinancialCode>
          <GoodsLocationCode>string</GoodsLocationCode>
        </GoodsOwner>
        <WsiSystem>
          <UserName>string</UserName>
          <PassWord>string</PassWord>
          <SystemName>string</SystemName>
          <ToSystemName>string</ToSystemName>
          <FromSystemName>string</FromSystemName>
          <FromWsiPath>string</FromWsiPath>
          <ToWSiPath>string</ToWSiPath>
          <Setting1>string</Setting1>
          <Setting2>string</Setting2>
          <Url>string</Url>
          <ReportId>int</ReportId>
          <ReportName>string</ReportName>
          <ReportExportFormat>string</ReportExportFormat>
          <OnErrorEmail>string</OnErrorEmail>
          <Encoding>string</Encoding>
          <OrderAdressGroupByCustomer>boolean</OrderAdressGroupByCustomer>
          <MaximumOrderStatusForUpdate>int</MaximumOrderStatusForUpdate>
          <GoodsOwnerId>int</GoodsOwnerId>
        </WsiSystem>
        <ReceivedInOrderLines>
          <ReceivedInOrderLine>
            <Article xsi:nil="true" />
            <ExternalOrderLineCode>string</ExternalOrderLineCode>
            <ExternalOrderLineId>string</ExternalOrderLineId>
            <InDate>dateTime</InDate>
            <Comment>string</Comment>
            <AdvisedNumberOfItems>decimal</AdvisedNumberOfItems>
            <ReceivedNumberOfItems>decimal</ReceivedNumberOfItems>
            <CreatedNumberOfItems>decimal</CreatedNumberOfItems>
            <ShipmentNumberOfItems>decimal</ShipmentNumberOfItems>
            <SupplierNumberOfItems>decimal</SupplierNumberOfItems>
            <ReportedNumberOfItems>decimal</ReportedNumberOfItems>
            <RowPrice>decimal</RowPrice>
            <CurrencyCode>string</CurrencyCode>
            <CurrencyName>string</CurrencyName>
            <InOrderLineId>int</InOrderLineId>
            <InvoiceNumber>string</InvoiceNumber>
            <ParentInOrderLineId>int</ParentInOrderLineId>
            <InOrderLineTypeCode>string</InOrderLineTypeCode>
          </ReceivedInOrderLine>
          <ReceivedInOrderLine>
            <Article xsi:nil="true" />
            <ExternalOrderLineCode>string</ExternalOrderLineCode>
            <ExternalOrderLineId>string</ExternalOrderLineId>
            <InDate>dateTime</InDate>
            <Comment>string</Comment>
            <AdvisedNumberOfItems>decimal</AdvisedNumberOfItems>
            <ReceivedNumberOfItems>decimal</ReceivedNumberOfItems>
            <CreatedNumberOfItems>decimal</CreatedNumberOfItems>
            <ShipmentNumberOfItems>decimal</ShipmentNumberOfItems>
            <SupplierNumberOfItems>decimal</SupplierNumberOfItems>
            <ReportedNumberOfItems>decimal</ReportedNumberOfItems>
            <RowPrice>decimal</RowPrice>
            <CurrencyCode>string</CurrencyCode>
            <CurrencyName>string</CurrencyName>
            <InOrderLineId>int</InOrderLineId>
            <InvoiceNumber>string</InvoiceNumber>
            <ParentInOrderLineId>int</ParentInOrderLineId>
            <InOrderLineTypeCode>string</InOrderLineTypeCode>
          </ReceivedInOrderLine>
        </ReceivedInOrderLines>
        <ReceivedArticleItems>
          <ReceivedArticlItem>
            <Article xsi:nil="true" />
            <ExternalOrderLineCode>string</ExternalOrderLineCode>
            <ExternalOrderLineId>string</ExternalOrderLineId>
            <Batch>string</Batch>
            <Serial>string</Serial>
            <GoodsStatusName>string</GoodsStatusName>
            <GoodsStatusCode>string</GoodsStatusCode>
            <isLocked>boolean</isLocked>
            <InDate>dateTime</InDate>
            <ExpiryDate>dateTime</ExpiryDate>
            <InOrderLineId>int</InOrderLineId>
            <NumberOfItems>decimal</NumberOfItems>
            <SupplierNumberOfItems>decimal</SupplierNumberOfItems>
            <IsDeclared>boolean</IsDeclared>
            <ItemWeight>decimal</ItemWeight>
            <Location>string</Location>
            <Comment>string</Comment>
            <OriginalArticleItemId>int</OriginalArticleItemId>
            <ArticleItemClass xsi:nil="true" />
            <ArticleItemClass xsi:nil="true" />
            <ItemLength>decimal</ItemLength>
            <ItemWidth>decimal</ItemWidth>
            <ItemHeight>decimal</ItemHeight>
            <Container>string</Container>
          </ReceivedArticlItem>
          <ReceivedArticlItem>
            <Article xsi:nil="true" />
            <ExternalOrderLineCode>string</ExternalOrderLineCode>
            <ExternalOrderLineId>string</ExternalOrderLineId>
            <Batch>string</Batch>
            <Serial>string</Serial>
            <GoodsStatusName>string</GoodsStatusName>
            <GoodsStatusCode>string</GoodsStatusCode>
            <isLocked>boolean</isLocked>
            <InDate>dateTime</InDate>
            <ExpiryDate>dateTime</ExpiryDate>
            <InOrderLineId>int</InOrderLineId>
            <NumberOfItems>decimal</NumberOfItems>
            <SupplierNumberOfItems>decimal</SupplierNumberOfItems>
            <IsDeclared>boolean</IsDeclared>
            <ItemWeight>decimal</ItemWeight>
            <Location>string</Location>
            <Comment>string</Comment>
            <OriginalArticleItemId>int</OriginalArticleItemId>
            <ArticleItemClass xsi:nil="true" />
            <ArticleItemClass xsi:nil="true" />
            <ItemLength>decimal</ItemLength>
            <ItemWidth>decimal</ItemWidth>
            <ItemHeight>decimal</ItemHeight>
            <Container>string</Container>
          </ReceivedArticlItem>
        </ReceivedArticleItems>
        <InOrderCustomer>
          <Name>string</Name>
          <AddressName>string</AddressName>
          <Address>string</Address>
          <Address2>string</Address2>
          <Address3>string</Address3>
          <City>string</City>
          <PostCode>string</PostCode>
          <CountryCode>string</CountryCode>
          <CustomerNumber>string</CustomerNumber>
          <MobilePhone>string</MobilePhone>
          <TelePhone>string</TelePhone>
          <AddressEmail>string</AddressEmail>
        </InOrderCustomer>
      </GetInOrderByOrderNumberResult>
    </GetInOrderByOrderNumberResponse>
  </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>
    <GetInOrderByOrderNumber xmlns="http://ongoingsystems.se/WSI">
      <GoodsOwnerCode>string</GoodsOwnerCode>
      <UserName>string</UserName>
      <Password>string</Password>
      <OrderNumber>string</OrderNumber>
    </GetInOrderByOrderNumber>
  </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>
    <GetInOrderByOrderNumberResponse xmlns="http://ongoingsystems.se/WSI">
      <GetInOrderByOrderNumberResult>
        <InOrderInfo>
          <InOrderId>int</InOrderId>
          <GoodsOwnerOrderNumber>string</GoodsOwnerOrderNumber>
          <SupplierOrderNumber>string</SupplierOrderNumber>
          <GoodsOwnerReference>string</GoodsOwnerReference>
          <BatchNumber>string</BatchNumber>
          <ReferenceNumber>string</ReferenceNumber>
          <InDate>dateTime</InDate>
          <OrderDate>dateTime</OrderDate>
          <BatchDate>dateTime</BatchDate>
          <ReceivedDate>dateTime</ReceivedDate>
          <LastReceivedTime>dateTime</LastReceivedTime>
          <Comment>string</Comment>
          <Container>string</Container>
          <WayOfDelivery>string</WayOfDelivery>
          <WayOfDeliveryTypeCode>string</WayOfDeliveryTypeCode>
          <WayOfDeliveryTypeName>string</WayOfDeliveryTypeName>
          <InOrderTypeName>string</InOrderTypeName>
          <InOrderTypeCode>string</InOrderTypeCode>
          <InOrderIsReturnType>boolean</InOrderIsReturnType>
          <InOrderStatusNumber>int</InOrderStatusNumber>
          <InOrderStatusText>string</InOrderStatusText>
          <AdvisedNumberOfItems>decimal</AdvisedNumberOfItems>
          <ReceivedNumberOfItems>decimal</ReceivedNumberOfItems>
          <InvoiceNumber>string</InvoiceNumber>
          <TermsOfDeliveryTypeCode>string</TermsOfDeliveryTypeCode>
          <TermsOfDeliveryTypeName>string</TermsOfDeliveryTypeName>
          <FreeText1>string</FreeText1>
          <FreeText2>string</FreeText2>
          <FreeText3>string</FreeText3>
          <FreeText4>string</FreeText4>
          <FreeText5>string</FreeText5>
          <InOrderFreeDecimal1>decimal</InOrderFreeDecimal1>
          <InOrderFreeDecimal2>decimal</InOrderFreeDecimal2>
          <ArrivalDate>dateTime</ArrivalDate>
        </InOrderInfo>
        <InOrderSupplier>
          <SupplierName>string</SupplierName>
          <SupplierNumber>string</SupplierNumber>
          <Address>
            <Name>string</Name>
            <Address>string</Address>
            <Address2>string</Address2>
            <Address3>string</Address3>
            <PostCode>string</PostCode>
            <City>string</City>
            <TelePhone>string</TelePhone>
            <Remark>string</Remark>
            <Email>string</Email>
            <MobilePhone>string</MobilePhone>
            <IsEuCountry>boolean</IsEuCountry>
            <CountryStateCode>string</CountryStateCode>
            <CountryCode>string</CountryCode>
            <DeliveryInstruction>string</DeliveryInstruction>
            <IsVisible>boolean</IsVisible>
            <NotifyBySMS>boolean</NotifyBySMS>
            <NotifyByEmail>boolean</NotifyByEmail>
            <NotifyByTelephone>boolean</NotifyByTelephone>
          </Address>
        </InOrderSupplier>
        <GoodsOwner>
          <GoodsOwnerIdentification>SystemId or GoodsOwnerCode</GoodsOwnerIdentification>
          <GoodsOwnerCode>string</GoodsOwnerCode>
          <GoodsOwnerId>int</GoodsOwnerId>
          <FinancialCode>string</FinancialCode>
          <GoodsLocationCode>string</GoodsLocationCode>
        </GoodsOwner>
        <WsiSystem>
          <UserName>string</UserName>
          <PassWord>string</PassWord>
          <SystemName>string</SystemName>
          <ToSystemName>string</ToSystemName>
          <FromSystemName>string</FromSystemName>
          <FromWsiPath>string</FromWsiPath>
          <ToWSiPath>string</ToWSiPath>
          <Setting1>string</Setting1>
          <Setting2>string</Setting2>
          <Url>string</Url>
          <ReportId>int</ReportId>
          <ReportName>string</ReportName>
          <ReportExportFormat>string</ReportExportFormat>
          <OnErrorEmail>string</OnErrorEmail>
          <Encoding>string</Encoding>
          <OrderAdressGroupByCustomer>boolean</OrderAdressGroupByCustomer>
          <MaximumOrderStatusForUpdate>int</MaximumOrderStatusForUpdate>
          <GoodsOwnerId>int</GoodsOwnerId>
        </WsiSystem>
        <ReceivedInOrderLines>
          <ReceivedInOrderLine>
            <Article xsi:nil="true" />
            <ExternalOrderLineCode>string</ExternalOrderLineCode>
            <ExternalOrderLineId>string</ExternalOrderLineId>
            <InDate>dateTime</InDate>
            <Comment>string</Comment>
            <AdvisedNumberOfItems>decimal</AdvisedNumberOfItems>
            <ReceivedNumberOfItems>decimal</ReceivedNumberOfItems>
            <CreatedNumberOfItems>decimal</CreatedNumberOfItems>
            <ShipmentNumberOfItems>decimal</ShipmentNumberOfItems>
            <SupplierNumberOfItems>decimal</SupplierNumberOfItems>
            <ReportedNumberOfItems>decimal</ReportedNumberOfItems>
            <RowPrice>decimal</RowPrice>
            <CurrencyCode>string</CurrencyCode>
            <CurrencyName>string</CurrencyName>
            <InOrderLineId>int</InOrderLineId>
            <InvoiceNumber>string</InvoiceNumber>
            <ParentInOrderLineId>int</ParentInOrderLineId>
            <InOrderLineTypeCode>string</InOrderLineTypeCode>
          </ReceivedInOrderLine>
          <ReceivedInOrderLine>
            <Article xsi:nil="true" />
            <ExternalOrderLineCode>string</ExternalOrderLineCode>
            <ExternalOrderLineId>string</ExternalOrderLineId>
            <InDate>dateTime</InDate>
            <Comment>string</Comment>
            <AdvisedNumberOfItems>decimal</AdvisedNumberOfItems>
            <ReceivedNumberOfItems>decimal</ReceivedNumberOfItems>
            <CreatedNumberOfItems>decimal</CreatedNumberOfItems>
            <ShipmentNumberOfItems>decimal</ShipmentNumberOfItems>
            <SupplierNumberOfItems>decimal</SupplierNumberOfItems>
            <ReportedNumberOfItems>decimal</ReportedNumberOfItems>
            <RowPrice>decimal</RowPrice>
            <CurrencyCode>string</CurrencyCode>
            <CurrencyName>string</CurrencyName>
            <InOrderLineId>int</InOrderLineId>
            <InvoiceNumber>string</InvoiceNumber>
            <ParentInOrderLineId>int</ParentInOrderLineId>
            <InOrderLineTypeCode>string</InOrderLineTypeCode>
          </ReceivedInOrderLine>
        </ReceivedInOrderLines>
        <ReceivedArticleItems>
          <ReceivedArticlItem>
            <Article xsi:nil="true" />
            <ExternalOrderLineCode>string</ExternalOrderLineCode>
            <ExternalOrderLineId>string</ExternalOrderLineId>
            <Batch>string</Batch>
            <Serial>string</Serial>
            <GoodsStatusName>string</GoodsStatusName>
            <GoodsStatusCode>string</GoodsStatusCode>
            <isLocked>boolean</isLocked>
            <InDate>dateTime</InDate>
            <ExpiryDate>dateTime</ExpiryDate>
            <InOrderLineId>int</InOrderLineId>
            <NumberOfItems>decimal</NumberOfItems>
            <SupplierNumberOfItems>decimal</SupplierNumberOfItems>
            <IsDeclared>boolean</IsDeclared>
            <ItemWeight>decimal</ItemWeight>
            <Location>string</Location>
            <Comment>string</Comment>
            <OriginalArticleItemId>int</OriginalArticleItemId>
            <ArticleItemClass xsi:nil="true" />
            <ArticleItemClass xsi:nil="true" />
            <ItemLength>decimal</ItemLength>
            <ItemWidth>decimal</ItemWidth>
            <ItemHeight>decimal</ItemHeight>
            <Container>string</Container>
          </ReceivedArticlItem>
          <ReceivedArticlItem>
            <Article xsi:nil="true" />
            <ExternalOrderLineCode>string</ExternalOrderLineCode>
            <ExternalOrderLineId>string</ExternalOrderLineId>
            <Batch>string</Batch>
            <Serial>string</Serial>
            <GoodsStatusName>string</GoodsStatusName>
            <GoodsStatusCode>string</GoodsStatusCode>
            <isLocked>boolean</isLocked>
            <InDate>dateTime</InDate>
            <ExpiryDate>dateTime</ExpiryDate>
            <InOrderLineId>int</InOrderLineId>
            <NumberOfItems>decimal</NumberOfItems>
            <SupplierNumberOfItems>decimal</SupplierNumberOfItems>
            <IsDeclared>boolean</IsDeclared>
            <ItemWeight>decimal</ItemWeight>
            <Location>string</Location>
            <Comment>string</Comment>
            <OriginalArticleItemId>int</OriginalArticleItemId>
            <ArticleItemClass xsi:nil="true" />
            <ArticleItemClass xsi:nil="true" />
            <ItemLength>decimal</ItemLength>
            <ItemWidth>decimal</ItemWidth>
            <ItemHeight>decimal</ItemHeight>
            <Container>string</Container>
          </ReceivedArticlItem>
        </ReceivedArticleItems>
        <InOrderCustomer>
          <Name>string</Name>
          <AddressName>string</AddressName>
          <Address>string</Address>
          <Address2>string</Address2>
          <Address3>string</Address3>
          <City>string</City>
          <PostCode>string</PostCode>
          <CountryCode>string</CountryCode>
          <CustomerNumber>string</CustomerNumber>
          <MobilePhone>string</MobilePhone>
          <TelePhone>string</TelePhone>
          <AddressEmail>string</AddressEmail>
        </InOrderCustomer>
      </GetInOrderByOrderNumberResult>
    </GetInOrderByOrderNumberResponse>
  </soap12:Body>
</soap12:Envelope>