post https://api.bigpanda.io/resources/v1.0/schedules
Creates a new schedule.
Renamed API
The Alert Filter Schedules API was previously called Schedules V1. The functionality of the API has not changed, but the name has been updated to clarify which BigPanda feature the API manages.
Authentication
All BigPanda APIs require Bearer Token Authorization in the call headers.
This API uses the Org Token type of Authorization token.
Epoch Time Conversion
See the Epoch Converter to convert times to Unix epoch format.
Schedule ID
The schedule ID will be included in the success return. This ID is needed to add the schedule to a filter.
Sample Call
curl --request POST \
--url https://api.bigpanda.io/resources/v1.0/schedules \
--header 'Content-Type: application/json; charset=utf-8' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <ORG TOKEN>' \
--data '{
"name": "Weekend Maintenance",
"starts_on": 1491265491,
"ends_on": 1491294307,
"active": true
}
'
curl --request POST \
--url https://eu-api.bigpanda.io/resources/v1.0/schedules \
--header 'Content-Type: application/json; charset=utf-8' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <ORG TOKEN>' \
--data '{
"name": "Weekend Maintenance",
"starts_on": 1491265491,
"ends_on": 1491294307,
"active": true
}
'