Executes the Add action for the Equipment data object.

Adds a new equipment 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
integer
required
1 to 255

Key to em/equipment(EMCo, Equipment).

string
required
length ≤ 10

Key to em/equipment(EMCo, Equipment).

string
length ≤ 1

Options: E-Equipment, C-Component. Optional. If omitted, E will be defaulted.

string | null

Optional. If omitted, null will be defaulted.

string | null

Optional. If omitted, null will be defaulted.

string | null

Optional. If omitted, null will be defaulted.

string | null

Optional. If omitted, null will be defaulted.

string | null

Optional. If omitted, null will be defaulted.

string
length ≤ 1

Options: A-Active, I-Inactive, D-Down. Optional. If omitted, A will be defaulted.

string | null
required

Key to em/departments(EMCo, Department).

string | null
required

Key to em/categories(EMCo, Category).

string | null

Key to em/locations(EMCo, EMLoc). Optional. If omitted, null will be defaulted.

string | null

Key to em/shops(ShopGroup, Shop). ShopGroup based on EMCo. Optional. If omitted, null will be defaulted.

string | null

Key to em/rev_codes(EMGroup, RevCode). EMGroup based on EMCo. Optional. If omitted, null will be defaulted.

integer | null

Key to pr/employees(PRCo, Employee). Optional. If omitted, defaulted based on Vista defaults.

integer | null

Key to pr/employees(PRCo, Employee). Optional. If omitted, null will be defaulted.

integer | null

Key to jc/jobs(JCCo, Job). Optional. If omitted, defaulted based on Vista defaults.

string | null

Key to jc/jobs(JCCo, Job). Optional. If omitted, null will be defaulted.

integer | null

Optional. If omitted, defaulted based on Vista defaults.

string
enum

Optional. If omitted, N will be defaulted.

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

Format: YYYY-MM-DD. Optional. If omitted, null will be defaulted.

string | null

Optional. If omitted, null will be defaulted.

string | null

Optional. If omitted, null will be defaulted.

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

Format: YYYY-MM-DD. Optional. If omitted, null will be defaulted.

string | null

Optional. If omitted, null will be defaulted.

string | null

Optional. If omitted, null will be defaulted.

string
length ≤ 1

Options: D-Diesel, G-Gas, O-Other, N-None. Optional. If omitted, N will be defaulted.

string | null

Key to hq/materials(MatlGroup, Material). MatlGroup determined by .EMCo. Optional. If omitted, null will be defaulted.

string | null

Key to em/cost_codes(EMGroup, CostCode). EMGroup determined by .EMCo. Optional. If omitted, null will be defaulted.

integer | null

Key to em/cost_types(EMGroup, CostType). EMGroup determined by .EMCo. Optional. If omitted, null will be defaulted.

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

Optional. If omitted, 0.00 will be defaulted.

string | null

Key hq/unit_of_measures(UM). Optional. If omitted, null will be defaulted. A non null value is required if .FuelType != N.

string | null

Key hq/unit_of_measures(UM). Optional. If omitted, null will be defaulted.

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

Optional. If omitted, 0.00 will be defaulted.

string | null

Key hq/unit_of_measures(UM). Optional. If omitted, null will be defaulted.

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

Optional. If omitted, 0.00 will be defaulted.

string | null

Optional. If omitted, null will be defaulted.

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

Optional. If omitted, 0.00 will be defaulted.

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

Optional. If omitted, 0.000 will be defaulted.

string | null

Optional. If omitted, null will be defaulted.

string | null

Optional. If omitted, null will be defaulted.

integer

Optional. If omitted, 0 will be defaulted.

string | null

Optional. If omitted, null will be defaulted.

string | null

Optional. If omitted, null will be defaulted.

string | null

Optional. If omitted, null will be defaulted.

string | null

Optional. If omitted, null will be defaulted.

Ownership
object

Optional, if omitted each property will be defaulted as noted.

Meters
object

Optional, if omitted each property will be defaulted as noted.

string | null

Key em/equipment(EMCo, Equipment). Optional. If omitted, null will be defaulted. Input is ignored if .Type != E.

string
enum

Optional. If omitted, N will be defaulted. Input is ignored if .Type != E.

Allowed:
string | null

Key em/equipment(EMCo, Equipment). A value is required to be provided or defaulted for .Type = C. Optional. If omitted, it will be defaulted ot $.CompUnattachedEquip value in em/company_parameters for the provided EMCo. Input is ignored if .Type != C.

string | null

Key em/component_types(EMGroup, ComponentTypeCode). EMGroup based on .EMCo. A value is required to be provided for .Type = C. Optional. If omitted, null will be defaulted. Input is ignored if .Type != C.

string
enum

Optional. If omitted, N will be defaulted. Input is ignored if .Type != C.

Allowed:
string
enum

Optional. If omitted, N will be defaulted. Input is ignored if .Type != C.

Allowed:
string
enum

Optional. If omitted, N will be defaulted. Input is ignored if .Type != C.

Allowed:
string
enum

Optional. If omitted, defaulted based on Vista defaulting. Input is ignored if .Type != C.

Allowed:
string | null

Optional. If omitted, null will be defaulted.

string | null

Optional. If omitted, null will be defaulted.

__custom_fields
object

Add properties to this object for any custom fields you want to set as this record is added to 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