v1

latestOpenAPI 3.0.12026-07-267912192.3 MB
Fuel Batch Entries

Executes the Change action for the Fuel Batch Entries data object.

Change record in vista em fuel batches

post/direct/subscribers/{subscriber_code}/vista/em/2/data/fuel_batch_entries/actions/change

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

Equipmentstring

Optional. 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.

CostCodestring

Optional. Key to em/cost_codes(EMGroup, CostCode). EMGroup is defaulted based on the Co value.

EMCostTypeinteger

Optional. Key to em/cost_types(EMGroup, EMCostType). EMGroup is defaulted based on the Co value.

ActualDatestring date

Optional. Format YYYY-MM-DD.

INCointeger nullable

Optional. Key to in/locations(INCo, INLocation).

INLocationstring nullable

Optional. Key to in/locations(INCo, INLocation).

Materialstring

Optional. Key to hq/materials(MatlGroup, Material). MatlGroup is defaulted based on the CO value.

UMstring nullable

Optional.

Unitsstring nullable

Optional. Only settable when UM is not LS. Input ignored if UM is provided as LS or UM is already LS.

UnitPricestring

Optional. Only settable when UM is not LS. Input ignored if UM is provided as LS or UM is already LS.

TaxCodestring nullable

Optional.

GLTransAcctstring

Optional. Key to gl/chart_of_accounts(GLCo, GLTransAcct). GLCo is defaulted based on the Co value.

GLOffsetAcctstring nullable

Optional. Key to gl/chart_of_accounts(OffsetGLCo, GLOffsetAcct). OffsetGLCo is defaulted based on the Co value.

CurrentOdometerstring

Optional.

CurrentHourMeterstring

Optional.

__custom_fieldsobject

Optional. Add a property for each user defined values that should be set on the misc distribution as part of this action.

Response

Success

idstring
operationstring
statusstring