Lists phone number resources of a user.
Operation description
This operation allows you to query user phone number resources by specifying the number of records per page (PageSize) and the current page number (PageNumber). The response includes phone numbers and their corresponding statuses.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:ListAIAgentPhoneNumber |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageSize |
integer |
No |
The number of entries per page. Default value: 50. Maximum value: 100. |
50 |
| PageNumber |
integer |
No |
The page number. Default value: 1. |
1 |
| Number |
string |
No |
The phone number. Specify this parameter to directly query the corresponding number. |
139xxxxxxxxx |
| Status |
integer |
No |
The status of the target phone number. Valid values:
|
2 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| Data |
array<object> |
The returned data array. |
|
|
object |
The returned data. |
||
| PhoneNumber |
string |
The phone number. |
132*****683 |
| Status |
integer |
The phone number status. Valid values:
|
1 |
| RequestId |
string |
The request ID. |
************16-412C-B127-****** |
| TotalNumber |
integer |
The total number of phone numbers returned. |
186 |
| PageNumber |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries returned per page. |
10 |
Examples
Success response
JSON format
{
"Data": [
{
"PhoneNumber": "132*****683",
"Status": 1
}
],
"RequestId": "************16-412C-B127-******",
"TotalNumber": 186,
"PageNumber": 1,
"PageSize": 10
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.