Executes the Add Line action for the Pending Change Orders data object.

Adds a new line to an existing pending change 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

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

string
required
length ≤ 10

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

string
required
length ≤ 10

key to pm/2/doc_types(doc_type).

string
required
length ≤ 10
string | null

Key for this array. Optional. If omitted, it will be defaulted based on Vista defaulting behavior.

string | null
string
length ≤ 6
string | null
string
enum
Allowed:
integer | null
string | null
string
enum
Allowed:
string
length ≤ 3

Key to hq/Unit_of_measures(UM). Optional if ContractItem is provided. If omitted, it will be defaulted based on the provided ContractItem. If no ContractItem is provided you must provide a valid UM value.

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

This property will be added if there are any custom fields defined for this object in Vista. Each custom field will be a property of this object.

EstimatePurchaseDetails
array of objects
EstimatePurchaseDetails
Markups
array of objects
Markups
AddOns
array of objects
AddOns
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