1.URL
http://124.223.60.234:8080/system/asset/organization/queryLoginUserOrganizationList
or Server in US
https://cloud.aovx.com/prod/system/asset/organization/queryLoginUserOrganizationList
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 for organization name | 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": "199D9E6F70114AD3A36ACA6A9742B66D",
"fatherId": "F940B79790004404AAC277418FC71C5E",
"orgName": "国内客户",
"fatherName": "云息通信",
"abbrName": "china",
"contacts": "Mr.lee",
"phoneNum": "13400000001",
"email": "790512672@qq.com",
"licenseUrl": null,
"country": "china",
"address": "阿拉善",
"timeDiff": 28800,
"status": 1,
"descInfo": "云息通信国内客户",
"createTime": "2023-01-07 00:00:00",
"creatorId": null,
"creator": null
},
{
"id": "8F2744CF926044CF8E5B44D2BF7D0BF0",
"fatherId": "199D9E6F70114AD3A36ACA6A9742B66D",
"orgName": "亿元通讯",
"fatherName": "国内客户",
"abbrName": "yytx",
"contacts": "Mr.lee",
"phoneNum": "13400000001",
"email": "790512672@qq.com",
"licenseUrl": null,
"country": "china",
"address": "阿拉善",
"timeDiff": 28800,
"status": 1,
"descInfo": "云息通信国内客户",
"createTime": "2023-01-07 00:00:00",
"creatorId": null,
"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 | Organizational Unique Identification |
fatherId | String | Unique identifier of the superior organization |
orgName | String | Organization Name |
fatherName | String | Name of superior organization |
abbrName | String | Organizational Abbreviation Name |
contacts | String | Organizational Contact |
phoneNum | String | Organization Contact Number |
String | Organization contact email | |
licenseUrl | String | Certificate file URL, supports uploading multiple files, stores them in a list and converts them into JSON strings |
country | String | Organization Country |
address | String | Organizational mailing address |
timeDiff | String | Time difference in the country where the organization is located |
status | String | Organizational status (0: Disabled; 1: Enabled) |
descInfo | String | Organizational Description |
createTime | String | Organization registration time |
creatorId | String | Unique identification of the organization’s registered account |
creator | String | Organization registrant |
4.Request example for postman
作者:admin 创建时间:2023-04-25 09:32
最后编辑:admin 更新时间:2024-12-27 19:48
最后编辑:admin 更新时间:2024-12-27 19:48