Receiving work order updates

This topic describes the ways in which providers can receive work orders using CorrigoPro Direct.

You can receive work orders in any of the following ways:

  • Listen for new work order notifications
  • Poll for new work orders
  • Search for work orders.

Receiving event notifications

Event notifications are sent every time a new work order is received. You can use this method if you subscribed to WebHook notifications.
For details how to configure a WebHook notification, see Configuration. For more details about notifications, see Work order received notification.

Polling for work order updates

You can poll for work orders if you know the work order ID(s), and want to obtain the latest work order state.
For details on how to poll for work orders by ID, see Poll for work orders. For a detailed API reference, see GET /api/workorder.

🚧

Warning

You can receive information about no more than 50 work orders in a single call.

Polling for work orders can include passing an array of work order identifiers via a query string. The following example shows one of the correct ways to do it:

http://<domain>/<action>?ids[0]=123&ids[1]=125&ids[2]=130&...

The expected response model and its description are available in GET /api/workorder reference of the CorrigoPro Direct API.

If a response is unsuccessful, see Error Codes section of this documentation.