GET api/geofence/get_geofence_list

API to get geofence list

Request Information

URI Parameters

NameDescriptionTypeAdditional information
AccessToken

Token

string

None.

Imei

Imei

string

None.

MapType

Google

string

None.

Response Information

Resource Description

geofence list

GeofenceListResult
NameDescriptionTypeAdditional information
Result

Collection of GeofenceListOutputDto

None.

State

integer

None.

Msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": [
    {
      "Imei": "sample string 1",
      "Name": "sample string 2",
      "GeofenceId": "sample string 3",
      "AlarmType": "sample string 4",
      "CreateTime": "2021-09-17 16:01:55",
      "Lat": 6.1,
      "Lng": 7.1,
      "Status": 8,
      "MapType": "sample string 9",
      "Radius": 10.1
    },
    {
      "Imei": "sample string 1",
      "Name": "sample string 2",
      "GeofenceId": "sample string 3",
      "AlarmType": "sample string 4",
      "CreateTime": "2021-09-17 16:01:55",
      "Lat": 6.1,
      "Lng": 7.1,
      "Status": 8,
      "MapType": "sample string 9",
      "Radius": 10.1
    }
  ],
  "State": 1,
  "Msg": "sample string 2"
}

application/xml, text/xml

Sample:
<GeofenceListResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.OpenApi.Models.ResponseModels">
  <Msg>sample string 2</Msg>
  <State>1</State>
  <Result>
    <GeofenceListOutputDto>
      <AlarmType>sample string 4</AlarmType>
      <CreateTime>2021-09-17T16:01:55.7772663+08:00</CreateTime>
      <GeofenceId>sample string 3</GeofenceId>
      <Imei>sample string 1</Imei>
      <Lat>6.1</Lat>
      <Lng>7.1</Lng>
      <MapType>sample string 9</MapType>
      <Name>sample string 2</Name>
      <Radius>10.1</Radius>
      <Status>8</Status>
    </GeofenceListOutputDto>
    <GeofenceListOutputDto>
      <AlarmType>sample string 4</AlarmType>
      <CreateTime>2021-09-17T16:01:55.7772663+08:00</CreateTime>
      <GeofenceId>sample string 3</GeofenceId>
      <Imei>sample string 1</Imei>
      <Lat>6.1</Lat>
      <Lng>7.1</Lng>
      <MapType>sample string 9</MapType>
      <Name>sample string 2</Name>
      <Radius>10.1</Radius>
      <Status>8</Status>
    </GeofenceListOutputDto>
  </Result>
</GeofenceListResult>