{
"appointment_type_id": 0,
"subtype_id": 0,
"client_id": 0,
"coach_id": 0,
"start_date_time": "2019-08-24T14:15:22Z",
"room_id": 0,
"is_virtual": true,
"virtual_url": "string",
"comments": "string"
}
curl --location --request POST '/tenants//appointments' \
--header 'Content-Type: application/json' \
--data-raw '{
"appointment_type_id": 0,
"subtype_id": 0,
"client_id": 0,
"coach_id": 0,
"start_date_time": "2019-08-24T14:15:22Z",
"room_id": 0,
"is_virtual": true,
"virtual_url": "string",
"comments": "string"
}'
{
"create_response": {
"id": null,
"info": [
{
"severity": "Error",
"errorCode": "string",
"errorMessage": "string",
"identifier": "string",
"helptext": "string",
"jsonObject": null
}
]
},
"update_response": {
"id": null,
"info": [
{
"severity": "Error",
"errorCode": "string",
"errorMessage": "string",
"identifier": "string",
"helptext": "string",
"jsonObject": null
}
]
},
"client_booked_details": [
{
"client_id": 0,
"medical_alert": "string",
"is_payment_required": true,
"is_first_time_class": true,
"is_first_time_appointment": true,
"is_comp_session": true,
"memberships": [
{
"id": 0,
"subscription_id": 0,
"subscription_primary_name": "string",
"subscription_secondary_name": "string",
"service_category_primary_name": "string",
"service_category_secondary_name": "string",
"start_date": "2019-08-24T14:15:22Z",
"end_date": "2019-08-24T14:15:22Z",
"number_of_sessions": 0,
"used_sessions": 0,
"available_sessions": 0,
"is_selected": true
}
]
}
]
}