Get group information
Gets a list of groups bind with users, paginated ,only support admin user call,general user referGet user group information
Request parameter
field | type | required | desc |
---|---|---|---|
userGuid | integer | no | User ID. Only when you log in as the super administrator, the user needs to query the information about the specified management user |
Response data (type:array(object))
field | type | desc |
---|---|---|
orgGuid | integer | Group ID |
orgName | string | Group name |
sortID | integer | Sort the ID, the smaller it is, the higher it is |
parentGuid | integer | Parent group ID |
Example
Request example
url
http://localhost:8080/basic_api/v1/org/get_user_org?userGuid=1
http://localhost:8080/basic_api/v1/org/get_user_org?userGuid=1
Response example
json
{
"hdr": {
"code": 200,
"message": "success"
},
"data": [{
"orgGuid": 1,
"orgName": "Test",
"sortID": 1,
"parentGuid": 0
}]
}
{
"hdr": {
"code": 200,
"message": "success"
},
"data": [{
"orgGuid": 1,
"orgName": "Test",
"sortID": 1,
"parentGuid": 0
}]
}