Executes the Add action for the Equipment Depreciation data object.

Adds a Equipment Depreciation record.

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

Schema for creating a new record in the dbo.EMDP fixed asset/equipment depreciation table. System-generated fields (like KeyID) are omitted or optional.

integer
required

Equipment Management Company.

string
required
length ≤ 10

Equipment ID (FK, bEquip, varchar(10), not null).

string
required
length ≤ 20

Asset ID (varchar(20), not null).

string | null

Asset Description (bItemDesc, varchar(60), null).

string
length ≤ 1

Depreciation Method (char(1), not null).

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

Double-Declining Balance Factor (bRate, numeric(8,6), null).

string | null

Month depreciation started (bMonth, smalldatetime, null).

integer | null

Number of Months to Depreciate (smallint, null).

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

Total amount to be depreciated (bDollar, numeric(12,2), not null).

string | null

Month asset was disposed (bMonth, smalldatetime, null). Should be null on add.

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

Original purchase price (bDollar, numeric(12,2), not null).

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

Asset's residual or salvage value (bDollar, numeric(12,2), null).

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

Sale price of the asset if disposed (bDollar, numeric(12,2), null). Should be null on add.

string | null

Accumulated Depreciation Account (FK, bGLAcct, char(20), null).

string | null

Depreciation Expense Account (FK, bGLAcct, char(20), null).

string | null

Depreciable Asset Account (FK, bGLAcct, char(20), null).

string | null
[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}

Unique Identifier for attachments (uniqueidentifier, null).

integer

General Ledger Company (FK, bCompany, tinyint, not null).

string | null

Asset notes (varchar(max), null).

string
length ≤ 1

Flag to indicate if residual value is used (char(1), not null).

string | null

Date Depreciation Started (bDate, smalldatetime, null).

string | null

Date asset was disposed (bDate, smalldatetime, null). Should be null on add.

__custom_fields
object

Custom fields defined for this object in Vista.

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