Body
application/json
Response
Shift block created successfully
The response is of type object
.
curl --request POST \
--url https://api.axlehealth.com/api/v2-stable/shift-blocks \
--header 'Content-Type: application/json' \
--data '{
"clinicians": [
{
"clinician_id": "bf8d6e7a-2c4b-4a6d-9e8c-f5d7e9c1a3b"
},
{
"clinician_id": "e2d5c7b9-1a4e-4c6b-9d8f-f5a6e8c9d1b3"
}
],
"timezone": "America/Phoenix",
"start_datetime": "2024-07-05T12:00:00",
"end_datetime": "2024-07-05T21:00:00",
"recurrence": {
"rrule": "FREQ=MONTHLY;BYDAY=2FR;INTERVAL=1;UNTIL=20240630T235959Z",
"exdate": [
"2024-08-09T00:00:00Z",
"2024-10-11T00:00:00Z"
]
},
"notes": "Bi-weekly sync"
}'
{
"shift_block_id": "8e2f0b38-144a-4589-ba14-fc5fc4329d63"
}
Creates a shift block with the specified details and returns the unique identifier for the new shift block.
curl --request POST \
--url https://api.axlehealth.com/api/v2-stable/shift-blocks \
--header 'Content-Type: application/json' \
--data '{
"clinicians": [
{
"clinician_id": "bf8d6e7a-2c4b-4a6d-9e8c-f5d7e9c1a3b"
},
{
"clinician_id": "e2d5c7b9-1a4e-4c6b-9d8f-f5a6e8c9d1b3"
}
],
"timezone": "America/Phoenix",
"start_datetime": "2024-07-05T12:00:00",
"end_datetime": "2024-07-05T21:00:00",
"recurrence": {
"rrule": "FREQ=MONTHLY;BYDAY=2FR;INTERVAL=1;UNTIL=20240630T235959Z",
"exdate": [
"2024-08-09T00:00:00Z",
"2024-10-11T00:00:00Z"
]
},
"notes": "Bi-weekly sync"
}'
{
"shift_block_id": "8e2f0b38-144a-4589-ba14-fc5fc4329d63"
}
Shift block created successfully
The response is of type object
.