Executes the Change action for the Equipment data object.

Changes an existing 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
__key
required
string
length ≤ 1

Options: E-Equipment, C-Component. Optional.

string | null

Optional.

string | null

Optional.

string | null

Optional.

string | null

Optional.

string | null

Optional.

string
length ≤ 1

Options: A-Active, I-Inactive, D-Down. Optional.

string | null

Key to em/departments(EMCo, Department). Optional.

string | null

Key to em/categories(EMCo, Category). Optional.

string | null

Key to em/locations(EMCo, EMLoc). Optional.

string | null

Key to em/shops(ShopGroup, Shop). ShopGroup based on EMCo. Optional.

string | null

Key to em/rev_codes(EMGroup, RevCode). EMGroup based on EMCo. Optional.

integer | null

Key to pr/employees(PRCo, Employee). Optional.

integer | null

Key to pr/employees(PRCo, Employee). Optional.

integer | null

Key to jc/jobs(JCCo, Job). Optional.

string | null

Key to jc/jobs(JCCo, Job). Optional.

integer | null

Optional.

string
enum

Optional.

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.

string | null

Optional.

string | null

Optional.

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.

string | null

Optional.

string | null

Optional.

string
length ≤ 1

Options: D-Diesel, G-Gas, O-Other, N-None. Optional.

string | null

Key to hq/materials(MatlGroup, Material). MatlGroup determined by .EMCo. Optional.

string | null

Key to em/cost_codes(EMGroup, CostCode). EMGroup determined by .EMCo. Optional.

integer | null

Key to em/cost_types(EMGroup, CostType). EMGroup determined by .EMCo. Optional.

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

Optional.

string | null

Key hq/unit_of_measures(UM). Optional.

string | null

Key hq/unit_of_measures(UM). Optional.

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

Optional.

string | null

Key hq/unit_of_measures(UM). Optional.

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

Optional.

string | null

Optional.

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

Optional.

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

Optional.

string | null

Optional.

string | null

Optional.

integer

Optional.

string | null

Optional.

string | null

Optional.

string | null

Optional.

string | null

Optional.

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. Input is ignored if .Type != E.

string
enum

Optional. 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. Input is ignored if .Type != C.

string | null

Key em/component_types(EMGroup, ComponentTypeCode). EMGroup based on .EMCo. Optional. Input is ignored if .Type != C.

string
enum

Optional. Input is ignored if .Type != C.

Allowed:
string
enum

Optional. Input is ignored if .Type != C.

Allowed:
string
enum

Optional. Input is ignored if .Type != C.

Allowed:
string
enum

Optional. Input is ignored if .Type != C.

Allowed:
string | null

Optional.

string | null

Optional.

__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