Executes the Add action for the Location Master data object.

Add

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 this object natural(INCo, Loc)

string
required
length ≤ 10

Key to this object natural(INCo, Loc)

string | null

If omitted, null will be defaulted.

string
enum

If omitted, Y will be defaulted.

Allowed:
string | null

Key to hq/reviewers(HQCo, Reviewer).

string | null

Key to hq/reviewers(HQCo, Reviewer).

string | null

Key to hq/reviewer_groups(HQCo, ReviewerGroup).

string | null

If omitted, null will be defaulted.

string | null

If omitted, null will be defaulted.

string | null

If omitted, null will be defaulted.

string | null

If omitted, null will be defaulted.

string | null

If omitted, null will be defaulted.

string | null

If omitted, null will be defaulted.

string | null

If omitted, null will be defaulted.

string | null

If omitted, null will be defaulted.

string | null

If omitted, null will be defaulted.

string | null

If omitted, null will be defaulted.

string | null

If omitted, null will be defaulted.

string | null

If omitted, null will be defaulted.

integer
required

Key to in/location_groups(INCo, LocGroup)

integer | null
enum

options: 0-No Overrides, 1-Average Cost, 2-Last Cost, 3-Standard Cost. If omitted, 0 will be defaulted.

Allowed:
string | null

Key to hq/tax_codes(TaxGroup, TaxCode)

integer
enum

options: 0-Non Taxable, 1-Taxable/HaulVendor, 2-Taxable. if omitted, 0 will be defaulted.

Allowed:
integer | null
string | null
integer | null
string | null
integer | null
integer | null
integer | null
integer | null
integer
enum

options: 0-None, 1-Lbs, 2-Tons, 3-Kiolgrams. If omitted, 0 will be defaulted.

Allowed:
__InventoryAccounts
object
required
__SalesAccounts
object
__OtherRevenue
object
__Expense
object
string | null

If omitted, null will be defaulted.

__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.

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