ListRouteRulesByAssignWhoId
Retrieves the routing rules for a specified assignee.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gemp:ListRouteRulesByAssignWhoId |
get |
*All Resource
|
None | None |
Request syntax
POST /routeRule/listByAssignWhoId HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request parameters for querying routing rules by assignee. |
|
| assignWhoId |
integer |
No |
The ID of the assignee, which can be a service group ID or a user ID. |
1000 |
| assignWhoType |
integer |
No |
The object type of the assignee. Valid values:
|
0 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| requestId |
string |
The request ID. |
FD200FAE-E98F-496E-BFE6-4CE61E59A2E9 |
| data |
array<object> |
The list of routing rules associated with the specified assignee. |
|
|
object |
|||
| ruleName |
string |
The name of the routing rule. |
Rule 1 |
| id |
integer |
The ID of the routing rule. |
164769572 |
| tenantRamId |
integer |
The ID of the tenant's Alibaba Cloud account. |
1344383 |
Examples
Success response
JSON format
{
"requestId": "FD200FAE-E98F-496E-BFE6-4CE61E59A2E9",
"data": [
{
"ruleName": "规则1",
"id": 164769572,
"tenantRamId": 1344383
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.