Access denied Access granted Authentification Draft Deprecated
activity : finishSession
Last change: 2018-06-18 08:09:18
Permet de terminer une session d'entraînement
Parameter
Value
Description
sessionId
ID de la session à terminer
endTimestamp
Timestamp de fin
realActivityTime
In milliseconds
videoResumeTime
In milliseconds
activityComplete
Permet de passer l'activité à terminer
crash
0 si ok, 1 si la personne a eu un crash pendant la session
sendDelayed
0 si le finish est envoyé immédiatement à la fin de la session
antManufacturerId
Ant manufacturer ID
outputFormat
Output format - Default: xml
Call
http://api.kinomap.com/activity/finishSession?
Response Body
An error occured!

	
Response : Valid / Success
  • status: OK when no errors
Response : Error / Failed
Response status is replaced by one of the following:
  • BAD_FORMAT_TIMESTAMP: BAD TIMESTAMP GIVEN
  • UNABLE_TO_FIND_SESSION_ID: BAD SESSION ID GIVEN
  • MISSING_FIELD: MISSING_FIELD
  • IMPOSSIBLE_TO_UPDATE_SESSION: IMPOSSIBLE TO UPDATE SESSION
  • IMPOSSIBLE_TO_GET_SESSION: IMPOSSIBLE TO GET SESSION
  • IMPOSSIBLE_TO_UPDATE_ACTIVITY: IMPOSSIBLE TO UPDATE ACTIVITY
Sign in