Reject clinician's shift report
POST/api/v2/public/marketplace/shifts/reports/:shiftId/reject
General Information
Rejects the Clinician's shift report
If you believe the clinician's shift report contains incorrect information, you can reject it and submit the values you believe are correct. After your report is submitted, a Nursa employee will determine the correct information.
Request
Path Parameters
Nursa ShiftId
- application/json
Body
required
Comment regarding the individual who worked on the shift
Possible values: >= 1
and <= 5
Rate the clinician from 1 to 5
General comment or feedback about the shift itself, including any incidents, issues, or noteworthy aspects
monetary bonus to clinician
Responses
- 201
- 400
- 401
- 403
- application/json
- Schema
- Example (from schema)
Schema
data object
Break Time for the shift
Shift end date
Shift start date
Comment about how the clinician worked the shift
Date the shift report was created
Id of the shift
Possible values: [Nurse
, Facility
, Admin
, AdminBilling
]
Type of the report
Total price
Possible values: [Facility
, Nurse
, On Hold
, Other
]
Cancelation Reason
Possible values: [No Call No Show
, Excused Emergency
, Refused to Work
, No Longer Want to Work With This Clinician
]
Comment about the cancelation
{
"data": {
"breakTime": "PT45M",
"from": "2024-10-04T18:30:16.312Z",
"to": "2024-10-04T18:30:16.312Z",
"comment": "All good, the clinician did a great job",
"completed": true,
"createdAt": "2024-10-04T18:30:16.312Z",
"shiftId": "12120878",
"reportType": "Facility",
"totalAmount": 178.8,
"cancelationReason": "Nurse",
"cancelationComment": "Excused Emergency"
}
}
Bad request
- application/json
- Schema
- Example (from schema)
- Request Validation
- Shift not Completed
- Already Submitted
- Missing Clinician Report
Schema
Error description
The type of error
Status code of the error
{
"message": [
"Property must be a string"
],
"error": "Bad Request",
"statusCode": 400
}
Request Validation Error
{
"message": [
"reviewComment must be a string",
"rate must not be greater than 5",
"rate must not be less than 1",
"rate must be an integer number",
"breakTime must be a valid ISO 8601 duration (e.g., PT45M)",
"from must be RFC 3339 date",
"from must be a date before to",
"from must be a valid ISO 8601 date string",
"to must be RFC 3339 date",
"to must be less than 24 hours after from field",
"to must be a valid ISO 8601 date string",
"comment must be a string",
"bonus must not be less than 0",
"bonus must be a number conforming to the specified constraints"
],
"error": "Bad Request",
"statusCode": 400
}
Shift is not completed
{
"message": "Shift must be completed to submit a shift report",
"error": "Bad Request",
"statusCode": 400
}
Shift report already submitted
{
"message": "Facility shift report already submitted",
"error": "Bad Request",
"statusCode": 400
}
Clinician shift report was not submitted
{
"message": "Clinician shift report was not submitted",
"error": "Bad Request",
"statusCode": 400
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
Error description
Status code of the error
{
"message": "Unauthorized",
"statusCode": 401
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Error description
The type of error
Status code of the error
{
"message": "Forbidden Resource",
"error": "Forbidden",
"statusCode": 403
}