v1

latestOpenAPI 3.0.12026-07-267912192.3 MB
Meter Batch Entries

Executes the Add action for the Meter Batch Entries data object.

Adds a new EMMeter batch entry

post/direct/subscribers/{subscriber_code}/vista/em/2/data/meter_batch_entries/actions/add

Path parameters

subscriber_codestring required

The code of the subscriber that you are making this request for.

Headers

X-Application-Keystring required

Used to authorize access to the Direct API.

Request body

Cointeger required
Mthstring date required

Format: YYYY-MM-01.

BatchIdinteger required
MeterReadDatestring date required

Format: YYYY-MM-DD.

ActualDatestring date nullable

Format: YYYY-MM-DD. Optional. If omitted, current date will be used.

Equipmentstring required

Key to em/equipment(EMGroup, Equipment). EMGroup is defaulted based on the Co value. Each equipment can only be included once in all open batches.

CurrentHourMeterstring

Optional. If omitted, will be defaulted based on Vista defaulting logic.

CurrentOdometerstring

Optional. If omitted, will be defaulted based on Vista defaulting logic.

__custom_fieldsobject

This property will be added if there are any custom fields defined for this object in Vista. Each custom field will be a property of this object.

Response

Success

idstring
operationstring
statusstring