POST api/geofence/get_geofence_list
获得单个设备的电子围栏
Request Information
Body Parameters
GetGeofenceListModelsName | Description | Type | Additional information |
---|---|---|---|
AccessToken |
Token |
string |
None. |
Imei |
设备号 |
string |
None. |
MapType |
Baidu或者Google |
string |
None. |
Response Information
Resource Description
电子围栏集合
GeofenceListResultName | Description | Type | Additional information |
---|---|---|---|
Result | Collection of GeofenceListOutputDto |
None. |
|
Code |
状态码 |
integer |
None. |
Message |
错误信息 |
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": "2024-09-19 12:04:50", "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": "2024-09-19 12:04:50", "Lat": 6.1, "Lng": 7.1, "Status": 8, "MapType": "sample string 9", "Radius": 10.1 } ], "Code": 1, "Message": "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/Gps.OpenApi.Models.ResponseModels"> <Code>1</Code> <Message>sample string 2</Message> <Result> <GeofenceListOutputDto> <AlarmType>sample string 4</AlarmType> <CreateTime>2024-09-19T12:04:50.7975724+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>2024-09-19T12:04:50.7975724+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>