v1

latestOpenAPI 3.1.02026-08-064323122.5 KB
Trainer Task

Retrieve task details

This endpoint returns the details of a specific trainer task.

get/api/v2/tasks/{taskId}

Path parameters

taskIdinteger required

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.