1.URL

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

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",
    "name":"ALCORSA",
    "icon":1,
    "strokeColor":"rgba(53, 106, 195, 0.8)",
    "fillColor":"rgba(53, 106, 195, 0.4)"
}

2.3.Parameters description

Field Data type description required
orgId String Organizational Unique Identification Y
name String Fence type Name Y
icon int Fence type icon Y
strokeColor String Border Color Y
fillColor String fill color 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:57
最后编辑:admin  更新时间:2024-12-27 19:48