POST api/TrackerService/SwapOrCopyWorkout
Request Information
URI Parameters
None.
Body Parameters
TrackerContextAndOfApi_SwapOrCopyWorkoutName | Description | Type | Additional information |
---|---|---|---|
TrackerContext | TrackerContext |
None. |
|
Data | Api_SwapOrCopyWorkout |
None. |
Request Formats
application/json, text/json
Sample:
{ "TrackerContext": { "OrganizationTrackerId": "sample string 1", "TrackerId": "sample string 2", "InCacheMode": true, "CacheImagePath": "sample string 4" }, "Data": { "CurrentSessionId": 1, "OtherSessionId": 2, "Swap": true } }
application/xml, text/xml
Sample:
<TrackerContextAndOfApi_SwapOrCopyWorkoutJcLlkay9 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RedV.EliteForm.DataContracts.Tracker"> <Data> <CurrentSessionId>1</CurrentSessionId> <OtherSessionId>2</OtherSessionId> <Swap>true</Swap> </Data> <TrackerContext> <CacheImagePath>sample string 4</CacheImagePath> <InCacheMode>true</InCacheMode> <OrganizationTrackerId>sample string 1</OrganizationTrackerId> <TrackerId>sample string 2</TrackerId> </TrackerContext> </TrackerContextAndOfApi_SwapOrCopyWorkoutJcLlkay9>
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>