Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Tip

Available from CRM.COM R14.0.0

Excerpt

This method updates the a meter readings reading of an installed item. Multiple installed itemInstalled Item. A single Installed Item's meter readings are reading is updated by each call. Applicable only for Installed Items that their Meter Reading Type is classified as ONETIME

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 resultInstalled Item that a meter reading will be updated. The allowed installed item identifier fields are the following:

Include Page
V4:installed_item_identifier
V4:installed_item_identifier

meter_reading_setidentifier

(optionalmandatory)

Set of Meter Reading ObjectsIdentifier

The meter readings that were documented for the related installed item

If no records are specified in the set then nothing will be updated. To add a record use "action" : "add", to update a record use "action": "update" and to remove a record use "action" : "remove".

Different actions can be used within the same set. For example:

Code Block
themeConfluence
languagejavascript
linenumberstrue
"set": [
			{
            	"action": "remove",
            	...........
			},
			{
            	"action": "add",
            	...........
			},
			{
            	"action": "update",
            	...........
			}
		]

...

Restrictions

...

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

Include Page
meter_reading_identifier
meter_reading_identifier

meter_reading_value

(mandatory)

NumberThe meter reading value that was documented

from_date

(optional)

Date

The starting date of the period related with the meter reading

If not specified, then this parameter will be set as the To date of the previous entry (if any) - otherwise will be set as the current date

to_date

(optional)

DateThe ending date of the period related with the meter reading

Response Data

Include Page
V4:installed_item_meter_reading_short
V4:installed_item_meter_reading_short

...