v1

latestOpenAPI 3.0.12026-07-267912192.3 MB
Assets

Gets one Assets object from the cache.

Expose EM Asset Setup data (EMDP asset header and EMDS depreciation schedules) through the Vista EM cache writer so integrations can sync equipment asset master and depreciation setup.

Vista views: EMDP, EMDS; tables: BEMDP, BEMDS

get/direct/subscribers/{subscriber_code}/vista/em/2/data/assets/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

Equipment Management company. Natural key component.

Equipmentstring required

Equipment ID. Natural key component. Key to em/equipment(EMCo, Equipment).

Assetstring required

Asset ID. Natural key component.

Descriptionstring nullable

Asset description.

DeprMethodstring

Depreciation method.

DBFactorstring nullable

Double-declining balance factor.

FirstMonthstring nullable

Month depreciation started. Format: YYYY-MM-01.

NoMonthsToDeprinteger nullable

Number of months to depreciate.

TtlToDeprstring

Total amount to be depreciated.

MonthDisposedstring nullable

Month asset was disposed. Format: YYYY-MM-01.

PurchasePricestring nullable

Original purchase price.

ResidualValuestring nullable

Residual or salvage value.

SalePricestring nullable

Sale price if disposed.

AccumDeprAcctstring nullable

Accumulated depreciation GL account.

DeprExpAcctstring nullable

Depreciation expense GL account.

DeprAssetAcctstring nullable

Depreciable asset GL account.

UniqueAttchIDstring nullable

Unique attachment identifier.

GLCointeger

General ledger company.

Notesstring nullable

Asset notes.

UseResidualValstring

Flag indicating whether residual value is used.

KeyIDinteger required

Surrogate record identifier (EMDP KeyID).

DeprStartDatestring nullable

Date depreciation started. Format: YYYY-MM-DD.

DateDisposedstring nullable

Date asset was disposed. Format: YYYY-MM-DD.

__custom_fieldsobject

Custom fields defined for EMDP in Vista.

Example response

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