Planned

Beta: Create a planned slot

post

Create a new planned slot for a specific site. The slot will be created in planned state. The custom fields (e.g., custom_field_1, custom_field_2) depend on the custom fields defined in the zone related to the created slot.

Authorizations
AuthenticationstringRequired

Authentication is token based. You can issue a token for your API request from the 'API' section of the settings menu. The token MUST be sent in a Authorization header with each request.

Example of authenticated request

$ curl -X GET -H "Authorization: Token <your token>" "https://api.dashdoc.eu/api/v4/"
Path parameters
site-slugstringRequired

The slug identifier of the site

Body
start_timestring Β· date-timeRequired

Start time of the slot in ISO 8601 format

end_timestring Β· date-timeRequired

End time of the slot in ISO 8601 format

notestringOptional

Optional note for the slot

Responses
chevron-right
201

Slot created successfully

application/json
post
/flow/sites/{site-slug}/slots/planned/
201

Slot created successfully

Last updated

Was this helpful?