Executes the Add Item action for the Work Orders data object.

Add an item on an existing EM Work Order

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/work_orders(EMCo, WorkOrder).

string
required
length ≤ 10

Key to em/work_orders(EMCo, WorkOrder).

integer

Optional, If omitted, the next WOItem number will be used.

string | null
string
required
length ≤ 10

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

string
length ≤ 10

Key to em/wo_status_codes(EMGroup, StatusCode). Optional.

string | null

Optional.

string | null

Optional.

string | null

Key to em/std_maint_groups(EMCo, Equipment, StdMaintGroup). Optional.

integer | null

Key to $.Items array in em/std_maint_groups(EMCo, Equipment, StdMaintGroup). Optional.

integer | null
1 to 255

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

integer | null

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

string | null

Key to em/wo_repair_type(EMGroup, RepType). Optional.

string
enum
length ≤ 1

Options: U-Urgent, N-normal, L-Low. Optional.

Allowed:
string | null

Informational only. Can be used to track repairs. Optional.

string | null

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

string | null

Serial number of the part. Optional.

date
^([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.

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.

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
enum
length ≤ 1

Options: I-InHouse, O-Outside. Optional.

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

Optional. Can only be provided if InHseSubFlag == I. Input will be ignored if InHseSubFlag != I.

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

Optional. Can only be provided if InHseSubFlag == O. Input will be ignored if InHseSubFlag != O.

string | null
__custom_fields
object

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