UpdatePalletItem (automation API)

This function allows you to update a pallet item.

Tags: UpdatePalletItem, UpdatePalletItem, PalletItemUpdateIdentification, UpdatePalletItemStatus, UpdatePalletItemWeight, UpdatePalletItemVolume, UpdatePalletItemLength, UpdatePalletItemWidth, UpdatePalletItemHeight, UpdatePalletItemSerial, UpdatePalletItemComment, UpdatePalletItemLabelId, UpdatePalletType, UpdatePalletItemLocation, UpdatePalletItemTracking, UpdatePalletItemResponse, UpdatePalletItemResult

Request XML

POST /xxx/Automation.asmx HTTP/1.1
Host: api.ongoingsystems.se
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>
        <UpdatePalletItemLabelId>
          <PalletItemLabelId>string</PalletItemLabelId>
        </UpdatePalletItemLabelId>
        <UpdatePalletType>
          <PalletTypeIdentificationType>PalletTypeCode</PalletTypeIdentificationType>
          <PalletTypeCode>string</PalletTypeCode>
        </UpdatePalletType>
        <UpdatePalletItemLocation>
          <PalletItemLocationName>string</PalletItemLocationName>
        </UpdatePalletItemLocation>
        <UpdatePalletItemTracking>
          <Url>string</Url>
        </UpdatePalletItemTracking>
      </UpdatePalletItem>
    </UpdatePalletItem>
  </soap:Body>
</soap:Envelope>

Request specification

UpdatePalletItem
UserName string(50) Req. Your username
Password string(50) Req. Your password
UpdatePalletItem UpdatePalletItem Req. An element of type UpdatePalletItem.
UpdatePalletItem
PalletItemUpdateIdentification PalletItemUpdateIdentification An element of type PalletItemUpdateIdentification.
UpdatePalletItemStatus UpdatePalletItemStatus An element of type UpdatePalletItemStatus.
UpdatePalletItemWeight UpdatePalletItemWeight An element of type UpdatePalletItemWeight.
UpdatePalletItemVolume UpdatePalletItemVolume An element of type UpdatePalletItemVolume.
UpdatePalletItemLength UpdatePalletItemLength An element of type UpdatePalletItemLength.
UpdatePalletItemWidth UpdatePalletItemWidth An element of type UpdatePalletItemWidth.
UpdatePalletItemHeight UpdatePalletItemHeight An element of type UpdatePalletItemHeight.
UpdatePalletItemSerial UpdatePalletItemSerial An element of type UpdatePalletItemSerial.
UpdatePalletItemComment UpdatePalletItemComment An element of type UpdatePalletItemComment.
UpdatePalletItemLabelId UpdatePalletItemLabelId An element of type UpdatePalletItemLabelId.
UpdatePalletType UpdatePalletType An element of type UpdatePalletType.
UpdatePalletItemLocation UpdatePalletItemLocation An element of type UpdatePalletItemLocation.
UpdatePalletItemTracking UpdatePalletItemTracking An element of type UpdatePalletItemTracking.
PalletItemUpdateIdentification
PalletItemIdentificationType enum 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 string The label id of the pallet you wish to update. Required if PalletItemIdentificationType = PalletItemLabelId.
UpdatePalletItemStatus
PalletItemStatusIdentificationType enum Must be PalletItemStatusCode.
PalletItemStatusCode string The status code which you want to update the pallet item to. Required if PalletItemStatusIdentificationType = PalletItemStatusCode.
UpdatePalletItemWeight
Weight decimal Weight of pallet item
UpdatePalletItemVolume
Volume decimal Volume of pallet item
UpdatePalletItemLength
Length decimal Length of pallet item
UpdatePalletItemWidth
Width decimal Width of pallet item
UpdatePalletItemHeight
Height decimal Height of pallet item
UpdatePalletItemSerial
PalletItemSerial string Serial number of pallet item
UpdatePalletItemComment
PalletItemComment string Pallet item comment
UpdatePalletItemLabelId
PalletItemLabelId string Pallet item label id
UpdatePalletType
PalletTypeIdentificationType enum Must be PalletTypeCode.
PalletTypeCode string The type code which you want to update the pallet item to. Required if PalletTypeIdentificationType = PalletTypeCode.
UpdatePalletItemLocation
PalletItemLocationName string Location name
UpdatePalletItemTracking
Url string Tracking URL

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>
    <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

UpdatePalletItemResponse
UpdatePalletItemResult UpdatePalletItemResult
UpdatePalletItemResult
Success boolean True if successful, false otherwise.
Message string Error message, if the call was unsuccessful.
PalletItemIds int[] The internal Ongoing WMS pallet item ids of the updated pallet items.