Calendar Subscription
Create Calendar Subscription
Instance
Billable Item
Booking
Calendar Subscription
Invoice
Quote
Invoice Template
Project
Time Activity
Calendar Subscription
Create Calendar Subscription
WRITE
access to the ADMIN
module is required to access this endpointPOST
/
v2
/
calendar-subscription
/
import
curl --request POST \
--url https://api.sonderplan.com/v2/calendar-subscription/import \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"enabled": true,
"booking_property": {
"client": [
{
"uuid": "u2349"
}
],
"status": [
{
"id": 1
}
],
"project": [
{
"id": 2
}
],
"resources": [
{
"id": 1928
}
],
"custom_fields": [
{}
]
},
"calendar_url": "https://calendar.google.com/calendar/i"
}'
{
"success": {
"id": 2384
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
External shared calendars that are imported into Sonderplan on a recurring schedule
Response
200
application/json
Successful Operation
The response is of type object
.
curl --request POST \
--url https://api.sonderplan.com/v2/calendar-subscription/import \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"enabled": true,
"booking_property": {
"client": [
{
"uuid": "u2349"
}
],
"status": [
{
"id": 1
}
],
"project": [
{
"id": 2
}
],
"resources": [
{
"id": 1928
}
],
"custom_fields": [
{}
]
},
"calendar_url": "https://calendar.google.com/calendar/i"
}'
{
"success": {
"id": 2384
}
}