GetDocumentUploadParameters

Updated at:

Retrieves the upload parameters required to import a document.

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

FileName

string

Yes

The file name.

blacklist.xlsx

RequestId

string

No

The request ID.

24BE19E8-BF7D-4992-A35E-15EBA874F2E5

InstanceId

string

Yes

The instance ID.

9cfad875-6260-4a53-ab6e-b13e3fb31f7d

Response elements

Element

Type

Description

Example

object

GetTempAttachmentUploadUrlResponse

Data

object

The data.

AccessKeyId

string

The AccessKey ID used for signing.

****

Policy

string

The signature policy.

Permit

Signature

string

The signature.

zi31STIMtIfa/UN2l+6lww****

FilePath

string

The OSS file path.

ccc-test/blacklist.xlsx

Host

string

oss host

https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com

ExpireTime

integer

The expiration time. The value is a UNIX timestamp in seconds.

1647313420

RequestId

string

The request ID.

9FBA26B0-462B-4D77-B78F-AF35560DBC71

HttpStatusCode

integer

The HTTP status code.

200

Code

string

The response code.

OK

Message

string

The response message.

None

Params

array

The response parameters.

string

The response parameters.

None

Examples

Success response

JSON format

{
  "Data": {
    "AccessKeyId": "****",
    "Policy": "Permit",
    "Signature": "zi31STIMtIfa/UN2l+6lww****",
    "FilePath": "ccc-test/blacklist.xlsx",
    "Host": "https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com",
    "ExpireTime": 1647313420
  },
  "RequestId": "9FBA26B0-462B-4D77-B78F-AF35560DBC71",
  "HttpStatusCode": 200,
  "Code": "OK",
  "Message": "无",
  "Params": [
    "无"
  ]
}

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.