The ExportDoNotCallNumbers operation exports a filtered list of do-not-call numbers from a specified instance.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. |
ccc-test |
| SearchPattern |
string |
No |
The keyword for a fuzzy search of phone numbers or remarks. If this parameter is left empty, no keyword-based filtering is applied. |
RemarkA |
| Scope |
string |
No |
Specifies the scope of the do-not-call numbers. A value of SYSTEM applies to your entire Alibaba Cloud account, while INSTANCE applies only to the current instance. The default value is INSTANCE. Valid values:
|
INSTANCE |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Code |
string |
The response code. |
OK |
| Message |
string |
The response message. |
无 |
| Data |
string |
The OSS download link for the exported file. The link is valid for 24 hours. |
https://****.oss-cn-shanghai.aliyuncs.com/ccc-test/blacklist.xlsx?Expires=3294624578&OSSAccessKeyId=****&Signature=**** |
| RequestId |
string |
The request ID. |
BA03159C-E808-4FF1-B27E-A61B6E888D7F |
| Params |
array |
The response parameters. |
|
|
string |
A response parameter. |
无 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"Code": "OK",
"Message": "无",
"Data": "https://****.oss-cn-shanghai.aliyuncs.com/ccc-test/blacklist.xlsx?Expires=3294624578&OSSAccessKeyId=****&Signature=****",
"RequestId": "BA03159C-E808-4FF1-B27E-A61B6E888D7F",
"Params": [
"无"
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Parameter.Blank | The parameter %s must not be null or empty. | |
| 400 | Parameter.Enumeration | The parameter %s must be one of the value of enumeration %s. | |
| 400 | Parameter.Empty | The parameter %s may not be null or empty. | |
| 404 | NotExists.InstanceId | The specified instance %s does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.