Get club goals Deprecated

GET /1/clubs/{id}/goals

Get club goals

Path parameters

  • id string Required

    The club id.

Responses

  • 200 application/json

    Weekly goals of the club.

    Hide response attribute Show response attribute object
    • goals array[object]
      Hide goals attributes Show goals attributes object
      • name string Required
      • timesPerWeek integer Required
      • startDate string Required
      • endDate string
      • userId string Required
GET /1/clubs/{id}/goals
curl \
 --request GET 'https://api.localsporthero.com/1/clubs/{id}/goals'
Response examples (200)
{
  "goals": [
    {
      "name": "De Marathon",
      "timesPerWeek": 3,
      "startDate": "2022-05-02T11:00:00.000Z",
      "endDate": "2022-05-02T11:00:00.000Z",
      "userId": "df2cd71c-d006-4a46-8e2a-d09503273f07"
    }
  ]
}