GET api/v1/staffavailabilities/{staffId}
Retrieves a Staff's Availability for the specified Staff Id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| staffId |
The Staff's ID |
integer |
None. |
Body Parameters
None.
Response Information
Resource Description
ApiResponseModelOfListOfStaffAvailabilityReturnModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ApiResponseDataModelOfListOfStaffAvailabilityReturnModel |
None. |
|
| Errors | Collection of string |
None. |
|
| Warnings | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"PageSize": 1,
"Page": 2,
"TotalPages": 3,
"TotalResults": 4,
"Results": [
{
"StaffAvailabilityId": 1,
"StaffId": 1,
"StartDate": "2026-01-02T11:18:47.8028869-06:00",
"EndDate": "2026-01-02T11:18:47.8028869-06:00",
"IsUnavailable": true
},
{
"StaffAvailabilityId": 1,
"StaffId": 1,
"StartDate": "2026-01-02T11:18:47.8028869-06:00",
"EndDate": "2026-01-02T11:18:47.8028869-06:00",
"IsUnavailable": true
}
]
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}