v1

latestOpenAPI 3.0.12026-07-267912192.3 MB
Cost Details

Gets one Cost Details object from the cache.

Represents data found in Vista™ EM Cost

get/direct/subscribers/{subscriber_code}/vista/em/2/data/cost_details/cache/{ryvitId_value}

Path parameters

subscriber_codestring required

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

ryvitId_valuestring required

The code of the data object you want to get.

Headers

X-Application-Keystring required

Used to authorize access to the Direct API.

Response

Success

__ryvitKeysstring[]

Array of key paths that can be used to retrieve this object.

__modifiedUTCstring

UTC timestamp of when this object was last modified in the cache.

EMCointeger required
Mthstring required

Format: YYYY-MM-01.

EMTransinteger required
BatchIdinteger nullable
EMGroupinteger required
Equipmentstring required
Componentstring nullable
ComponentTypeCodestring nullable
Assetstring nullable
WorkOrderstring nullable
WOIteminteger nullable
CostCodestring required
EMCostTypeinteger required
PostedDatestring required

Format: YYYY-MM-DD

ActualDatestring required

Format: YYYY-MM-DD

Sourcestring nullable
EMTransTypestring nullable
Descriptionstring nullable
InUseBatchIDinteger nullable
GLCointeger nullable
GLTransAcctstring nullable
GLOffsetAcctstring nullable
ReversalStatusinteger nullable
PRCointeger nullable
PREmployeeinteger nullable
APCointeger nullable
APTransinteger nullable
APLineinteger nullable
VendorGrpinteger nullable
APVendorinteger nullable
APRefstring nullable
MatlGroupinteger nullable
INCointeger nullable
INLocationstring nullable
Materialstring nullable
INStkUMstring nullable
INStkUnitCoststring required
INStkECMstring nullable
SerialNostring nullable
UMstring nullable
Unitsstring required
Dollarsstring required
UnitPricestring required
PerECMstring nullable
TotalCoststring nullable
AllocCodeinteger nullable
TaxTypeinteger nullable
TaxCodestring nullable
TaxGroupinteger nullable
TaxBasisstring nullable
TaxRatestring nullable
TaxAmountstring nullable
CurrentHourMeterstring required
CurrentTotalHourMeterstring required
CurrentOdometerstring required
CurrentTotalOdometerstring required
POstring nullable
POIteminteger nullable
MeterTransinteger nullable
UniqueAttchIDstring nullable
KeyIDinteger required
POItemLineinteger nullable
MeterReadingIdinteger nullable
PurgeYN'Y' | 'N' | 'null' nullable
__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.

Example response

{
  "__modifiedUTC": "2020-01-01T13:01:01.1234567Z"
}