GET api/v1/assignments/staff?StartDateTime={StartDateTime}&EndDateTime={EndDateTime}&DepartmentId={DepartmentId}&ShowAll={ShowAll}&IsUtc={IsUtc}
Returns a list of staff with assignments by the requested criteria.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| StartDateTime | date |
Required |
|
| EndDateTime | date |
Required |
|
| DepartmentId | integer |
None. |
|
| ShowAll | boolean |
None. |
|
| IsUtc | boolean |
None. |
Body Parameters
None.
Response Information
Resource Description
ApiResponseModelOfListOfAssignmentStaffModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ApiResponseDataModelOfListOfAssignmentStaffModel |
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": [
{
"AssignmentId": "292aa277-59e2-4585-aec4-be14bb68d765",
"StaffId": 2,
"UserName": "sample string 3",
"FirstName": "sample string 4",
"LastName": "sample string 5"
},
{
"AssignmentId": "292aa277-59e2-4585-aec4-be14bb68d765",
"StaffId": 2,
"UserName": "sample string 3",
"FirstName": "sample string 4",
"LastName": "sample string 5"
}
]
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}