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 (mandatorysemi-optional) | 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:
Note: installed_item_identifier and meter_reading_ | setidentifier parameters are semi-optional | ||||||
meter_reading_identifier (semi-optional) | Set of Meter Reading Objects | 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:Meter Reading Identifier | The identifier of the meter reading. The allowed meter reading identifier fields are the following:
Note: installed_item_identifier and meter_reading_identifier parameters are semi-optional | ||||||
meter_reading_value (semi-optional) | Number | The meter reading value that was documented. Note: meter_reading_value, from_date and to_date parameters are semi-optional | |||||||
from_date (semi-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 Note: meter_reading_value, from_date and to_date parameters are semi-optional | |||||||
to_date (semi-optional) | Date | The ending date of the period related with the meter reading Note: meter_reading_value, from_date and to_date parameters are semi-optional |
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 | ||||
---|---|---|---|---|
|
Examples
Expand | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||
HTTP Method: POST
Request Body
Response
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
...
Examples
Expand | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||
HTTP Method: POST
Request Body
Response
|