Packing, packing and returns webhooks

Types of triggers

Webhooks can be triggered on the following events related to picking, packing and return transactions.

Article is allocated

This webhook will fire when an article is allocated.

Article is picked

This webhook will fire when an article is picked.

Article is packed

This webhook will fire when an article is packed.

Article is returned

This webhook will fire when an article is returned. An exception is inbounds performed against purchase order which has been marked as return which will not trigger this weebhook.For that case see inbound webhook.

Article is deallocated

This webhook will fire when an article is deallocated.

Payload

Example

When the webhook is triggered, the following payload will be delivered to the webhook endpoint.

{
  "webhookPickingId": 0,
  "webhookEventId": 0,
  "system": "string",
  "timestamp": "2023-01-01T12:00:00.0000000",
  "goodsOwnerId": 0,
  "goodsOwnerName": "string",
  "isAllocated": false,
  "isPicked": false,
  "isPacked": false,
  "isReturned": false,
  "isDeleted": false,
  "article": {
    "articleSystemId": 0,
    "articleNumber": "string",
    "barCode": "string"
  },
  "articleItem": {
    "articleItemId": 0,
    "originalArticleItemId": 0,
    "serial": "string",
    "batch": "string",
    "expiryDate": "2023-01-01T12:00:00",
    "numberOfItems": 0.0,
    "location": {
      "location": "string",
      "locationId": 0
    },
    "returnCause": {
      "returnCauseId": 0,
      "returnCauseCode": "string",
      "returnCauseName": "string"
    },
    "orderPalletItem": {
      "palletItemId": 0,
      "palletItemLabelId": "string"
    }
  },
  "byComputer": {
    "computerId": 0,
    "computerName": "string"
  },
  "byUser": {
    "userId": 0
  },
  "order": {
    "orderId": 0,
    "orderNumber": "string",
    "orderLine": {
      "orderLineId": 0,
      "rowNumber": "string",
      "parentOrderLine": null
    }
  },
  "webhookTemplate": "string"
}

Specification

WebhookPickingPayload
webhookPickingIdint
webhookEventIdintInternal ID for this particular event.
systemstringThe name of the Ongoing WMS instance where the event happened.
timestampstringWhen the event happened.
goodsOwnerIdintThe Ongoing WMS system id for the goods owner.
goodsOwnerNamestring
isAllocatedboolean
isPickedboolean
isPackedboolean
isReturnedboolean
isDeletedboolean
articleArticleInfoAn element of type ArticleInfo.
articleItemArticleItemInfoAn element of type ArticleItemInfo.
byComputerByComputerInfoAn element of type ByComputerInfo.
byUserByUserInfoAn element of type ByUserInfo.
orderOrderInfoAn element of type OrderInfo.
webhookTemplatestringThe name of the webhook type.
ArticleInfo
articleSystemIdint
articleNumberstring
barCodestring
ArticleItemInfo
articleItemIdint
originalArticleItemIdint
serialstring
batchstring
expiryDatedateTime (nullable)
numberOfItemsdecimal
locationCurrentLocationInfoAn element of type CurrentLocationInfo.
returnCauseReturnCauseAn element of type ReturnCause.
orderPalletItemOrderPalletItemInfoAn element of type OrderPalletItemInfo.
CurrentLocationInfo
locationstring
locationIdint
ReturnCause
returnCauseIdint
returnCauseCodestring
returnCauseNamestring
OrderPalletItemInfo
palletItemIdint
palletItemLabelIdstring
ByComputerInfo
computerIdintOngoing WMS workstation ID of the workstation which the user was logged in to.
computerNamestringOngoing WMS workstation name of the workstation which the user was logged in to.
ByUserInfo
userIdintOngoing WMS user ID of the user who performed the action.
OrderInfo
orderIdint
orderNumberstring
orderLineOrderLineInfoAn element of type OrderLineInfo.
OrderLineInfo
orderLineIdint
rowNumberstring
parentOrderLineOrderLineInfoAn element of type OrderLineInfo.