POST api/TrackerService/GetSession

Request Information

URI Parameters

None.

Body Parameters

TrackerContextAndOfApi_GetSession
NameDescriptionTypeAdditional information
TrackerContext

TrackerContext

None.

Data

Api_GetSession

None.

Request Formats

application/json, text/json

Sample:
{
  "TrackerContext": {
    "OrganizationTrackerId": "sample string 1",
    "TrackerId": "sample string 2",
    "InCacheMode": true,
    "CacheImagePath": "sample string 4"
  },
  "Data": {
    "AthleteId": 1,
    "TeamId": 2,
    "SessionDate": "2024-11-21T01:02:28.8378434+00:00",
    "BuildingCache": true
  }
}

application/xml, text/xml

Sample:
<TrackerContextAndOfApi_GetSessionJcLlkay9 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RedV.EliteForm.DataContracts.Tracker">
  <Data>
    <AthleteId>1</AthleteId>
    <BuildingCache>true</BuildingCache>
    <SessionDate>2024-11-21T01:02:28.8378434+00:00</SessionDate>
    <TeamId>2</TeamId>
  </Data>
  <TrackerContext>
    <CacheImagePath>sample string 4</CacheImagePath>
    <InCacheMode>true</InCacheMode>
    <OrganizationTrackerId>sample string 1</OrganizationTrackerId>
    <TrackerId>sample string 2</TrackerId>
  </TrackerContext>
</TrackerContextAndOfApi_GetSessionJcLlkay9>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TrackerUISession
NameDescriptionTypeAdditional 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-21T01:02:28.8533202+00:00",
  "CoachNote": "sample string 7",
  "AthleteNote": "sample string 8",
  "PostWork": "sample string 9",
  "PostWorkLabel": "sample string 10",
  "Exercises": []
}

application/xml, text/xml

Sample:
<TrackerUISession xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RedV.EliteForm.DataContracts.Tracker">
  <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-21T01:02:28.8533202+00:00</StartDate>
  <StrengthCardId>3</StrengthCardId>
  <TeamId>5</TeamId>
</TrackerUISession>