POST api/CoachingSession
Request Information
URI Parameters
None.
Body Parameters
CoachingSessionDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| LicenceID | integer |
None. |
|
| TenantID | integer |
None. |
|
| TenantOutletID | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| MaxParticipants | integer |
None. |
|
| CategoryID | integer |
None. |
|
| AllowPayAsYouGo | boolean |
None. |
|
| AllowMonthlySubscription | boolean |
None. |
|
| RegistrationFee | decimal number |
None. |
|
| RegistrationFeeCode | string |
None. |
|
| AllowCoachingBundle | boolean |
None. |
|
| BundleMinQty | integer |
None. |
|
| BundleMaxQty | integer |
None. |
|
| ID | integer |
None. |
|
| GUID | globally unique identifier |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| ModifiedDate | date |
None. |
|
| DeletedBy | integer |
None. |
|
| DeletedDate | date |
None. |
|
| IsActive | boolean |
None. |
|
| IsDeleted | boolean |
None. |
|
| Remarks | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"LicenceID": 1,
"TenantID": 1,
"TenantOutletID": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"MaxParticipants": 4,
"CategoryID": 1,
"AllowPayAsYouGo": true,
"AllowMonthlySubscription": true,
"RegistrationFee": 1.0,
"RegistrationFeeCode": "sample string 5",
"AllowCoachingBundle": true,
"BundleMinQty": 1,
"BundleMaxQty": 1,
"ID": 6,
"GUID": "710309c1-99e9-4b4e-890f-2499e46c1756",
"CreatedBy": 8,
"CreatedDate": "2026-11-05T13:00:38.7880069+00:00",
"ModifiedBy": 10,
"ModifiedDate": "2026-11-05T13:00:38.7880069+00:00",
"DeletedBy": 11,
"DeletedDate": "2026-11-05T13:00:38.7880069+00:00",
"IsActive": true,
"IsDeleted": true,
"Remarks": "sample string 14"
}
text/xml
Sample:
<CoachingSessionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Timepeaker.WebApi.DTO">
<CreatedBy>8</CreatedBy>
<CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2026-11-05T13:00:38.7880069Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</CreatedDate>
<DeletedBy>11</DeletedBy>
<DeletedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2026-11-05T13:00:38.7880069Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</DeletedDate>
<GUID>710309c1-99e9-4b4e-890f-2499e46c1756</GUID>
<ID>6</ID>
<IsActive>true</IsActive>
<IsDeleted>true</IsDeleted>
<ModifiedBy>10</ModifiedBy>
<ModifiedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2026-11-05T13:00:38.7880069Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</ModifiedDate>
<Remarks>sample string 14</Remarks>
<AllowCoachingBundle>true</AllowCoachingBundle>
<AllowMonthlySubscription>true</AllowMonthlySubscription>
<AllowPayAsYouGo>true</AllowPayAsYouGo>
<BundleMaxQty>1</BundleMaxQty>
<BundleMinQty>1</BundleMinQty>
<CategoryID>1</CategoryID>
<Description>sample string 3</Description>
<LicenceID>1</LicenceID>
<MaxParticipants>4</MaxParticipants>
<Name>sample string 2</Name>
<RegistrationFee>1</RegistrationFee>
<RegistrationFeeCode>sample string 5</RegistrationFeeCode>
<TenantID>1</TenantID>
<TenantOutletID>1</TenantOutletID>
</CoachingSessionDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.