GET v1/alertAlgorithm/lgaView?master_id={master_id}&stateName={stateName}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| master_id | integer |
Required |
|
| stateName | string |
Required |
Body Parameters
None.
Response Information
Resource Description
lgaViewResult| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| errorMsg | string |
None. |
|
| count | integer |
None. |
|
| data | Collection of lgaViewData |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"errorMsg": "sample string 2",
"count": 3,
"data": [
{
"master_id": 1,
"StateName": "sample string 2",
"LGAName": "sample string 3",
"date": "sample string 4",
"alertValue": 5.0,
"alertValuePercantage": 6.0,
"totalCount": 7.0,
"totalPositive": 8.0
},
{
"master_id": 1,
"StateName": "sample string 2",
"LGAName": "sample string 3",
"date": "sample string 4",
"alertValue": 5.0,
"alertValuePercantage": 6.0,
"totalCount": 7.0,
"totalPositive": 8.0
}
]
}
application/xml, text/xml
Sample:
<lgaViewResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ntblcpEWORS.Models.alertAlgorithm">
<count>3</count>
<data>
<lgaViewResult.lgaViewData>
<LGAName>sample string 3</LGAName>
<StateName>sample string 2</StateName>
<alertValue>5</alertValue>
<alertValuePercantage>6</alertValuePercantage>
<date>sample string 4</date>
<master_id>1</master_id>
<totalCount>7</totalCount>
<totalPositive>8</totalPositive>
</lgaViewResult.lgaViewData>
<lgaViewResult.lgaViewData>
<LGAName>sample string 3</LGAName>
<StateName>sample string 2</StateName>
<alertValue>5</alertValue>
<alertValuePercantage>6</alertValuePercantage>
<date>sample string 4</date>
<master_id>1</master_id>
<totalCount>7</totalCount>
<totalPositive>8</totalPositive>
</lgaViewResult.lgaViewData>
</data>
<errorMsg>sample string 2</errorMsg>
<success>true</success>
</lgaViewResult>