GET Geofence?for_guid={for_guid}&appid={appid}&sg={sg}&hash={hash}&token={token}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| for_guid | string |
Required |
|
| appid | string |
Required |
|
| sg | string |
Required |
|
| hash | string |
Required |
|
| token | string |
Required |
Body Parameters
None.
Response Information
Resource Description
BaseGridOfGeoFence| Name | Description | Type | Additional information |
|---|---|---|---|
| page | integer |
None. |
|
| records | integer |
None. |
|
| total | integer |
None. |
|
| the_list | Collection of GeoFence |
None. |
Response Formats
application/json, text/json
Sample:
{
"page": 1,
"records": 2,
"total": 3,
"the_list": [
null,
{
"appid": "sample string 1",
"name": "sample string 2",
"description": "sample string 3",
"for_guid": "sample string 4",
"for_guid_type": "sample string 5",
"center_latitude": 1.1,
"center_longitude": 1.1,
"radius": 6.1,
"geofence_shape_type": "sample string 7",
"fence_points": [
{
"latitude": 1.1,
"longitude": 1.1
},
{
"latitude": 1.1,
"longitude": 1.1
}
],
"enabled": true,
"guid": "000000000000000000000000",
"guid_datetime": "1970-01-01T00:00:00Z"
}
]
}
application/xml, text/xml
Sample:
<BaseGridOfGeoFenceXD55xrjw xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/productious_models">
<page>1</page>
<records>2</records>
<the_list>
<GeoFence i:nil="true" />
<GeoFence>
<guid>000000000000000000000000</guid>
<id xmlns:d4p1="http://schemas.datacontract.org/2004/07/MongoDB.Bson">
<d4p1:_a>0</d4p1:_a>
<d4p1:_b>0</d4p1:_b>
<d4p1:_c>0</d4p1:_c>
</id>
<appid>sample string 1</appid>
<center_latitude>1.1</center_latitude>
<center_longitude>1.1</center_longitude>
<description>sample string 3</description>
<enabled>true</enabled>
<fence_points>
<latlong>
<latitude>1.1</latitude>
<longitude>1.1</longitude>
</latlong>
<latlong>
<latitude>1.1</latitude>
<longitude>1.1</longitude>
</latlong>
</fence_points>
<for_guid>sample string 4</for_guid>
<for_guid_type>sample string 5</for_guid_type>
<geofence_shape_type>sample string 7</geofence_shape_type>
<name>sample string 2</name>
<radius>6.1</radius>
</GeoFence>
</the_list>
<total>3</total>
</BaseGridOfGeoFenceXD55xrjw>