Create a new usage summary task
POST/api/v1/reports/usage-jobs
This task will automatically send a usage summary request for each specified period until the end time. A unique task usageJobId will be generated when the task is created.
You can use the search API to retrieve the task usageJobId and then use the usageJobId to download the report.
The endTime must be later than setting date at least one period.
Limitations
- repeatPeriod: Daily, Weekly, or Monthly
- endTime: ISO8601 format YYYY-MM-DD
- timeZone: +08:30
- jobs: ActiveDeviceCount or DataPointCount { message: end time format error. }
Request
Responses
- 201
- 400
- 500
Created
Bad Request
Internal Server Error