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.

accountId

uuid

required

Test group dispatch notification

market_group_id

uuid

required

The id of the market group

meter_ids

array of uuids

required

The ids of the meters

meter_ids* ADD uuid

timeslot

object

required

A single time interval that describes all aspects of the dispatch

timeslotobject

``200 Test group dispatch notification

object

Dispatch notification successfully sent to webhook URL

http_status

integer

The http code from the response server for the webhook URL or 'null' if no response was received

sent_time

date-time

required

Time when the request was sent

received_time

date-time

Time when the response was received

headers

object

Http headers received from the server

View Additional Properties

body

string

Http body received from the server if present, 'null' otherwise

error_message

string

In case the request to the webhook URL failed this field contains a description of the failure

``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


ShellNodeRubyPHPPython

Base URL

https://api.staging.leap.energy/v1.1/account/{accountId}/bidding/dispatch/group/webhook/test_url


xxxxxxxxxx

curl --request POST \

--url https://api.staging.leap.energy/v1.1/account/accountId/bidding/dispatch/group/webhook/test_url \

--header 'accept: application/json' \

--header 'content-type: application/json' \

--data '

{

"timeslot": {

"test_event": true

}

}

'

xxxxxxxxxx

{

"example": {

"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