v1
latestOpenAPI 3.0.12026-07-243686491.1 MBSchedules
Create a schedule.
Required scope: schedules:write </br>Organization authorization: supported
post/api/v1/schedules
Request body
Example request
{
"teamId": 12,
"name": "Weekday Hours",
"timezone": "Europe/Copenhagen",
"priceGroupId": 99,
"selectedChargePointIds": [
1,
2
],
"selectedSiteIds": [
10
],
"entries": [
{
"from": "08:00",
"to": "18:00",
"priceGroupId": 42
}
]
}Response
Schedule created
Example response
{
"id": 42,
"teamId": 12,
"name": "Weekday Hours",
"timezone": "Europe/Copenhagen",
"priceGroupId": 99,
"entryCount": 5,
"entries": [
{
"id": 12,
"from": "08:00:00",
"to": "18:00:00",
"priceGroupId": 42
}
],
"createdAt": "2023-03-16T15:37:23Z",
"updatedAt": "2023-03-16T15:37:23Z"
}