Create idle periods for meter

Time Status User Agent
Make a request to see history.

URL Expired

The URL for this request expired after 30 days.


Request Parameters

meter_id
string
required
The unique identifier of the meter.

idle_periods
array of objects
required
A list of idle periods to be created.


Response

200

Idle periods are created successfully.

idle_periods
array of objects
required
The list of created idle periods.


idle_periods
object
The list of created idle periods for meter.


Error Codes

400

401

You are not authorized to perform this operation.

403

You do not have the necessary permissions for this operation.

404

Meter with the given uuid is not found.

422


Example Request

curl --request POST \
     --url https://api.staging.leap.energy/v1.1/enrollment/meters//idle_periods \
     --header 'accept: application/json' \
     --header 'content-type: application/json'

Example Response

{
  "idle_periods": [
    {
      "end_date": "2000-01-23",
      "reason": "reason",
      "start_date": "2000-01-23"
    },
    {
      "end_date": "2000-01-23",
      "reason": "reason",
      "start_date": "2000-01-23"
    }
  ]
}