Lists the alert contacts for Number Encyclopedia.
Operation description
Before using this API, ensure that you have activated Number Encyclopedia.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dytns:ListContacts |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BizType |
string |
No |
The business type. Set the value to |
dytns |
| ContactId |
integer |
No |
The contact ID. |
1298647 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47 |
| Code |
string |
The status code. |
OK |
| Message |
string |
The response message. |
OK |
| Data |
array<object> |
An array of contact information objects. |
|
|
object |
The contact information. |
||
| ContactId |
integer |
The contact ID. |
0 |
| ContactName |
string |
The contact name. |
黄勇 |
| ContactPhone |
string |
The contact mobile number. |
19211111111 |
| ContactEmail |
string |
The contact email. |
xxxx @alibaba-inc.com |
| OpentAttributionWarning |
boolean |
Specifies whether the number attribution query warning is enabled.
|
true |
| OpenStatusWarning |
boolean |
Specifies whether the number status warning is enabled.
|
true |
| Main |
integer |
The calling number. |
0 |
| PhoneStatus |
integer |
The number status.
|
1 |
| MailStatus |
integer |
The email status.
|
1 |
Examples
Success response
JSON format
{
"RequestId": "CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47",
"Code": "OK",
"Message": "OK",
"Data": [
{
"ContactId": 0,
"ContactName": "黄勇",
"ContactPhone": "19211111111",
"ContactEmail": "xxxx @alibaba-inc.com",
"OpentAttributionWarning": true,
"OpenStatusWarning": true,
"Main": 0,
"PhoneStatus": 1,
"MailStatus": 1
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | Invalid parameter. | |
| 400 | AuthCodeIllegal | Illegal authCode. | |
| 500 | RequestTimeout | Request supplier timed out. | Request supplier timeout |
| 500 | RequestSupplierError | Request supplier error. | Request supplier error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.