Page tree
Skip to end of metadata
Go to start of metadata

List workouts

Lists workouts for either a person or an organization. 

Anrop

HTTP GET till /workouts

startdate/time and enddate/time has the same defaultvalues as when retrieving workouts for an logged in user.  

 

Parameters

Name

example

Datatype

Mandatory

organizationid

organizationid=231

Id

Yes*
personidpersonid=12IdYes*

*Either organizationid or personid must be given or startdate must be equal to enddate. 

workouts.xml?apikey=123&organizationid=12
workouts.xml?apikey=123$personid=77
workouts.xml?apikey=123&startdate=2016-12-31&enddate=2016-12-31

 

Filter

Name

example

Datatype

businessunitidbusinessunitid=1Id

 

Example:

APIURL/workouts.xml?apikey=338934897438&organizationid=231&startdate=2009-03-10&enddate=2009-03-11

Response

Same as for workouts

<workouts>
  <workout>
    ...
  </workout>
</workouts>
  • No labels