1.URL

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

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

{
    "key":"",
    "pageNum":1,
    "pageSize":20
}

2.3.Parameters description

Field Data type description required
key String Fuzzy query Key Y
pageNum int Paging query for current page number, default 1 Y
pageSize int Paging query displays the number of items per page, default 20 Y

3.Response content

3.1.Response example

{
    "code": 200,
    "message": "Operation succeeded",
    "data": {
        "total": 2,
        "size": 1,
        "data": [
            {
                "id": "9F6A9A9100A34EED874BA9D724708A8B",
                "orgId": "F940B79790004404AAC277418FC71C5E",
                "orgName": "云息通信",
                "name": "仓库",
                "icon": 1,
                "strokeColor": "rgba(53, 106, 195, 0.8)",
                "fillColor": "rgba(53, 106, 195, 0.4)",
                "createTime": "2023-02-13 08:02:43",
                "creator": null
            },
            {
                "id": "C52C22B55BA84509B92FD812F184F0C5",
                "orgId": "F940B79790004404AAC277418FC71C5E",
                "orgName": "云息通信",
                "name": "停车场",
                "icon": 2,
                "strokeColor": "rgba(53, 106, 195, 0.8)",
                "fillColor": "rgba(53, 106, 195, 0.4)",
                "createTime": "2023-02-13 08:09:10",
                "creator": null
            }
        ]
    }
}

3.2.Response description

Field Data type description
code int Return code
message String Return message
data object Response data

Response data description

Field Data type description
total String Total number of paged queries
size String How many pages are there for pagination query
data object Result set per page

Per page data description

Field Data type description
id String Unique identification of fence type
orgId String Organizational Unique Identification
orgName String Organizational name
name String Fence type Name
icon int Fence type icon
strokeColor String Border Color
fillColor String fill color
descInfo String describe
createTime String Creation time
作者:admin  创建时间:2023-04-25 11:57
最后编辑:admin  更新时间:2024-12-27 19:48