POST
/
v1
/
location

Authorizations

authorization
string
headerrequired

Body

application/json

Identifies a location. Used as input for GET /sutra/online/location.

city
string

Name of a city.

region
string

Name of a region, for example 'California'.

regionType
string

Type of a region, for example 'state' or 'province'.

countryName
string

Name of a country.

countryCode
string

A two character country code, for example 'US' or 'IN'.

languageCode
string

A language code, for example 'en', typically selected by the user.

locale
string

A locale, for exampl 'en-US'.

longitude
number
latitude
number

Response

200 - application/json

A search location. Used for input to queries returned by $ref /sutra/online/getLocation.

uule
string
required

Represents an encoded canonical location string.

countryCode
string
required

The country code of the search location.

languageCode
string
required

The language code of the search location.

city
string

The city of the search location (used in output only).

region
string

The region of the search location (used in output only).

countryName
string

The country name of the search location (used in output only).