POST api/TrackerService/StartWorkout

Request Information

URI Parameters

None.

Body Parameters

TrackerContextAndOfTrackerUISession[]
NameDescriptionTypeAdditional information
TrackerContext

TrackerContext

None.

Data

Collection of TrackerUISession

None.

Request Formats

application/json, text/json

Sample:
{
  "TrackerContext": {
    "OrganizationTrackerId": "sample string 1",
    "TrackerId": "sample string 2",
    "InCacheMode": true,
    "CacheImagePath": "sample string 4"
  },
  "Data": [
    {
      "Id": 1,
      "SessionInstanceId": 2,
      "StrengthCardId": 3,
      "AthleteId": 4,
      "TeamId": 5,
      "StartDate": "2024-11-19T00:49:27.8552434+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-19T00:49:27.8552434+00:00",
      "CoachNote": "sample string 7",
      "AthleteNote": "sample string 8",
      "PostWork": "sample string 9",
      "PostWorkLabel": "sample string 10",
      "Exercises": []
    }
  ]
}

application/xml, text/xml

Sample:
<TrackerContextAndOfArrayOfTrackerUISessionJcLlkay9 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RedV.EliteForm.DataContracts.Tracker">
  <Data>
    <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-19T00:49:27.8552434+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-19T00:49:27.8552434+00:00</StartDate>
      <StrengthCardId>3</StrengthCardId>
      <TeamId>5</TeamId>
    </TrackerUISession>
  </Data>
  <TrackerContext>
    <CacheImagePath>sample string 4</CacheImagePath>
    <InCacheMode>true</InCacheMode>
    <OrganizationTrackerId>sample string 1</OrganizationTrackerId>
    <TrackerId>sample string 2</TrackerId>
  </TrackerContext>
</TrackerContextAndOfArrayOfTrackerUISessionJcLlkay9>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>