UpdateInOrderLines

UpdateInOrderLines is used to update reported number items of inorder lines.

Use cases of this function is described on the page Reported number of items.

Tags: UpdateInOrderLines, UpdateInOrderLines (2), UpdateInOrderIdentification, UpdateInOrderLine, UpdateInOrderLineIdentification, UpdateInOrderLinesResult

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

<?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>
    <UpdateInOrderLines xmlns="http://ongoingsystems.se/WSI">
      <GoodsOwnerCode>string</GoodsOwnerCode>
      <UserName>string</UserName>
      <Password>string</Password>
      <UpdateInOrderLines>
        <UpdateInOrderIdentification>
          <InOrderIdentificationType>GoodsOwnerOrderNumber or SystemId</InOrderIdentificationType>
          <GoodsOwnerOrderNumber>string</GoodsOwnerOrderNumber>
          <InOrderId>int</InOrderId>
        </UpdateInOrderIdentification>
        <InOrderLines>
          <UpdateInOrderLine>
            <UpdateInOrderLineIdentification>
              <InOrderLineIdentificationType>ExternalOrderLineCode or InOrderLineId</InOrderLineIdentificationType>
              <ExternalOrderLineCode>string</ExternalOrderLineCode>
              <InOrderLineId>int</InOrderLineId>
            </UpdateInOrderLineIdentification>
            <UpdateReportedNumberOfItems>
              <ReportedNumberOfItems>decimal</ReportedNumberOfItems>
            </UpdateReportedNumberOfItems>
            <UpdateInOrderLineAcknowledgedNumberOfItems>
              <AcknowledgedNumberOfItems>decimal</AcknowledgedNumberOfItems>
            </UpdateInOrderLineAcknowledgedNumberOfItems>
            <UpdateInDate>
              <InDate>dateTime</InDate>
            </UpdateInDate>
            <UpdateComment>
              <Comment>string</Comment>
            </UpdateComment>
            <UpdateNumberOfItems>
              <NumberOfItems>decimal</NumberOfItems>
            </UpdateNumberOfItems>
          </UpdateInOrderLine>
          <UpdateInOrderLine>
            <UpdateInOrderLineIdentification>
              <InOrderLineIdentificationType>ExternalOrderLineCode or InOrderLineId</InOrderLineIdentificationType>
              <ExternalOrderLineCode>string</ExternalOrderLineCode>
              <InOrderLineId>int</InOrderLineId>
            </UpdateInOrderLineIdentification>
            <UpdateReportedNumberOfItems>
              <ReportedNumberOfItems>decimal</ReportedNumberOfItems>
            </UpdateReportedNumberOfItems>
            <UpdateInOrderLineAcknowledgedNumberOfItems>
              <AcknowledgedNumberOfItems>decimal</AcknowledgedNumberOfItems>
            </UpdateInOrderLineAcknowledgedNumberOfItems>
            <UpdateInDate>
              <InDate>dateTime</InDate>
            </UpdateInDate>
            <UpdateComment>
              <Comment>string</Comment>
            </UpdateComment>
            <UpdateNumberOfItems>
              <NumberOfItems>decimal</NumberOfItems>
            </UpdateNumberOfItems>
          </UpdateInOrderLine>
        </InOrderLines>
      </UpdateInOrderLines>
    </UpdateInOrderLines>
  </soap:Body>
</soap:Envelope>

Request specification

UpdateInOrderLines
GoodsOwnerCode str(400) Req. The name/code of your client
UserName str(50) Req. Your username
Password str(50) Req. Your password
UpdateInOrderLines object Req. The UpdateInOrderLines object
UpdateInOrderLines (2)
UpdateInOrderIdentification object Req. Specifies the inorder identification
InOrderLines object Req. Contains elements of UpdateInOrderLine
UpdateInOrderIdentification
InOrderIdentificationType enum Req. Defines what you want to identify the inorder by
 - GoodsOwnerOrderNumber
 - SystemId
GoodsOwnerOrderNumber str(50) Order number. Required if InOrderIdentificationType = GoodsOwnerOrderNumber
InOrderId int Ongoing WMS internal id (SystemId). Required if InOrderIdentificationType = SystemId
UpdateInOrderLine
UpdateInOrderLineIdentification object Req. Specifies the inorder line identification
UpdateReportedNumberOfItems object Use to set new reported number of items
> ReportedNumberOfItems decimal Req. The new ReportedNumberOfItems value for the order line
UpdateInOrderLineAcknowledgedNumberOfItems object Use to set new acknowledged number of items
> AcknowledgedNumberOfItems decimal Req. The new AcknowledgedNumberOfItems value for the order line
UpdateInDate object Use to set new order line indate
> InDate dateTime Req. The new InDate for the order line
UpdateComment object Use to set new order line comment
> Comment string Req. The new Comment for the order line
UpdateNumberOfItems object Use to set the number of ordered items on the orderline
> NumberOfItems decimal Req. The new NumberOfItems for the order line
UpdateInOrderLineIdentification
InOrderLineIdentificationType enum Req. Defines what you want to identify the inorder line by
 - ExternalOrderLineCode
 - InOrderLineId
ExternalOrderLineCode str(40) External inorder line code. Required if InOrderLineIdentificationType = ExternalOrderLineCode
InOrderLineId int Ongoing WMS inorder line id. Required if InOrderLineIdentificationType = InOrderLineId

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>
    <UpdateInOrderLinesResponse xmlns="http://ongoingsystems.se/WSI">
      <UpdateInOrderLinesResult>
        <Success>boolean</Success>
        <Message>string</Message>
        <InOrderId>int</InOrderId>
      </UpdateInOrderLinesResult>
    </UpdateInOrderLinesResponse>
  </soap:Body>
</soap:Envelope>

Response specification

UpdateInOrderLinesResult
Success bool True if the call is successful
Message str(*) Process message
InOrderId int Ongoing WMS internal id of the inorder