Create

Create a flex event for a defined flex group. This endpoint supports the creation of flat dispatch events, events that achieve a flat power profile within a specified time frame. If multiple flex events for the same group must be scheduled, each event's triggersAt time should occur after the preceding event has ended.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

ID of the flex group associated with this event.

date-time
required

Start time of the flex event.

date-time
required

End time of the flex event.

string
enum
required

Type of the flex event. Currently, only 'flat' is supported.

Allowed:
number
required

Power in watts to be constantly dispatched throughout the duration of the entire event.

string
enum
required

Status of the flex event.

Allowed:
date-time

Specifies the time at which the flex event planning will trigger, sending commands to the devices. It must fall within the valid send window for the event, which is bounded by the flex group's action window and by planning for neighbouring flex events. An invalid time is rejected with a 422 whose message states the window. Omit this field to have the trigger time automatically selected by Gridshare instead.

boolean
Defaults to true

If false, returns an error if event overlaps with existing events. When true allows overlapping events to be scheduled.

Responses

Language
URL
LoadingLoading…
Response
Choose an example:
*/*
application/json