Exports the metering data within a specific time range.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:ExportMeasurementData |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| StartDate |
string |
Yes |
The beginning of the time range to query. Specify the time in the yyyy-mm-ddthh:mm:ssz format. The time must be in UTC. |
2019-06-01T00:00:00Z |
| EndDate |
string |
Yes |
The end of the time range to query. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. |
2021-10-30T16:00:00Z |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| FilePath |
string |
The download path of the exported file. |
http://test-oss.com/image_01.jpeg |
| RequestId |
string |
The ID of the request. |
C0003E8B-B930-4F59-ADC0-0E209A9012A8 |
Examples
Success response
JSON format
{
"FilePath": "http://test-oss.com/image_01.jpeg",
"RequestId": "C0003E8B-B930-4F59-ADC0-0E209A9012A8"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter | The input parameters that is mandatory for processing this request is not supplied. | |
| 400 | InstanceNotExists | The user have no instances. | |
| 400 | CallInterface | Call Interface Happen Error. | An error occurred when you call the operation. |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.