Load location reference data

Loads location master data into GAINS X; one record is one location, identified by LocationCode. Records that pass validation are loaded asynchronously; follow the returned task. See Master Data.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length between 1 and 80

The code associated with the location

string
length between 0 and 100

The name of the location

string
required
length between 1 and 65

The type of the location

string
length between 0 and 80

The default code of the parent location

string
length between 0 and 40

First line of the address

string
length between 0 and 40

Second line of the address

string
length between 0 and 40

The city where the location is situated

string
length between 0 and 40

The region or state where the location is situated

string
length between 0 and 30

The country where the location is situated

string
length between 0 and 15

The postal or ZIP code of the location

double
-90 to 90

The latitude coordinate of the location

double
-180 to 180

The longitude coordinate of the location

date

The start date for the availability of the location (YYYY-MM-DD)

date

The end date for the availability of the location (YYYY-MM-DD)

string
length between 0 and 80

The size of the location

string
length between 0 and 50

The currency code associated with the location

ExtendedData
object

Customer-defined extended data attributes for this record, keyed by the API label configured for the payload (see GET /api/v1/extended-data). Labels configured as required must be present. If no extended data is configured for this payload, a record carrying ExtendedData is rejected.

Headers
string
length ≤ 255

Optional key that makes a retry safe. A request repeating a key already used on this endpoint within the last 24 hours is refused with 400 and nothing is submitted again. A UUID is recommended; at most 255 characters

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*
application/json