GET api/v1/departments/StaffReports/{facilityId}
For User/Staff Returns a list of departments that he has Access to for the selected Facility
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| facilityId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiResponseModelOfListOfKeyPairModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ApiResponseDataModelOfListOfKeyPairModel |
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": [
{
"Value": "sample string 1",
"Text": "sample string 2"
},
{
"Value": "sample string 1",
"Text": "sample string 2"
}
]
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}