GET api/v1/surgealerts/{tenantId}/{userId}
List SurgeAlerts based on preferences setup by a particular user
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| tenantId | string |
Required |
|
| userId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiResponseModelOfSurgeAlertSummary| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ApiResponseDataModelOfSurgeAlertSummary |
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": {
"FacilityCoId": 1,
"FacilityName": "sample string 2",
"FacilityShortName": "sample string 3",
"DepartmentName": "sample string 4",
"EdwinScoreValue": 5.0,
"EdwinScoreColor": "sample string 6",
"TotalSecondsInSurge": 7,
"TotalSecondsInCurrentState": 8,
"VolumeSinceMidnight": 9,
"ActualCensus": 10
}
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}