ExportDoNotCallNumbers

Updated at:

Exports the list of do-not-call numbers filtered by the specified search conditions for a specified instance.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

The instance ID.

ccc-test

SearchPattern

string

No

Specifies the keyword to perform a fuzzy match based on the phone number or remark. This parameter is optional. Default value: empty. An empty value indicates that no filtering is applied.

RemarkA

Scope

string

No

The application scope. Valid values: SYSTEM and INSTANCE. SYSTEM indicates system-level do-not-call, and INSTANCE indicates customer-defined do-not-call. SYSTEM is associated with the Alibaba Cloud account to which the instance belongs, and INSTANCE is associated only with the current instance. This parameter is optional. Default value: INSTANCE.

Valid values:

  • SYSTEM :

    System-level do-not-call configuration.

  • INSTANCE :

    Instance-level do-not-call configuration.

INSTANCE

Response elements

Element

Type

Description

Example

object

HttpStatusCode

integer

The HTTP status code.

200

Code

string

The response code.

OK

Message

string

The response message.

None

Data

string

The data, which is the OSS download URL for the export result. The URL 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 list of error parameters.

["ParameterName"]

string

The response parameter.

None

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. The parameter cannot be null or a string that contains whitespace characters.
400 Parameter.Enumeration The parameter %s must be one of the value of enumeration %s. The parameter must be one of the enumeration values defined by the system.
400 Parameter.Empty The parameter %s may not be null or empty. The parameter cannot be null or an empty string.
404 NotExists.InstanceId The specified instance %s does not exist. The specified call center instance does not exist.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.