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": "3ee3921b-7c1b-4d39-8ee3-ca456a8d8a0b",
"Value": "sample string 2"
},
{
"Key": "376b3894-4fb0-407e-8e9b-b0cd67adcf42",
"Value": "sample string 2"
}
]