GET territories/{territoryId}/popularMotivations
Function returns popular motivations 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 - motivation id, value - motivation name
Collection of Pair of globally unique identifier [key] and string [value]Response Formats
application/json, text/json
Sample:
[
{
"Key": "ad2a83e8-d4a3-41f0-9a57-6298757a06ef",
"Value": "sample string 2"
},
{
"Key": "0b5bf4fd-6f31-4951-8827-f6645c115eaf",
"Value": "sample string 2"
}
]