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
| Name | Description | Type | Additional 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": "e3356f09-d631-4c6f-b097-0c7cd0f4d895",
"Value": "sample string 2"
},
{
"Key": "95c6bf2f-4242-4e55-bc85-998dd16f141a",
"Value": "sample string 2"
}
]