Updates one or more operations reports.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | UpdateCdnSubTask |
The operation that you want to perform. Set the value to UpdateCdnSubTask. |
ReportIds | String | No | 1,2,3 |
The IDs of operations reports that you want to update. Separate IDs with commas (,). |
DomainName | String | No | www.example.com |
The domain names that you want to track. You can specify multiple domain names and separate them with commas (,). You can specify at most 500 domain names in each call. If you do not specify a domain name, the task collects data from all domain names that belong to your Alibaba Cloud account. |
StartTime | String | No | 2020-09-17T00:00:00Z |
The start time of the operations report. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC+0. |
EndTime | String | No | 2020-11-17T00:00:00Z |
The end time of the operations report. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC+0. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 04F0F334-1335-436C-A1D7-6C044FE73368 |
The ID of the request. |
Examples
Sample requests
http://cdn.aliyuncs.com?Action=UpdateCdnSubTask
&ReportIds=1,2,3
&DomainName=www.example.com
&StartTime=2020-09-17T00:00:00Z
&EndTime=2020-11-17T00:00:00Z
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<UpdateCdnSubTaskResponse>
<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
</UpdateCdnSubTaskResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "04F0F334-1335-436C-A1D7-6C044FE73368"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
400 | InvalidParameter | The specified parameter is invalid. | The error message returned because one or more parameters are invalid. |
400 | TimeParseFailed | Failed to parse the time parameter. | The error message returned because the time parameter failed to be parsed. |
400 | SubscriptionAlreadyExists | The subscription already exists. | The error message returned because the tracking task already exists. |
400 | SubscriptionNotFound | The subscription is not found. | The error message returned because the tracking task does not exist. |
400 | NameAlreadyExists | The name already exists. | The error message returned because the name of the tracking task already exists. |
400 | DeliverExceedLimit | The maximum number of subscribed tasks is exceeded. | The error message returned because the maximum number of tracking tasks has been reached. |
For a list of error codes, visit the API Error Center.