Reject clinicians shift request
POST/api/v2/public/shift-requests/reject
Reject a Clinician's Shift Request
This operation rejects a clinician's request to take a shift.
Notifications
- The clinician whose request was rejected will be notified that the shift has already been filled.
Shift Status Updates
- The rejected clinician will see the shift marked as "Filled" in their view, indicating that the shift is no longer available for them.
Request
- application/json
Body
required
shiftId stringrequired
The unique identifier of the shift clinician has requested to work.
clinicianId stringrequired
The unique identifier of the clinician (userId) to be rejected from the shift
Responses
- 201
- 400
- 401
- 403
Empty Response
Bad request
- application/json
- Schema
- Example (from schema)
- Request Validation
Schema
message string[]
Error description
error string
The type of error
statusCode integer
Status code of the error
{
"message": [
"Property must be a string"
],
"error": "Bad Request",
"statusCode": 400
}
Request Validation Error
{
"message": [],
"error": "Bad Request",
"statusCode": 400
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
message string
Error description
statusCode integer
Status code of the error
{
"message": "Unauthorized",
"statusCode": 401
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
message string
Error description
error string
The type of error
statusCode integer
Status code of the error
{
"message": "Forbidden Resource",
"error": "Forbidden",
"statusCode": 403
}
Loading...