Webhook Simulation

This topic describe how to simulate the platform to send webhook notifications. Please click here to know the Webhook feature of Milesight Development Platform first.

Prerequisties

Procedure

  1. Log in to Milesight Development Platform, and select Application on the top bar.
  2. Select the desired application from the application list.

  3. In the Application Settings tab, enable the Webhook option to subscribe Webhook events.
    1. In the Callback URI section, click Add.
    2. Enter the webhook callback URI for receiving event notifications.
    3. Click Test to check if the webhook is working properly.

      A test notification will be sent to all the Webhook callback URI you entered.

  4. In the Webhook Simulation tab, decide whether to enable Wehook historic Record to check the Webhook simulate details in this platform.

  5. Click Device Debug Panel icon at the bottom right corner of this application.

  6. Generate the simulate report as required.

    1. Select the device to simulate the report.
    2. In the Simulate Report tab, select the report type.
    3. Select one data item or multiple data items to report.
      Note: if you select multiple items, click Batch Report button to generate one message to include all selected items.
    4. Click Random Simulate Report or Custom Simulate Report to send the report.

Result

An HTTP callback will be trigger to push the reported data to your callback URI. If Webhook Historic Record is enabled, the platform will record and display the details of this webhook message.