GetCaseFileUploadUrl

Updated at:

Retrieves the OSS upload parameters for the predictive dialing list file of a specified instance. When creating a predictive dialing campaign by importing a file, you must call this operation to obtain the file upload parameters before calling the CreateCampaign operation.

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

FileName

string

Yes

The name of the contact list file for the predictive dialing campaign. The file name must contain only uppercase and lowercase English letters, and the file must be in CSV format.

case.csv

Response elements

Element

Type

Description

Example

object

Code

string

The response code.

OK

Data

object

The data.

CaseFileKey

string

The key of the OSS object.

ccc-test/namelist.csv

Url

string

The pre-signed OSS URL used to upload the file. The URL is valid for one hour.

https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com/ccc-test/namelist.csv?Expires=1642067227&OSSAccessKeyId=****&Signature=****

HttpStatusCode

integer

The HTTP status code.

200

Message

string

The response message.

None

RequestId

string

The request ID.

BA03159C-E808-4FF1-B27E-A61B6E888D7F

Examples

Success response

JSON format

{
  "Code": "OK",
  "Data": {
    "CaseFileKey": "ccc-test/namelist.csv",
    "Url": "https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com/ccc-test/namelist.csv?Expires=1642067227&OSSAccessKeyId=****&Signature=****"
  },
  "HttpStatusCode": 200,
  "Message": "None",
  "RequestId": "BA03159C-E808-4FF1-B27E-A61B6E888D7F"
}

Error codes

HTTP status code

Error code

Error message

Description

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.