Skip to main content
GET
/
territories
List territories
curl --request GET \
  --url https://api-staging.pixwel.com/api/territories \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'X-Range: <x-range>'
[
  {
    "_id": "56e95e5314131c6e538b4579",
    "name": "ASIA-PAC Manager",
    "languages": [
      "<unknown>"
    ],
    "assignedLanguages": [
      "<unknown>"
    ],
    "countries": [
      "<unknown>"
    ],
    "created": 1458134611,
    "$links": {
      "self": "//api-staging.pixwel.com/api/Territories/56e95e5314131c6e538b4579"
    }
  }
]

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Headers

X-Range
string
default:resources=0-9
required

Pagination range (e.g. resources=0-9, resources=10-19)

Query Parameters

id
string

Response

200 - application/json

OK

_id
string
Example:

"56e95e5314131c6e538b4579"

name
string
Example:

"ASIA-PAC Manager"

languages
any[]
assignedLanguages
any[]
countries
any[]
created
integer
Example:

1458134611