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": "a9943317-e617-4b52-8cf4-e66600bd55cc",
"Value": "sample string 2"
},
{
"Key": "a7baae7d-6d03-4dc4-b413-904ea09b0b36",
"Value": "sample string 2"
}
]