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": "fbe54a96-f075-42a1-9541-da09be07b3fd",
    "Value": "sample string 2"
  },
  {
    "Key": "f0f0adb1-33c2-4c4a-b2f7-91c672a3c5ce",
    "Value": "sample string 2"
  }
]