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": "fb9f6e70-fe29-447c-8dbf-9b88a8cbea5c",
    "Value": "sample string 2"
  },
  {
    "Key": "b769a2d7-9936-4fea-8811-4df141fb16be",
    "Value": "sample string 2"
  }
]