GET territories/{territoryId}/popularNationalities

Function returns popular nationalities for territory.

Authorization

Access to this endpoint is granted if all following conditions are true:

  • Authenticated user who is either StaffMember, Student

Request Information

URI Parameters

NameDescriptionTypeAdditional information
territoryId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

key - nationality id, value - nationality name

Collection of Pair of globally unique identifier [key] and string [value]

Response Formats

application/json, text/json

Sample:
[
  {
    "Key": "ce51a2a2-0e2c-4dec-b236-7d59f90dc638",
    "Value": "sample string 2"
  },
  {
    "Key": "81e2936b-d98c-47c7-a6ac-a65a5aae0ab2",
    "Value": "sample string 2"
  }
]