POST api/TrackerService/GetSessions
Request Information
URI Parameters
None.
Body Parameters
TrackerContextAndOfApi_GetSessionsName | Description | Type | Additional information |
---|---|---|---|
TrackerContext | TrackerContext |
None. |
|
Data | Api_GetSessions |
None. |
Request Formats
application/json, text/json
Sample:
{ "TrackerContext": { "OrganizationTrackerId": "sample string 1", "TrackerId": "sample string 2", "InCacheMode": true, "CacheImagePath": "sample string 4" }, "Data": { "AthleteIds": [ 1, 2 ], "TeamId": 1, "SessionDate": "2024-11-21T09:31:59.143711+00:00", "BuildingCache": true } }
application/xml, text/xml
Sample:
<TrackerContextAndOfApi_GetSessionsJcLlkay9 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RedV.EliteForm.DataContracts.Tracker"> <Data> <AthleteIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:long>1</d3p1:long> <d3p1:long>2</d3p1:long> </AthleteIds> <BuildingCache>true</BuildingCache> <SessionDate>2024-11-21T09:31:59.143711+00:00</SessionDate> <TeamId>1</TeamId> </Data> <TrackerContext> <CacheImagePath>sample string 4</CacheImagePath> <InCacheMode>true</InCacheMode> <OrganizationTrackerId>sample string 1</OrganizationTrackerId> <TrackerId>sample string 2</TrackerId> </TrackerContext> </TrackerContextAndOfApi_GetSessionsJcLlkay9>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of TrackerUISessionName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
SessionInstanceId | integer |
None. |
|
StrengthCardId | integer |
None. |
|
AthleteId | integer |
None. |
|
TeamId | integer |
None. |
|
StartDate | date |
None. |
|
CoachNote | string |
None. |
|
AthleteNote | string |
None. |
|
PostWork | string |
None. |
|
PostWorkLabel | string |
None. |
|
Exercises | Collection of TrackerUIExercise |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "SessionInstanceId": 2, "StrengthCardId": 3, "AthleteId": 4, "TeamId": 5, "StartDate": "2024-11-21T09:31:59.143711+00:00", "CoachNote": "sample string 7", "AthleteNote": "sample string 8", "PostWork": "sample string 9", "PostWorkLabel": "sample string 10", "Exercises": [] }, { "Id": 1, "SessionInstanceId": 2, "StrengthCardId": 3, "AthleteId": 4, "TeamId": 5, "StartDate": "2024-11-21T09:31:59.143711+00:00", "CoachNote": "sample string 7", "AthleteNote": "sample string 8", "PostWork": "sample string 9", "PostWorkLabel": "sample string 10", "Exercises": [] } ]
application/xml, text/xml
Sample:
<ArrayOfTrackerUISession xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RedV.EliteForm.DataContracts.Tracker"> <TrackerUISession> <AthleteId>4</AthleteId> <AthleteNote>sample string 8</AthleteNote> <CoachNote>sample string 7</CoachNote> <Exercises /> <Id>1</Id> <PostWork>sample string 9</PostWork> <PostWorkLabel>sample string 10</PostWorkLabel> <SessionInstanceId>2</SessionInstanceId> <StartDate>2024-11-21T09:31:59.143711+00:00</StartDate> <StrengthCardId>3</StrengthCardId> <TeamId>5</TeamId> </TrackerUISession> <TrackerUISession> <AthleteId>4</AthleteId> <AthleteNote>sample string 8</AthleteNote> <CoachNote>sample string 7</CoachNote> <Exercises /> <Id>1</Id> <PostWork>sample string 9</PostWork> <PostWorkLabel>sample string 10</PostWorkLabel> <SessionInstanceId>2</SessionInstanceId> <StartDate>2024-11-21T09:31:59.143711+00:00</StartDate> <StrengthCardId>3</StrengthCardId> <TeamId>5</TeamId> </TrackerUISession> </ArrayOfTrackerUISession>