v1

latestOpenAPI 3.1.02026-08-064323122.5 KB
Trainer Task

Retrieve all tasks

This endpoint returns a list of trainer tasks that are available in the gym. Can be filtered by modified date time.

get/api/v2/tasks

Query parameters

modifiedSincestring date-time

Response

Ok

idstring

The ID of the task

namestring required

Task name

type'GENERAL' | 'ANAMNESIS' | 'COORDINATION_FITNESS_TEST' | 'HEALTH_FITNESS_TEST' | 'PWC_FITNESS_TEST' | 'MAX_FORCE_FITNESS_TEST' | 'MOBILITY_SCREEN_FITNESS_TEST' | 'BLOOD_PRESSURE_FITNESS_TEST' | 'POLAR_FITNESS_TEST' | 'INBODY_FITNESS_TEST' | 'JAWON_FITNESS_TEST'

Task type

dueDatestring date required

Task completion deadline date. format: yyyy-MM-dd

authorIdstring required

The author of the task. EGYM account ID

targetIdstring required

The account of task related to. EGYM account ID

completerIdstring

The account who solved the task. EGYM account ID

completedboolean

If this task has been completed in the gym this will be true, false otherwise.