GetContactWhiteList
Retrieves the global outbound call policy whitelist.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
outboundbot:GetContactWhiteList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
The page number. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
10 |
| CountTotalRow |
boolean |
No |
Specifies whether to return the total number of entries. |
true |
| InstanceId |
string |
Yes |
The instance ID. |
2a830781-324e-4568-ae96-309f93090fe1 |
|
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Code |
string |
The API status code. |
OK |
| Message |
string |
The API response message. |
Success |
| RequestId |
string |
The request ID. |
254EB995-DEDF-48A4-9101-9CA5B72FFBCC |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| ContactWhitelistList |
object |
The contact list. |
{} |
| PageSize |
integer |
The number of entries per page. |
10 |
| PageNumber |
integer |
The page number. |
1 |
| TotalCount |
integer |
The total number of entries. |
100 |
| List |
array<object> |
The contact list. |
{} |
|
object |
|||
| CreationTime |
integer |
Creation time |
1640174411848 |
| Remark |
string |
Remarks |
xxxx |
| PhoneNumber |
string |
Mobile phone number |
13959999999 |
| Operator |
string |
Operator |
xxx |
| ContactWhiteListId |
string |
Whitelist ID |
254EB995-DEDF-48A4-9101-9CA5B72FFBCC |
| InstanceId |
string |
Instance ID |
254EB995-DEDF-48A4-9101-9CA5B72FFBCC |
| Name |
string |
Name |
张三 |
| Creator |
string |
Creator |
测试123 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"Code": "OK",
"Message": "Success",
"RequestId": "254EB995-DEDF-48A4-9101-9CA5B72FFBCC",
"Success": true,
"ContactWhitelistList": {
"PageSize": 10,
"PageNumber": 1,
"TotalCount": 100,
"List": [
{
"CreationTime": 1640174411848,
"Remark": "xxxx",
"PhoneNumber": "13959999999",
"Operator": "xxx",
"ContactWhiteListId": "254EB995-DEDF-48A4-9101-9CA5B72FFBCC",
"InstanceId": "254EB995-DEDF-48A4-9101-9CA5B72FFBCC",
"Name": "张三",
"Creator": "测试123"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.