Production order webhooks

Types of triggers

Webhooks can be triggered on the following events related to production orders.

Production order status is changed

This webhook will fire when a production order's status is changed. You can select the statuses you want the webhook to trigger for

Production order is created

This webhook will fire when a production order is created.

Payload

Example

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

{
  "webhookProductionOrdersId": 0,
  "webhookEventId": 0,
  "system": "string",
  "timestamp": "2023-01-01T12:00:00.0000000",
  "productionOrderId": 0,
  "productionOrderNumber": "string",
  "goodsOwnerId": 0,
  "path": "string",
  "webhookTemplate": "string",
  "productionOrderStatus": {
    "number": 0
  },
  "goodsOwnerName": "string",
  "productionOrderType": {
    "productionOrderTypeId": 0,
    "productionOrderTypeCode": "string"
  }
}

Specification

WebhookProductionOrderPayload
webhookProductionOrdersIdintInternal ID for the webhook.
webhookEventIdintInternal ID for this particular event.
systemstringThe name of the Ongoing WMS instance where the event happened.
timestampstringWhen the event happened.
productionOrderIdint
productionOrderNumberstring
goodsOwnerIdintThe Ongoing WMS system id for the goods owner.
pathstringREST API path to the resource.
webhookTemplatestringThe name of the webhook type.
productionOrderStatusProductionOrderstatusAn element of type ProductionOrderstatus.
goodsOwnerNamestring
productionOrderTypeProductionOrderTypeAn element of type ProductionOrderType.
ProductionOrderstatus
numberintOrder status ID.
ProductionOrderType
productionOrderTypeIdint
productionOrderTypeCodestring