Tip |
---|
Available from CRM.COM R14.0.0 |
Excerpt |
---|
This method adjusts the updates a meter readings reading of an installed itemInstalled Item. A single installed itemInstalled Item's meter reading information 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_identifier parameters are semi-optional | ||||||
meter_reading_setidentifier (applicable on conditionssemi-optional) | Set of Meter Reading ObjectsIdentifier | 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: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
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
fields_set
(optional)
...
List of Strings, comma separated
...
A list of fields that should be included in the results. If not specified then all the available fields will be returned
...
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
|