POST api/Player/WelBeing/CreateOrUpdate?date={date}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| date | date |
Required |
Body Parameters
WelBeingRecord| Name | Description | Type | Additional information |
|---|---|---|---|
| BedTime | time interval |
Required |
|
| WakeUpTime | time interval |
Required |
|
| ReadinessToTrain | integer |
None. |
|
| SleepQuality | integer |
None. |
|
| Soreness | integer |
None. |
|
| Stress | integer |
None. |
|
| Mood | integer |
None. |
|
| UrineColorLevel | integer |
None. |
|
| PlayerPainDailyRecords | Collection of PlayerPainDailyRecord |
None. |
|
| Temperature | decimal number |
None. |
|
| Date | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"BedTime": "00:00:00.1234567",
"WakeUpTime": "00:00:00.1234567",
"ReadinessToTrain": 1,
"SleepQuality": 1,
"Soreness": 1,
"Stress": 1,
"Mood": 1,
"UrineColorLevel": 1,
"PlayerPainDailyRecords": [
{
"IsBack": true,
"PainZone": 2
},
{
"IsBack": true,
"PainZone": 2
}
],
"Temperature": 1.0,
"Date": "2026-09-29T15:13:34.3970577+01:00"
}
application/xml, text/xml
Sample:
<WelBeingRecord xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FootballISM.Api.Contracts.Player">
<BedTime>PT0.1234567S</BedTime>
<Date>2026-09-29T15:13:34.3970577+01:00</Date>
<Mood>1</Mood>
<PlayerPainDailyRecords>
<PlayerPainDailyRecord>
<IsBack>true</IsBack>
<PainZone>2</PainZone>
</PlayerPainDailyRecord>
<PlayerPainDailyRecord>
<IsBack>true</IsBack>
<PainZone>2</PainZone>
</PlayerPainDailyRecord>
</PlayerPainDailyRecords>
<ReadinessToTrain>1</ReadinessToTrain>
<SleepQuality>1</SleepQuality>
<Soreness>1</Soreness>
<Stress>1</Stress>
<Temperature>1</Temperature>
<UrineColorLevel>1</UrineColorLevel>
<WakeUpTime>PT0.1234567S</WakeUpTime>
</WelBeingRecord>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceResultOfWelBeingRecord| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | WelBeingRecord |
None. |
|
| ErrorCode | ServiceErrorCode |
None. |
|
| ErrorMessage | Collection of string |
None. |
|
| Success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": {
"BedTime": "00:00:00.1234567",
"WakeUpTime": "00:00:00.1234567",
"ReadinessToTrain": 1,
"SleepQuality": 1,
"Soreness": 1,
"Stress": 1,
"Mood": 1,
"UrineColorLevel": 1,
"PlayerPainDailyRecords": [
{
"IsBack": true,
"PainZone": 2
},
{
"IsBack": true,
"PainZone": 2
}
],
"Temperature": 1.0,
"Date": "2026-09-29T15:13:34.3970577+01:00"
},
"ErrorCode": 0,
"ErrorMessage": [
"sample string 1",
"sample string 2"
],
"Success": true
}
application/xml, text/xml
Sample:
<ServiceResultOfWelBeingRecordiCAdAg9i 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 xmlns:d2p1="http://schemas.datacontract.org/2004/07/FootballISM.Api.Contracts.Player">
<d2p1:BedTime>PT0.1234567S</d2p1:BedTime>
<d2p1:Date>2026-09-29T15:13:34.3970577+01:00</d2p1:Date>
<d2p1:Mood>1</d2p1:Mood>
<d2p1:PlayerPainDailyRecords>
<d2p1:PlayerPainDailyRecord>
<d2p1:IsBack>true</d2p1:IsBack>
<d2p1:PainZone>2</d2p1:PainZone>
</d2p1:PlayerPainDailyRecord>
<d2p1:PlayerPainDailyRecord>
<d2p1:IsBack>true</d2p1:IsBack>
<d2p1:PainZone>2</d2p1:PainZone>
</d2p1:PlayerPainDailyRecord>
</d2p1:PlayerPainDailyRecords>
<d2p1:ReadinessToTrain>1</d2p1:ReadinessToTrain>
<d2p1:SleepQuality>1</d2p1:SleepQuality>
<d2p1:Soreness>1</d2p1:Soreness>
<d2p1:Stress>1</d2p1:Stress>
<d2p1:Temperature>1</d2p1:Temperature>
<d2p1:UrineColorLevel>1</d2p1:UrineColorLevel>
<d2p1:WakeUpTime>PT0.1234567S</d2p1:WakeUpTime>
</Result>
</ServiceResultOfWelBeingRecordiCAdAg9i>