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

NameDescriptionTypeAdditional 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": "4aefc73f-d6e2-46a3-ab67-86d45b66bb90",
    "Value": "sample string 2"
  },
  {
    "Key": "36eb067f-a4e1-4c8f-a6b2-6b042b0db003",
    "Value": "sample string 2"
  }
]