Skip to main content
Version: Next

Get Motivation API

This API will get the Motivation content for AOK.

  • Request Type : GET
  • End Point URL : /v1/getMotivations
  • Authorization : basic_auth

Parameters :

ParameterDescription
aokid*AOK id is the AOK specefic unique id. It will filter static html content and get AOK specific content.
tagstags are categories of Motivations
komootfilter to differentiate the motivation activity is komoot or not. Use 1 to filter komoot activities, 0 to filter motivations.
Note :'*' Parameters are required
  • Sample URL : https://site_url/v1/getMotivations?aokid=aokbw&tags=17,20&komoot=0
  • Response Success Code : 200 OK
  • Sample Response
[
{
"motivationId": 302,
"isKommotActivity": false,
"motivationExternalId": "",
"title": "Fit im Haushalt beim Power-Aufräumen",
"description": "Stelle dir einen Timer auf 10 Minuten, höre Deine Lieblingsplaylist und starte ein Power-Aufräumen.",
"image": "http://dev-cms.navida-cloud.plus.aok.de/sites/default/files/motivation/Aufraeumen.png",
"tags": [
{
"tagId": "17",
"tagName": "Im Haushalt"
}
],
"activities": [
{
"motivationActivityId": 3312,
"stepCalorie": 30,
"maxCalories": "",
"stepText": "Einheit (10 Minuten)",
"stepTextPlural": "Einheiten (10 Minuten)",
"unitLabel": "Minuten",
"dailyCaloryCounterTitle": "",
"dailyCaloryCounterText": "<p>Wie viele Minuten hast Du diese Woche geschafft?</p>",
"motivationTextHtml": ""
}
]
}
]
  • Sample URL : https://site_url/v1/getMotivations?aokid=aokbw&komoot=1
  • Response Success Code : 200 OK
  • Sample Response
[
{
"motivationId": 507,
"isKomoot": true,
"motivationExternalId": "",
"title": "Lockere Wanderung",
"description": "Unternehme Wanderungen für Anfänger und Genießer.",
"image": "http://dev-cms.navida-cloud.plus.aok.de/sites/default/files/bw-komoot/komoot-activities/Wandern.jpg",
"tags": "",
"activities": [
{
"motivationActivityId": 7079,
"stepCalorie": 50,
"maxCalories": "",
"stepText": "",
"stepTextPlural": "",
"unitLabel": "Minuten",
"unitValue": 10,
"dailyCaloryCounterTitle": "",
"dailyCaloryCounterText": "",
"motivationTextHtml": "<p>Wie lange möchtest Du diese Aktivität durchführen?</p>",
"minValue": 3,
"maxValue": 60,
"sport": "hike"
}
]
}
]