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": "c94fa930-7b64-4a3e-9b98-c74427109fd6",
"Value": "sample string 2"
},
{
"Key": "9e75cd27-7e07-44a6-b2aa-6b57e0173860",
"Value": "sample string 2"
}
]