POST api/rsm/rights/RetrieveRsmRightsData
获取指定对象的权限数据
Request Information
URI Parameters
None.
Body Parameters
获取权限参数
RetrieveRsmRightsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| GainerID |
被授权对象(部门或权限组depid或用户账号userid) |
string |
None. |
| resid |
资源编号数组 |
Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"GainerID": "sample string 1",
"resid": [
1,
2
]
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
result| Name | Description | Type | Additional information |
|---|---|---|---|
| error |
错误代码 |
integer |
None. |
| message |
错误信息 |
string |
None. |
| data |
数据 |
Object |
None. |
| stacktrace |
详细错误信息 |
string |
None. |
| otherdata |
其他返回数据 |
Object |
None. |
| LastError | string |
None. |
|
| IsComplete | boolean |
None. |
|
| total | integer |
None. |
|
| index | integer |
None. |
|
| IsTerminate | boolean |
None. |
|
| taskgroupid | integer |
None. |
|
| taskid | integer |
None. |
|
| msg | string |
None. |
|
| status | integer |
None. |
|
| serverTime | date |
None. |
|
| lockdata | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"error": 1,
"message": "sample string 2",
"data": {},
"stacktrace": "sample string 4",
"otherdata": {},
"LastError": "sample string 6",
"IsComplete": true,
"total": 8,
"index": 9,
"IsTerminate": true,
"taskgroupid": 11,
"taskid": 12,
"msg": "sample string 13",
"status": 14,
"serverTime": "2025-12-16T08:31:42.7890937+08:00",
"lockdata": {}
}