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, UpdateInOrderIdentification, UpdateInOrderLine, UpdateInOrderLineIdentification, UpdateInOrderLineReportedNumberOfItems, UpdateInOrderLineAcknowledgedNumberOfItems, UpdateInOrderLineArticleItems, UpdateInOrderLineInDate, UpdateInOrderLineComment, UpdateInOrderLineNumberOfItems, UpdateInOrderLineFreeText1, UpdateInOrderLineFreeText2, UpdateInOrderLineArticleItem, UpdateInOrderLineArticleItemIdentification, UpdateInOrderLinesResponse, 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>
            <UpdateInOrderLineArticleItems>
              <ArticleItems>
                <UpdateInOrderLineArticleItem>
                  <UpdateInOrderLineArticleItemIdentification>
                    <OriginalArticleItemId>int</OriginalArticleItemId>
                  </UpdateInOrderLineArticleItemIdentification>
                  <IsInReported>boolean</IsInReported>
                </UpdateInOrderLineArticleItem>
                <UpdateInOrderLineArticleItem>
                  <UpdateInOrderLineArticleItemIdentification>
                    <OriginalArticleItemId>int</OriginalArticleItemId>
                  </UpdateInOrderLineArticleItemIdentification>
                  <IsInReported>boolean</IsInReported>
                </UpdateInOrderLineArticleItem>
              </ArticleItems>
            </UpdateInOrderLineArticleItems>
            <UpdateInDate>
              <InDate>dateTime</InDate>
            </UpdateInDate>
            <UpdateComment>
              <Comment>string</Comment>
            </UpdateComment>
            <UpdateNumberOfItems>
              <NumberOfItems>decimal</NumberOfItems>
            </UpdateNumberOfItems>
            <UpdateInOrderLineFreeText1>
              <FreeText1>string</FreeText1>
            </UpdateInOrderLineFreeText1>
            <UpdateInOrderLineFreeText2>
              <FreeText2>string</FreeText2>
            </UpdateInOrderLineFreeText2>
          </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>
            <UpdateInOrderLineArticleItems>
              <ArticleItems>
                <UpdateInOrderLineArticleItem>
                  <UpdateInOrderLineArticleItemIdentification>
                    <OriginalArticleItemId>int</OriginalArticleItemId>
                  </UpdateInOrderLineArticleItemIdentification>
                  <IsInReported>boolean</IsInReported>
                </UpdateInOrderLineArticleItem>
                <UpdateInOrderLineArticleItem>
                  <UpdateInOrderLineArticleItemIdentification>
                    <OriginalArticleItemId>int</OriginalArticleItemId>
                  </UpdateInOrderLineArticleItemIdentification>
                  <IsInReported>boolean</IsInReported>
                </UpdateInOrderLineArticleItem>
              </ArticleItems>
            </UpdateInOrderLineArticleItems>
            <UpdateInDate>
              <InDate>dateTime</InDate>
            </UpdateInDate>
            <UpdateComment>
              <Comment>string</Comment>
            </UpdateComment>
            <UpdateNumberOfItems>
              <NumberOfItems>decimal</NumberOfItems>
            </UpdateNumberOfItems>
            <UpdateInOrderLineFreeText1>
              <FreeText1>string</FreeText1>
            </UpdateInOrderLineFreeText1>
            <UpdateInOrderLineFreeText2>
              <FreeText2>string</FreeText2>
            </UpdateInOrderLineFreeText2>
          </UpdateInOrderLine>
        </InOrderLines>
      </UpdateInOrderLines>
    </UpdateInOrderLines>
  </soap:Body>
</soap:Envelope>

Request specification

UpdateInOrderLines
GoodsOwnerCode string(400) Req. The name/code of your client
UserName string(50) Req. Your username
Password string(50) Req. Your password
UpdateInOrderLines UpdateInOrderLines Req.
UpdateInOrderLines
UpdateInOrderIdentification UpdateInOrderIdentification An element of type UpdateInOrderIdentification.
InOrderLines UpdateInOrderLine[]
UpdateInOrderIdentification
InOrderIdentificationType enum Req. Defines what you want to identify the inorder by
 - GoodsOwnerOrderNumber
 - SystemId
GoodsOwnerOrderNumber string(50) Order number. Required if InOrderIdentificationType = GoodsOwnerOrderNumber
InOrderId int Ongoing WMS internal id (SystemId). Required if InOrderIdentificationType = SystemId
UpdateInOrderLine
UpdateInOrderLineIdentification UpdateInOrderLineIdentification Req. Specifies the inorder line identification
UpdateReportedNumberOfItems UpdateInOrderLineReportedNumberOfItems Use to set new reported number of items
UpdateInOrderLineAcknowledgedNumberOfItems UpdateInOrderLineAcknowledgedNumberOfItems Use to set new acknowledged number of items
UpdateInOrderLineArticleItems UpdateInOrderLineArticleItems Use to update article items
UpdateInDate UpdateInOrderLineInDate Use to set new order line indate
UpdateComment UpdateInOrderLineComment Use to set new order line comment
UpdateNumberOfItems UpdateInOrderLineNumberOfItems Use to set the number of ordered items on the orderline
UpdateInOrderLineFreeText1 UpdateInOrderLineFreeText1 The new FreeText1 of the inorder line
UpdateInOrderLineFreeText2 UpdateInOrderLineFreeText2 The new FreeText2 of the inorder line
UpdateInOrderLineIdentification
InOrderLineIdentificationType enum Req. Defines what you want to identify the inorder line by
 - ExternalOrderLineCode
 - InOrderLineId
ExternalOrderLineCode string(40) External inorder line code. Required if InOrderLineIdentificationType = ExternalOrderLineCode
InOrderLineId int Ongoing WMS inorder line id. Required if InOrderLineIdentificationType = InOrderLineId
UpdateInOrderLineReportedNumberOfItems
ReportedNumberOfItems decimal Req. The new ReportedNumberOfItems value for the order line
UpdateInOrderLineAcknowledgedNumberOfItems
AcknowledgedNumberOfItems decimal Req. The new AcknowledgedNumberOfItems value for the order line
UpdateInOrderLineArticleItems
ArticleItems UpdateInOrderLineArticleItem[] List of article items to update
UpdateInOrderLineInDate
InDate dateTime Req. The new InDate for the order line
UpdateInOrderLineComment
Comment string Req. The new Comment for the order line
UpdateInOrderLineNumberOfItems
NumberOfItems decimal Req. The new NumberOfItems for the order line
UpdateInOrderLineFreeText1
FreeText1 string(200) The new FreeText1 of the inorder line
UpdateInOrderLineFreeText2
FreeText2 string(200) The new FreeText2 of the inorder line
UpdateInOrderLineArticleItem
UpdateInOrderLineArticleItemIdentification UpdateInOrderLineArticleItemIdentification Used to identify the article item
IsInReported boolean New value for the article item's IsInReported value
UpdateInOrderLineArticleItemIdentification
OriginalArticleItemId int The OriginalArticleItemId for the items which you want to update

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

Response specification

UpdateInOrderLinesResponse
UpdateInOrderLinesResult UpdateInOrderLinesResult
UpdateInOrderLinesResult
Success boolean True if the call is successful
Message string Process message
InOrderId int Ongoing WMS internal id of the inorder