Movement pallet item webhooks
Types of triggers
Webhooks can be triggered on the following events related to movement pallet items.
Movement pallet item is created
This webhook will fire when a movement pallet item is created.
Movement pallet item is updated
This webhook will fire when a movement pallet item is updated.
Movement pallet item is executed
This webhook will fire when a movement pallet item is executed.
Movement pallet item is deleted
This webhook will fire when a movement pallet item is deleted.
Payload
Example
When the webhook is triggered, the following payload will be delivered to the webhook endpoint.
{
"webhookMovementPalletItemsId": 0,
"webhookEventId": 0,
"webhookTemplate": "string",
"system": "string",
"timestamp": "2023-01-01T12:00:00.0000000",
"goodsOwnerId": 0,
"goodsOwnerName": "string",
"movement": {
"workOrderId": 0,
"movementPalletItemId": 0,
"isExecuted": false,
"assignedUserId": null,
"toLocation": {
"locationId": null,
"location": "string",
"locationType": {
"locationTypeId": 0
}
},
"movementPalletItemType": {
"movementPalletItemTypeId": 0,
"movementPalletItemTypeCode": "string"
}
},
"palletItem": {
"palletItemId": 0,
"labelId": "string",
"serial": "string",
"currentLocation": {
"locationId": null,
"location": "string",
"locationType": {
"locationTypeId": 0
}
}
},
"byComputer": {
"computerId": 0,
"computerName": "string"
},
"byUser": {
"userId": 0
}
}
Specification
| WebhookMovementPalletItemPayload |
| webhookMovementPalletItemsId | int | Internal ID for the webhook. |
| webhookEventId | int | Internal ID for this particular event. |
| webhookTemplate | string | The name of the webhook type. |
| system | string | The name of the Ongoing WMS instance where the event happened. |
| timestamp | string | When the event happened. |
| goodsOwnerId | int | The Ongoing WMS system id for the goods owner. |
| goodsOwnerName | string | |
| movement | MovementInfo | Information about the movement. |
| palletItem | PalletItemInfo | Information about the pallet item. |
| byComputer | ByComputerInfo | An element of type ByComputerInfo. |
| byUser | ByUserInfo | An element of type ByUserInfo. |
| MovementInfo |
| workOrderId | int | |
| movementPalletItemId | int | |
| isExecuted | boolean | |
| assignedUserId | int (nullable) | |
| toLocation | ToLocation | An element of type ToLocation. |
| movementPalletItemType | MovementPalletItemType | An element of type MovementPalletItemType. |
| ToLocation |
| locationId | int (nullable) | |
| location | string | |
| locationType | LocationType | An element of type LocationType. |
| LocationType |
| locationTypeId | int | |
| MovementPalletItemType |
| movementPalletItemTypeId | int | |
| movementPalletItemTypeCode | string | |
| PalletItemInfo |
| palletItemId | int | |
| labelId | string | |
| serial | string | |
| currentLocation | CurrentLocation | An element of type CurrentLocation. |
| CurrentLocation |
| locationId | int (nullable) | |
| location | string | |
| locationType | LocationType | An element of type LocationType. |
| LocationType |
| locationTypeId | int | |
| ByComputerInfo |
| computerId | int | Ongoing WMS workstation ID of the workstation which the user was logged in to. |
| computerName | string | Ongoing WMS workstation name of the workstation which the user was logged in to. |
| ByUserInfo |
| userId | int | Ongoing WMS user ID of the user who performed the action. |