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 adjusts updates the meter readings of an installed item. Multiple installed item's meter readings are updated by each call

Resource URL

Parameters

A list of fields that should be included in the results. If not specified then all the available fields will be returned

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:

Include Page
V4:installed_item_identifier
V4:installed_item_identifier

meter_reading_set

(applicable on conditions)

Set of Meter Reading Objects

The meter readings that were documented for the related installed item

Applicable only for installed items that are not in a warehouse

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",
            	...........
			}
		]

fields_set

(optional)

List of Strings, comma separated 

Anchor
installed_items_meter_readings referred objects
installed_items_meter_readings referred objects
Referred Parameter Objects Data

Include Page
V4:meter_reading_updating_parameters
V4:meter_reading_updating_parameters

Restrictions

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

Response Data

Include Page
V4:installed_item_meter_reading_short
V4:installed_item_meter_reading_short

Examples

Expand
titleExample 1

HTTP Method: POST

 

Request

Body

Code Block
themeConfluence
languagejavascript
linenumberstrue
 


Response

Code Block
themeConfluence
languagejavascript
linenumberstrue