Ongoing WMS logo

Ongoing WMS Developer

UpdatePalletItem (automation API)

This function allows you to update a pallet item.

Tags: UpdatePalletItem, UpdatePalletItem, UpdatePalletItemResult

Request XML

POST /xxx/Automation.asmx HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ongoingsystems.se/Automation/UpdatePalletItem"

<?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>
      <UpdatePalletItem xmlns="http://ongoingsystems.se/Automation">
         <UserName>string</UserName>
         <Password>string</Password>
         <UpdatePalletItem>
            <PalletItemUpdateIdentification>
               <PalletItemIdentificationType>PalletItemId or PalletItemLabelId</PalletItemIdentificationType>
               <PalletItemId>int</PalletItemId>
               <PalletItemLabelId>string</PalletItemLabelId>
            </PalletItemUpdateIdentification>
            <UpdatePalletItemStatus>
               <PalletItemStatusIdentificationType>PalletItemStatusCode</PalletItemStatusIdentificationType>
               <PalletItemStatusCode>string</PalletItemStatusCode>
            </UpdatePalletItemStatus>
            <UpdatePalletItemWeight>
              <Weight>decimal</Weight>
            </UpdatePalletItemWeight>
            <UpdatePalletItemVolume>
              <Volume>decimal</Volume>
            </UpdatePalletItemVolume>
            <UpdatePalletItemLength>
              <Length>decimal</Length>
            </UpdatePalletItemLength>
            <UpdatePalletItemWidth>
              <Width>decimal</Width>
            </UpdatePalletItemWidth>
            <UpdatePalletItemHeight>
              <Height>decimal</Height>
            </UpdatePalletItemHeight>
            <UpdatePalletItemSerial>
              <PalletItemSerial>string</PalletItemSerial>
            </UpdatePalletItemSerial>
            <UpdatePalletItemComment>
              <PalletItemComment>string</PalletItemComment>
            </UpdatePalletItemComment>
         </UpdatePalletItem>
      </UpdatePalletItem>
   </soap:Body>
</soap:Envelope>
+

Request specification

UpdatePalletItem
UserName str(50) Req. Your username
Password str(50) Req. Your password
UpdatePalletItem object Req. An element UpdatePalletItem.
UpdatePalletItem
PalletItemUpdateIdentification object Req.
PalletItemIdentificationType enum Req. Determines which field you want to identify the pallet item by. Must be PalletItemId or PalletItemLabelId.
PalletItemId int Ongoing WMS internal id of the pallet you wish to update. Required if PalletItemIdentificationType = PalletItemId.
PalletItemLabelId str The label id of the pallet you wish to update. Required if PalletItemIdentificationType = PalletItemLabelId.
UpdatePalletItemStatus object
> PalletItemStatusIdentificationType enum td> Must be PalletItemStatusCode.
> PalletItemStatusCode str The status code which you want to update the pallet item to. Required if PalletItemStatusIdentificationType = PalletItemStatusCode.
UpdatePalletItemWeight object
> Weight dec Weight of pallet item
UpdatePalletItemVolume object
> Volume dec Volume of pallet item
UpdatePalletItemLength object
> Length dec Length of pallet item
UpdatePalletItemWidth object
> Width dec Width of pallet item
UpdatePalletItemHeight object
> Height dec Height of pallet item
UpdatePalletItemSerial object
> PalletItemSerial str(100) Serial number of pallet item
UpdatePalletItemComment object
> PalletItemComment str(300) Pallet item comment

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>
    <UpdatePalletItemResponse xmlns="http://ongoingsystems.se/Automation">
      <UpdatePalletItemResult>
        <Success>boolean</Success>
        <Message>string</Message>
        <PalletItemIds>
          <int>int</int>
          <int>int</int>
        </PalletItemIds>
      </UpdatePalletItemResult>
    </UpdatePalletItemResponse>
  </soap:Body>
</soap:Envelope>
+

Response specification

UpdatePalletItemResult
Success bool True if successful, false otherwise.
Message str(*) Error message, if the call was unsuccessful.
PalletItemIds int The internal Ongoing WMS pallet item ids of the updated pallet items.