All Products
Document Center

Make API requests

Last Updated: Jan 10, 2022

To call a Cloud Data Transfer (CDT) API operation, you must send HTTPS GET requests to the endpoint of the CDT API. You must add the request parameters that correspond to the API operation being called. After you call the API operation, the system returns a response. Requests and responses are encoded in UTF-8.

Request syntax

CDT API operations use the RPC protocol. You can call CDT API operations by sending HTTPS requests.

Request syntax:


Parameter descriptions:

Endpoint: the endpoint of the CDT API. Set the value to

·Action: the action that you want to perform. For example, to query the status of CDT for the billing of local data transfers, set the value to GetCdtServiceStatus.

Version: the version of the API to be used. The current CDT API version is 2021-08-13.

Parameters: request parameters that are separated by ampersands (&).

Request parameters include both common request parameters and API operation-specific parameters. Common parameters include the API version and authentication information.

The following example describes how to query the status of CDT for the billing of local data transfers by calling the GetCdtServiceStatus operation: GetCdtServiceStatus
&AccessKeyId= xxxxxxxxxxxxx
&Timestamp= 2021-09-07T09:26:09Z

Note: The preceding code is formatted to improve readability.