GET api/v1/requests?StaffId={StaffId}&Start={Start}&End={End}&Status={Status}
Get requests by the search criteria
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| StaffId | integer |
None. |
|
| Start | date |
None. |
|
| End | date |
None. |
|
| Status | RequestStatusType |
None. |
Body Parameters
None.
Response Information
Resource Description
ApiResponseModelOfListOfRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ApiResponseDataModelOfListOfRequestModel |
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": [
{
"RequestId": "7ef6ef54-4c14-4ab7-94d1-77aebaf46a00",
"Status": "Approved",
"StaffId": 2,
"Requester": "sample string 3",
"StartDate": "2026-01-02T10:00:57.6226599-06:00",
"EndDate": "2026-01-02T10:00:57.6226599-06:00",
"Comment": "sample string 6",
"Email": "sample string 7",
"CreatedDateUTC": "2026-01-02T10:00:57.6226599-06:00",
"LastModifiedDateUTC": "2026-01-02T10:00:57.6226599-06:00",
"ResponseDateUTC": "2026-01-02T10:00:57.6226599-06:00",
"Approved": true,
"ResponseComment": "sample string 9",
"ResponseUserId": 1,
"ResponseUser": "sample string 10",
"ResponseEmail": "sample string 11",
"Shifts": [
{
"RequestShiftId": 1,
"RequestId": "75912bba-6a80-4b17-9f17-fe924cfe0e38",
"FacilityId": 3,
"Facility": "sample string 4",
"DepartmentId": 5,
"Department": "sample string 6",
"DepartmentCode": "sample string 7",
"DeptShiftId": 8,
"ShiftCode": "sample string 9",
"ProductiveTypeId": 10,
"ProductiveType": "sample string 11",
"Date": "2026-01-02T10:00:57.6226599-06:00",
"StartTime": "2026-01-02T10:00:57.6226599-06:00",
"EndTime": "2026-01-03T00:15:57.6226599-06:00",
"DurationHours": 14,
"DurationMinutes": 15
},
{
"RequestShiftId": 1,
"RequestId": "75912bba-6a80-4b17-9f17-fe924cfe0e38",
"FacilityId": 3,
"Facility": "sample string 4",
"DepartmentId": 5,
"Department": "sample string 6",
"DepartmentCode": "sample string 7",
"DeptShiftId": 8,
"ShiftCode": "sample string 9",
"ProductiveTypeId": 10,
"ProductiveType": "sample string 11",
"Date": "2026-01-02T10:00:57.6226599-06:00",
"StartTime": "2026-01-02T10:00:57.6226599-06:00",
"EndTime": "2026-01-03T00:15:57.6226599-06:00",
"DurationHours": 14,
"DurationMinutes": 15
}
]
},
{
"RequestId": "7ef6ef54-4c14-4ab7-94d1-77aebaf46a00",
"Status": "Approved",
"StaffId": 2,
"Requester": "sample string 3",
"StartDate": "2026-01-02T10:00:57.6226599-06:00",
"EndDate": "2026-01-02T10:00:57.6226599-06:00",
"Comment": "sample string 6",
"Email": "sample string 7",
"CreatedDateUTC": "2026-01-02T10:00:57.6226599-06:00",
"LastModifiedDateUTC": "2026-01-02T10:00:57.6226599-06:00",
"ResponseDateUTC": "2026-01-02T10:00:57.6226599-06:00",
"Approved": true,
"ResponseComment": "sample string 9",
"ResponseUserId": 1,
"ResponseUser": "sample string 10",
"ResponseEmail": "sample string 11",
"Shifts": [
{
"RequestShiftId": 1,
"RequestId": "75912bba-6a80-4b17-9f17-fe924cfe0e38",
"FacilityId": 3,
"Facility": "sample string 4",
"DepartmentId": 5,
"Department": "sample string 6",
"DepartmentCode": "sample string 7",
"DeptShiftId": 8,
"ShiftCode": "sample string 9",
"ProductiveTypeId": 10,
"ProductiveType": "sample string 11",
"Date": "2026-01-02T10:00:57.6226599-06:00",
"StartTime": "2026-01-02T10:00:57.6226599-06:00",
"EndTime": "2026-01-03T00:15:57.6226599-06:00",
"DurationHours": 14,
"DurationMinutes": 15
},
{
"RequestShiftId": 1,
"RequestId": "75912bba-6a80-4b17-9f17-fe924cfe0e38",
"FacilityId": 3,
"Facility": "sample string 4",
"DepartmentId": 5,
"Department": "sample string 6",
"DepartmentCode": "sample string 7",
"DeptShiftId": 8,
"ShiftCode": "sample string 9",
"ProductiveTypeId": 10,
"ProductiveType": "sample string 11",
"Date": "2026-01-02T10:00:57.6226599-06:00",
"StartTime": "2026-01-02T10:00:57.6226599-06:00",
"EndTime": "2026-01-03T00:15:57.6226599-06:00",
"DurationHours": 14,
"DurationMinutes": 15
}
]
}
]
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}