Update an exist usage summary task
PUT/platform/solutions/api/v1/reports/usage-jobs/{usageJobId}
This API updates an existing usage summary task using the provided usageJobId and new settings.
The task will continue to send usage summary requests according to the updated schedule until the end time. A unique task ID is associated with the task and remains unchanged.
The endTime must be later than the setting date by at least one period.
- Limitations:
usageJobId: The ID of the task to updaterepeatPeriod: Daily, Weekly, or MonthlyendTime: ISO8601 formatYYYY-MM-DDtimeZone: +08:30Job sorting options: ActiveDeviceCount or DataPointCount
200 Response:
- status: Updated Schedule Successfully.
{
status: Updated Schedule Successfully.,
usageJobId: 12e73ed5-4cd5-48df-a5a1-1bbefe8ebcf6
}
500 Response:
{
message: summary report schedule id not found.
}
{
message: end time format error.
}
{
message: period format is wrong, Daily, Weekly or Monthly
}
Request
Responses
- 200
OK