Trigger test group notification

Time Status User Agent
Make a request to see history.

URL Expired

The URL for this request expired after 30 days.

Dispatch Examples per Program Skip link to Dispatch Examples per Program

An example dispatch event notification for most programs can be found within the EXAMPLES dropdown menu in the black REQUEST box on the right panel of this page. For more details on how to use these examples, see the Test Cases developer guide.

Test group dispatch notification

group_dispatches
array of objects
required
length ≥ 1

List of market group events

group_dispatches*
object

Aggregates timeslot dispatches per market group. Previously stored dispatches might be updated so when dealing with a dispatch timeslot that has the same market_group_event_id as an existing one, the previously received dispatch has to be updated with the new field values.

`` 200 Successfully triggered a test group notification to be sent to the registered group webhook url

object

Dispatch notification successfully sent to webhook URL during an integration test

`` 400 Request could not be parsed or is invalid

`` 401 Unauthorized

`` 403 No access to this resource

`` 404 Resource not found

`` 5XX Unexpected error

Updated 11 months ago


Base URL

https://api.staging.leap.energy/v2/dispatch/group/webhook/integration_test


xxxxxxxxxx

curl --request POST \
 \
     --url https://api.staging.leap.energy/v2/dispatch/group/webhook/integration_test \
 \
     --header 'accept: application/json' \
 \
     --header 'content-type: application/json' \
 \
     --data '\n\n{\n\n  "group_dispatches": [\
\
    {\
\
      "timeslots": [\
\
        {\
\
          "cancelled": true,\
\
          "performance_compensation_cap": "grid-exports-allowed",\
\
          "is_voluntary": true,\
\
          "dispatch_event_types": [],\
\
          "programs": []\
\
        }\
\
      ]\
\
    }\
\
  ]\
\n}\n\n'

xxxxxxxxxx

{  
  "sent_time": "2023-01-23T04:56:07.000Z",  
  "headers": {  
    "key": [\
      "x-api-key",\
      "your-key"  
    ]  
  },  
  "http_status": 200,  
  "received_time": "2023-01-23T04:56:17.000Z",  
  "body": "body that is echoed"  
}  

Updated 11 months ago