Get shift reports
GET/api/v2/public/marketplace/shifts/reports/:shiftId
General Information
Returns all the shift reports belonging to the Shift
Users can also create a Webhook in our system to receive notifications whenever a new shift report is created.
Request
Path Parameters
Nursa ShiftId
Responses
- 201
- 400
- 401
- 403
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
data object[]
Shift start date
Shift end date
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
Comment of the shift
Bonus to be paid to Clinician
Possible values: [Nurse
, Facility
, Admin
, AdminBilling
]
Type of the report
Break Time for the shift
The date the shift was last updated
Total price
{
"data": [
{
"from": "2024-10-04T18:30:10.073Z",
"to": "2024-10-04T18:30:10.073Z",
"cancelationReason": "Nurse",
"cancelationComment": "Excused Emergency",
"comment": "Everything was fine :)",
"bonus": 2.5,
"reportType": "Nurse",
"breakTime": "PT45M",
"updateDate": "2024-10-04T18:30:10.074Z",
"totalAmount": 178.8
}
]
}
Bad request
- application/json
- Schema
- Example (from schema)
- Request Validation
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": [
"shiftId must be a string"
],
"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
}