GET api/v1/Census/GetByDepartmentAsync/{departmentId}/{startDate}
Get census by department and start date. This is an asynchronous service.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| departmentId | integer |
Required |
|
| startDate | date |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiResponseModelOfCensusModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ApiResponseDataModelOfCensusModel |
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": {
"CensusID": 1,
"DeptID": 2,
"StartTime": "2026-01-02T11:34:36.3136749-06:00",
"Census": 1,
"Note": "sample string 4",
"AppChanged": "sample string 5",
"UserChanged": "sample string 6",
"Version": "QEA=",
"DateChanged": "2026-01-02T11:34:36.3136749-06:00",
"AveragePatientClassificationRating": 1.0,
"StaffTo": 1,
"ImportedOnUtc": "2026-01-02T11:34:36.3136749-06:00",
"ImportedBy": "sample string 7"
}
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}