POST v1/heatMap/heatMapForPositive
Request Information
URI Parameters
None.
Body Parameters
generateHeatMapRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| state | string |
None. |
|
| lga | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"state": "sample string 1",
"lga": "sample string 2"
}
application/xml, text/xml
Sample:
<generateHeatMapRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ntblcpEWORS.Models.generateHeatMap"> <lga>sample string 2</lga> <state>sample string 1</state> </generateHeatMapRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
generateHeatMapResult| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| heatData | Collection of heatItem |
None. |
|
| heatDataAllState | Collection of allStateHeapMap |
None. |
|
| errorMsg | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"heatData": [
{
"lng": 1.0,
"lat": 2.0,
"count": 3,
"locationName": "sample string 4",
"state": "sample string 5",
"lga": "sample string 6",
"ward": "sample string 7"
},
{
"lng": 1.0,
"lat": 2.0,
"count": 3,
"locationName": "sample string 4",
"state": "sample string 5",
"lga": "sample string 6",
"ward": "sample string 7"
}
],
"heatDataAllState": [
{
"state": "sample string 1",
"totalCount": 2,
"heatData": [
{
"lng": 1.0,
"lat": 2.0,
"count": 3,
"locationName": "sample string 4",
"state": "sample string 5",
"lga": "sample string 6",
"ward": "sample string 7"
},
{
"lng": 1.0,
"lat": 2.0,
"count": 3,
"locationName": "sample string 4",
"state": "sample string 5",
"lga": "sample string 6",
"ward": "sample string 7"
}
]
},
{
"state": "sample string 1",
"totalCount": 2,
"heatData": [
{
"lng": 1.0,
"lat": 2.0,
"count": 3,
"locationName": "sample string 4",
"state": "sample string 5",
"lga": "sample string 6",
"ward": "sample string 7"
},
{
"lng": 1.0,
"lat": 2.0,
"count": 3,
"locationName": "sample string 4",
"state": "sample string 5",
"lga": "sample string 6",
"ward": "sample string 7"
}
]
}
],
"errorMsg": "sample string 2"
}
application/xml, text/xml
Sample:
<generateHeatMapResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ntblcpEWORS.Models.generateHeatMap">
<errorMsg>sample string 2</errorMsg>
<heatData>
<generateHeatMapResult.heatItem>
<count>3</count>
<lat>2</lat>
<lga>sample string 6</lga>
<lng>1</lng>
<locationName>sample string 4</locationName>
<state>sample string 5</state>
<ward>sample string 7</ward>
</generateHeatMapResult.heatItem>
<generateHeatMapResult.heatItem>
<count>3</count>
<lat>2</lat>
<lga>sample string 6</lga>
<lng>1</lng>
<locationName>sample string 4</locationName>
<state>sample string 5</state>
<ward>sample string 7</ward>
</generateHeatMapResult.heatItem>
</heatData>
<heatDataAllState>
<generateHeatMapResult.allStateHeapMap>
<heatData>
<generateHeatMapResult.heatItem>
<count>3</count>
<lat>2</lat>
<lga>sample string 6</lga>
<lng>1</lng>
<locationName>sample string 4</locationName>
<state>sample string 5</state>
<ward>sample string 7</ward>
</generateHeatMapResult.heatItem>
<generateHeatMapResult.heatItem>
<count>3</count>
<lat>2</lat>
<lga>sample string 6</lga>
<lng>1</lng>
<locationName>sample string 4</locationName>
<state>sample string 5</state>
<ward>sample string 7</ward>
</generateHeatMapResult.heatItem>
</heatData>
<state>sample string 1</state>
<totalCount>2</totalCount>
</generateHeatMapResult.allStateHeapMap>
<generateHeatMapResult.allStateHeapMap>
<heatData>
<generateHeatMapResult.heatItem>
<count>3</count>
<lat>2</lat>
<lga>sample string 6</lga>
<lng>1</lng>
<locationName>sample string 4</locationName>
<state>sample string 5</state>
<ward>sample string 7</ward>
</generateHeatMapResult.heatItem>
<generateHeatMapResult.heatItem>
<count>3</count>
<lat>2</lat>
<lga>sample string 6</lga>
<lng>1</lng>
<locationName>sample string 4</locationName>
<state>sample string 5</state>
<ward>sample string 7</ward>
</generateHeatMapResult.heatItem>
</heatData>
<state>sample string 1</state>
<totalCount>2</totalCount>
</generateHeatMapResult.allStateHeapMap>
</heatDataAllState>
<success>true</success>
</generateHeatMapResult>