v1

latestOpenAPI 3.0.12026-07-267912192.3 MB
Work Orders

Executes the Change action for the Work Orders data object.

Change the header of an existing EM Work Order.

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

Equipmentstring

Key to em/equipment(EMCo, Equipment). Optional.

Shopstring nullable

Key to em/shop(ShopGroup, Shop). ShopGroup is determined by EMCo. Optional.

Descriptionstring nullable

Optional.

DateCreatedstring date

Format: YYYY-MM-DD. Optional.

INCointeger nullable

Key to em/equipment(INCo, InvLoc). Optional.

InvLocstring nullable

Key to em/equipment(INCo, InvLoc). Optional.

PRCointeger nullable

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

Mechanicinteger nullable

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

DateDuestring date nullable

Format: YYYY-MM-DD. Optional.

DateSchedstring date nullable

Format: YYYY-MM-DD. Optional.

Notesstring nullable
__custom_fieldsobject

Add properties to this object for any custom fields you want to set as this record is updated in Vista.

Response

Success

idstring
operationstring
statusstring