Request

HTTP request

POST /v2/accounts/{accountId}/chunked_uploads

Parameters

Parameter name Value Description
Path parameters
accountId string

The external account number (int) or account ID Guid.

Request Body

Responses

Code Description Reference
201 Created Successful response.
400 Bad Request Error encountered.

SDK Method

Envelopes::createChunkedUpload

Definitions Expand All | Collapse All

ChunkedUploads

Chunked Uploads resource

checksum string
chunkedUploadId string
chunkedUploadParts
[chunkedUploadPart]
chunkedUploadUri string
committed string
expirationDateTime string
maxChunkedUploadParts string
maxTotalSize string
totalSize string

chunkedUploadPart

sequence string
size string

Reserved: TBD

chunkedUploadRequest

chunkedUploadId string
data string

errorDetails

This object describes errors that occur. It is only valid for responses, and ignored in requests.

errorCode string

An error code associated with the error.

message string

A short error message.

Examples

Generic JSON Request/Response

Request

{
"chunkedUploadId": "sample string 1",
"data": "sample string 2"
}

Response

{
"chunkedUploadId": "sample string 1",
"chunkedUploadUri": "sample string 2",
"expirationDateTime": "sample string 3",
"checksum": "sample string 4",
"committed": "sample string 5",
"chunkedUploadParts": [
{
"sequence": "sample string 1",
"size": "sample string 2"
}
]
,
"totalSize": "sample string 6",
"maxChunkedUploadParts": "sample string 7",
"maxTotalSize": "sample string 8"
}

Generic XML Request/Response

Request

<chunkedUploadRequest 
xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.docusign.com/restapi">

<chunkedUploadId>sample string 1</chunkedUploadId>
<data>sample string 2</data>
</chunkedUploadRequest>

Response

<chunkedUploadResponse 
xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.docusign.com/restapi">

<checksum>sample string 4</checksum>
<chunkedUploadId>sample string 1</chunkedUploadId>
<chunkedUploadParts>
<chunkedUploadPart>
<sequence>sample string 1</sequence>
<size>sample string 2</size>
</chunkedUploadPart>
</chunkedUploadParts>
<chunkedUploadUri>sample string 2</chunkedUploadUri>
<committed>sample string 5</committed>
<expirationDateTime>sample string 3</expirationDateTime>
<maxChunkedUploadParts>sample string 7</maxChunkedUploadParts>
<maxTotalSize>sample string 8</maxTotalSize>
<totalSize>sample string 6</totalSize>
</chunkedUploadResponse>