POST api/TrackerService/PostExerciseEdit
Request Information
URI Parameters
None.
Body Parameters
TrackerContextAndOfApi_PostExerciseEditName | Description | Type | Additional information |
---|---|---|---|
TrackerContext | TrackerContext |
None. |
|
Data | Api_PostExerciseEdit |
None. |
Request Formats
application/json, text/json
Sample:
{ "TrackerContext": { "OrganizationTrackerId": "sample string 1", "TrackerId": "sample string 2", "InCacheMode": true, "CacheImagePath": "sample string 4" }, "Data": { "Exercise": { "Id": 1, "ExerciseInstanceId": 2, "ExerciseId": 3, "Name": "sample string 4", "TrackerLiftType": 5, "Rest": 1, "Speed": 1.0, "Directions": "sample string 6", "Sets": [], "SequenceNum": 7.0, "TrackerUISessionId": 8, "EditState": 0, "WeightUnitType": 9, "WorkoutSectionId": 1, "TargetValue": 1.0, "TargetValueMax": 1.0, "IsTargetPercentage": true, "VelocityPowerTargetType": 11, "VelocityPowerType": 12, "TrackerLiftTabType": 13, "PercentageOfMaxType": 14, "IsBestOfDayEnabled": true, "AveragePowerRMValue": 16.0, "PeakPowerRMValue": 17.0, "ScoopHeight": 1, "CatchesHeight": 1, "HistoricalExercise": { "Id": 1, "ExerciseId": 2, "Sets": [], "PrescribedOn": "2024-11-21T09:54:55.2626166+00:00", "CompletedOn": "2024-11-21T09:54:55.2626166+00:00" }, "TimeUnderTensionCountdownAmount": 1, "TimeUnderTensionHoldAmount": 1 }, "SessionInstanceId": 1 } }
application/xml, text/xml
Sample:
<TrackerContextAndOfApi_PostExerciseEditJcLlkay9 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RedV.EliteForm.DataContracts.Tracker"> <Data> <Exercise> <AveragePowerRMValue>16</AveragePowerRMValue> <CatchesHeight>1</CatchesHeight> <Directions>sample string 6</Directions> <EditState>None</EditState> <ExerciseId>3</ExerciseId> <ExerciseInstanceId>2</ExerciseInstanceId> <HistoricalExercise> <CompletedOn>2024-11-21T09:54:55.2626166+00:00</CompletedOn> <ExerciseId>2</ExerciseId> <Id>1</Id> <PrescribedOn>2024-11-21T09:54:55.2626166+00:00</PrescribedOn> <Sets /> </HistoricalExercise> <Id>1</Id> <IsBestOfDayEnabled>true</IsBestOfDayEnabled> <IsTargetPercentage>true</IsTargetPercentage> <Name>sample string 4</Name> <PeakPowerRMValue>17</PeakPowerRMValue> <PercentageOfMaxType>14</PercentageOfMaxType> <Rest>1</Rest> <ScoopHeight>1</ScoopHeight> <SequenceNum>7</SequenceNum> <Sets /> <Speed>1</Speed> <TargetValue>1</TargetValue> <TargetValueMax>1</TargetValueMax> <TimeUnderTensionCountdownAmount>1</TimeUnderTensionCountdownAmount> <TimeUnderTensionHoldAmount>1</TimeUnderTensionHoldAmount> <TrackerLiftTabType>13</TrackerLiftTabType> <TrackerLiftType>5</TrackerLiftType> <TrackerUISessionId>8</TrackerUISessionId> <VelocityPowerTargetType>11</VelocityPowerTargetType> <VelocityPowerType>12</VelocityPowerType> <WeightUnitType>9</WeightUnitType> <WorkoutSectionId>1</WorkoutSectionId> </Exercise> <SessionInstanceId>1</SessionInstanceId> </Data> <TrackerContext> <CacheImagePath>sample string 4</CacheImagePath> <InCacheMode>true</InCacheMode> <OrganizationTrackerId>sample string 1</OrganizationTrackerId> <TrackerId>sample string 2</TrackerId> </TrackerContext> </TrackerContextAndOfApi_PostExerciseEditJcLlkay9>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>