curl --request POST \
--url https://api.caspen.com/v1/appointments \
--header 'Content-Type: application/json' \
--data '
{
"location_id": 123,
"practitioner_id": 123,
"service_id": 123,
"client_id": 123,
"starts_at": "2023-11-07T05:31:56Z",
"ends_at": "2023-11-07T05:31:56Z",
"client_package_id": 123,
"case_id": 123,
"note": "<string>",
"room_id": 123,
"vehicle_id": 123,
"repeating_rule": {
"frequency": "weekly",
"interval": 2,
"days": [
"mon"
],
"occurrences": 99,
"skip_conflicts": true
},
"resource_ids": [
123
]
}
'