POST api/Player/IndividualTraining/SaveFeedback
Request Information
URI Parameters
None.
Body Parameters
IndividualTrainingFeedback| Name | Description | Type | Additional information |
|---|---|---|---|
| MethodTypeId | IndividualTrainingMethodType |
None. |
|
| TraditionalTraining | TraditionalTrainingFeedback |
None. |
|
| VelocityTraining | VelocityTrainingFeedback |
None. |
|
| EccentricTraining | EccentricTrainingFeedback |
None. |
|
| EnergeticSystem | EnergeticSystemFeedback |
None. |
Request Formats
application/json, text/json
Sample:
{
"MethodTypeId": 1,
"TraditionalTraining": {
"Series": 1,
"Time": "sample string 2",
"Weight": 1.0,
"RM": 1.0,
"RPE": 1,
"RIR": 1,
"Duration": 1.0,
"Id": "809e24d7-3db9-429c-8e06-47d7c55346cb",
"Repetitions": 1,
"IR": 1.0,
"ParentId": "484ffa92-668c-49a6-98f6-e7f137239900"
},
"VelocityTraining": {
"Series": 1,
"Weight": 1.0,
"VMedia": 1.0,
"PercentageFatigueIntra": 1.0,
"PercentageFatigueEntre": 1.0,
"VMax": 1.0,
"Id": "052b4b22-184c-4a3a-b25f-e910380252a5",
"Repetitions": 1,
"IR": 1.0,
"ParentId": "3d476ae6-cd8f-4e90-89ff-fcddb6d2d7c9"
},
"EccentricTraining": {
"Series": 1,
"InertialCharge": "sample string 2",
"W": 1,
"ExcCom": 1.0,
"Id": "5d5448e3-1438-4a53-903e-7e250368359a",
"Repetitions": 1,
"IR": 1.0,
"ParentId": "26b50a98-266f-48ba-bf94-c97bdff7c1d7"
},
"EnergeticSystem": {
"Duration": 1.0,
"Distance": 1.0,
"Power": 1,
"V1": 1.0,
"V2": 1.0,
"Rythm": 1.0,
"Cadency": 1,
"Id": "08eeb49a-1468-4e2f-9334-4e593faea200",
"Repetitions": 1,
"IR": 1.0,
"ParentId": "9d417e5f-5bef-497e-b39c-ae7ae4162df0"
}
}
application/xml, text/xml
Sample:
<IndividualTrainingFeedback xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FootballISM.Api.Contracts.Player.IndividualTraining">
<EccentricTraining>
<IR>1</IR>
<Id>5d5448e3-1438-4a53-903e-7e250368359a</Id>
<ParentId>26b50a98-266f-48ba-bf94-c97bdff7c1d7</ParentId>
<Repetitions>1</Repetitions>
<ExcCom>1</ExcCom>
<InertialCharge>sample string 2</InertialCharge>
<Series>1</Series>
<W>1</W>
</EccentricTraining>
<EnergeticSystem>
<IR>1</IR>
<Id>08eeb49a-1468-4e2f-9334-4e593faea200</Id>
<ParentId>9d417e5f-5bef-497e-b39c-ae7ae4162df0</ParentId>
<Repetitions>1</Repetitions>
<Cadency>1</Cadency>
<Distance>1</Distance>
<Duration>1</Duration>
<Power>1</Power>
<Rythm>1</Rythm>
<V1>1</V1>
<V2>1</V2>
</EnergeticSystem>
<MethodTypeId>TraditionalTraining</MethodTypeId>
<TraditionalTraining>
<IR>1</IR>
<Id>809e24d7-3db9-429c-8e06-47d7c55346cb</Id>
<ParentId>484ffa92-668c-49a6-98f6-e7f137239900</ParentId>
<Repetitions>1</Repetitions>
<Duration>1</Duration>
<RIR>1</RIR>
<RM>1</RM>
<RPE>1</RPE>
<Series>1</Series>
<Time>sample string 2</Time>
<Weight>1</Weight>
</TraditionalTraining>
<VelocityTraining>
<IR>1</IR>
<Id>052b4b22-184c-4a3a-b25f-e910380252a5</Id>
<ParentId>3d476ae6-cd8f-4e90-89ff-fcddb6d2d7c9</ParentId>
<Repetitions>1</Repetitions>
<PercentageFatigueEntre>1</PercentageFatigueEntre>
<PercentageFatigueIntra>1</PercentageFatigueIntra>
<Series>1</Series>
<VMax>1</VMax>
<VMedia>1</VMedia>
<Weight>1</Weight>
</VelocityTraining>
</IndividualTrainingFeedback>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceResultOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | boolean |
None. |
|
| ErrorCode | ServiceErrorCode |
None. |
|
| ErrorMessage | Collection of string |
None. |
|
| Success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": true,
"ErrorCode": 0,
"ErrorMessage": [
"sample string 1",
"sample string 2"
],
"Success": true
}
application/xml, text/xml
Sample:
<ServiceResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FootballISM.Api.Contracts.Results">
<ErrorCode>None</ErrorCode>
<ErrorMessage xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ErrorMessage>
<Success>true</Success>
<Result>true</Result>
</ServiceResultOfboolean>