Ongoing Warehouse logo
Ongoing Warehouse 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>
         </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 Req.* The Ongoing internal id of the pallet you wish to update. Required if PalletItemIdentificationType = PalletItemId.
> PalletItemLabelId str Req.* The label id of the pallet you wish to update. Required if PalletItemIdentificationType = PalletItemLabelId.
UpdatePalletItemStatus object
> PalletItemStatusIdentificationType enum Req. Must be PalletItemStatusCode.
> PalletItemStatusCode str Req.* The status code which you want to update the pallet item to. Required if PalletItemStatusIdentificationType = PalletItemStatusCode.

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>
            <PalletItemId>int</PalletItemId>
         </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.
PalletItemId int The internal Ongoing pallet item id of the pallet item.