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": "af14991f-e396-4d2f-9321-6c6af745653c",
"Value": "sample string 2"
},
{
"Key": "07bedf76-cc8b-4c67-98bf-52a7f05a6224",
"Value": "sample string 2"
}
]