1.URL

http://124.223.60.234:8080/system/asset/fence/addFence
or Server in US
https://cloud.aovx.com/prod/system/asset/fence/addFence

2.Request parameters

2.1.Request headers

Add token in Headers: After successful login verification, the corresponding tokenId in user login response data.

2.2.Parameters example

{
    "orgId":"F940B79790004404AAC277418FC71C5E",
    "typeId":"9F6A9A9100A34EED874BA9D724708A8B",
    "name":"仓库7",
    "code":"0007",
    "formType":1,
    "centerLat":"15.643266",
    "centerLon":"-91.985221",
    "radius":0,
    "path":"[{\"lat\":15.643340362596092,\"lng\":-91.985202588745437},{\"lat\":15.643377168304548,\"lng\":-91.985173084446274},{\"lat\":15.643152459665481,\"lng\":-91.9850148341144},{\"lat\":15.643113716771751,\"lng\":-91.985038973995529}]",
    "address":"terminal de buses la mesilla, Carretera Panamericana, La Mesilla, La Democracia, Huehuetenango, Guatemala",
    "area":"144.77436450129",
    "descInfo":"xxxxxxxxxxxxxxxxxxx123"
}

2.3.Parameters description

Field Data type description required
orgId String Organizational Unique Identification Y
typeId String Unique identification of fence type Y
name String Fence Name Y
code String Fence Code Y
formType int Fence type (1: Polygon; 2: Circular) Y
centerLat double Center point latitude Y
centerLon double Center point longitude Y
radius int The radius of the fence, in meters; If circular, this value is valid Y
path String Fence Point Collection Y
address String Fence address Y
area double Fence area Y
descInfo String describe Y

3.Response content

3.1.Response example

{
    "code": 200,
    "message": "Operation succeeded",
    "data": null
}

3.2.Response description

Field Data type description
code int Return code
message String Return message
data object Response data
作者:admin  创建时间:2023-04-25 11:59
最后编辑:admin  更新时间:2024-12-27 19:48