Update partner reference for multiple meters

Time Status User Agent
Make a request to see history.

URL Expired

The URL for this request expired after 30 days.

update_partner_custom_meter_ref

array of objects

required

The uuids of the meters to be updated

update_partner_custom_meter_ref* ADD object

content-type

string

enum

Defaults to application/json

Generated from available request content types

application/jsontext/csv

Allowed:

application/json``text/csv

``200 Partner references have been updated successfully.

object

update_partner_custom_meter_ref

array of objects

required

A list uuids for the updated meters

update_partner_custom_meter_ref*

object

A list uuids for the updated meters

meter_id

uuid

required

The uuid of a meter be updated.

partner_custom_meter_ref

string

required

The Reference to be used for the meter

``401 You are not authorized to perform this operation.

``403 You do not have the necessary permissions for this operation.

``404 One or more meters could not be found.

``422 Supplied meter ids are not unique

Base URL

https://api.staging.leap.energy/v1.1/meters/partner_meter_ref


xxxxxxxxxx

curl --request PATCH \

--url https://api.staging.leap.energy/v1.1/meters/partner_meter_ref \

--header 'accept: application/json' \

--header 'content-type: application/json'

xxxxxxxxxx

{

"update_partner_custom_meter_ref": [\
\
    {\
\
      "meter_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",\
\
      "partner_custom_meter_ref": "partner_custom_meter_ref"\
\
    },\
\
    {\
\
      "meter_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",\
\
      "partner_custom_meter_ref": "partner_custom_meter_ref"\
\
    }\
\
  ]

}