POST installed_items/meter_reading/remove

Available from CRM.COM R14.0.0

This method removes the latest meter reading of an installed item

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

installed_item_identifier

(mandatory)

Identifier  

The identifier of the installed item that should be returned as a result. The allowed installed item identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the installed item

serial_number

(semi-optional)

String

The serial number of the installed item

alternative_code

(semi-optional)

String

The alternative code of  a installed item

Deprecated from CRM.COM R15.0.0

meter_reading_identifier

(mandatory)

Meter Reading Identifier

The identifier of the meter reading to be removed. The allowed meter reading identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the meter reading

The specified meter reading will be removed only if the respective UDR is cancelled

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified

Response Data

N/A

Examples

 Example 1

HTTP Method: POST

 

Request

Body

 {
    "token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3IiOiJNUEFkbWluaXN0cmF0b3IiLCJvcmciOiJwc19kZXYiLCJvdW4iOiIxIiwiZXhwIjoiMTUwODg1NDU1NSIsImlhdCI6IjE1MDg4NDczNTUiLCJqdGkiOiI2NTlCQTE2MTNEMzY0OUI3ODBBOUJENEIwQzIwMDA2OSJ9.i7632RZEY9eI-iQLLOh5NRorLx4xzqXh6zblZlasbHs",
"meter_reading_identifier":{"id":"65302E42D9EF4D82A543BAF9004DFD49"}
}


Response

    {
        "data":
        {
        },
        "status":
        {
            "code": "OK",
            "description": "",
            "message": ""
        }
    }