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

Add record in vista em fuel batches

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

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

Body Params
integer
required
1 to 255

Key to em/fuel_batches(Co, Mth, BatchId).

date
required
^([0-9]{4})-(1[0-2]|0[1-9])-01$

Key to em/fuel_batches(Co, Mth, BatchId). Format YYYY-MM-01.

integer
required

Key to em/fule_batches(Co, Mth, BatchId).

string
required
length ≤ 10

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.

string
length ≤ 10

Key to em/cost_codes(EMGroup, CostCode). EMGroup is defaulted based on the Co value. Optional. If omitted, will be defaulted based on Vista defaulting logic.

integer

Key to em/cost_types(EMGroup, EMCostType). EMGroup is defaulted based on the Co value. Optional. If omitted, will be defaulted based on Vista defaulting logic.

date
required
^([0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|2[0-9]|1[0-9]|0[1-9])$

Required. Format YYYY-MM-DD.

integer | null

Key to in/locations(INCo, INLocation). Optional. If omitted, will be defaulted based on Vista defaulting logic.

string | null

Key to in/locations(INCo, INLocation).

string
length ≤ 20

Key to hq/materials(MatlGroup, Material). MatlGroup is defaulted based on the CO value. Optional. If omitted, will be defaulted based on Vista defaulting logic.

string | null

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

string | null
^[-+]?[0-9]{1,9}(?:.[0-9]{0,3})?$

Optional. If omitted, will be defaulted based on Vista defaulting logic. Only settable when UM is not LS. Input ignored if UM is provided as LS.

string
^[-+]?[0-9]{1,11}(?:.[0-9]{0,5})?$

Optional. If omitted, will be defaulted based on Vista defaulting logic. Only settable when UM is not LS. Input ignored if UM is provided as LS.

string | null

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

string
length ≤ 20

Key to gl/chart_of_accounts(GLCo, GLTransAcct). GLCo is defaulted based on the Co value. Optional. If omitted, will be defaulted based on Vista defaulting logic.

string | null

Key to gl/chart_of_accounts(OffsetGLCo, GLOffsetAcct). OffsetGLCo is defaulted based on the Co value. Optional. If omitted, will be defaulted based on Vista defaulting logic.

string
^[-+]?[0-9]{1,8}(?:.[0-9]{0,2})?$

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

string
^[-+]?[0-9]{1,8}(?:.[0-9]{0,2})?$

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

__custom_fields
object

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

Headers
string
required

Used to authorize access to the Direct API.

Responses

401

You have not provided a proper X-Application-Key in the header of this request.

403

The X-Application-Key provided is valid but the key does not have access to this resource.

404

The object with the given ID was not found OR a subscriber with the given URL was not found.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json