v1

latestOpenAPI 3.0.12026-07-267912192.3 MB
Equipment Depreciation

Executes the Change action for the Equipment Depreciation data object.

Updates an existing Equipment Depreciation record.

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

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

Asset's residual or salvage value.

SalePricestring nullable

Sale price of the asset if disposed.

AccumDeprAcctstring nullable

Accumulated Depreciation Account.

DeprExpAcctstring nullable

Depreciation Expense Account.

DeprAssetAcctstring nullable

Depreciable Asset Account.

UniqueAttchIDstring nullable

Unique Identifier for attachments.

GLCointeger

General Ledger Company.

Notesstring nullable

Asset notes.

UseResidualValstring

Flag to indicate if residual value is used.

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 this object in Vista.

Response

Success

idstring
operationstring
statusstring