workouts (Level 3 API Key)
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* |
personid | personid=12 | Id | Yes* |
*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 |
---|---|---|
businessunitid | businessunitid=1 | Id |
Â
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>