POST api/CoachingSessionPrice
Request Information
URI Parameters
None.
Body Parameters
CoachingSessionPriceDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| CoachingSessionID | integer |
None. |
|
| EffectiveFrom | date |
None. |
|
| EffectiveTo | date |
None. |
|
| Description | string |
None. |
|
| LicenceID | integer |
None. |
|
| MembershipID | integer |
None. |
|
| Membership_Name | string |
None. |
|
| MembershipAgeGroupID | integer |
None. |
|
| MembershipAgeGroup_Name | string |
None. |
|
| Price | decimal number |
None. |
|
| PriceExclVat | decimal number |
None. |
|
| SystemCoachingSessionPriceTypeID | integer |
None. |
|
| SystemCoachingSessionPriceType_Name | string |
None. |
|
| Code | string |
None. |
|
| RegistrationFee | decimal number |
None. |
|
| RegistrationFeeExclVat | decimal number |
None. |
|
| RegistrationFeeCode | string |
None. |
|
| DurationInMonth | integer |
None. |
|
| AllowMonthlyPayment | boolean |
None. |
|
| AllowUpfrontPayment | boolean |
None. |
|
| UpfrontPaymentDiscountP | decimal number |
None. |
|
| UpfrontPrice | decimal number |
None. |
|
| UpfrontPriceExclVat | decimal number |
None. |
|
| AllowFirstMonthHalfPrice | boolean |
None. |
|
| AllowManualDiscount | boolean |
None. |
|
| MinManualDiscountP | decimal number |
None. |
|
| MaxManualDiscountP | decimal number |
None. |
|
| Quantity | 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:
{
"CoachingSessionID": 1,
"EffectiveFrom": "2026-11-05T11:25:03.3055654+00:00",
"EffectiveTo": "2026-11-05T11:25:03.3055654+00:00",
"Description": "sample string 2",
"LicenceID": 3,
"MembershipID": 1,
"Membership_Name": "sample string 4",
"MembershipAgeGroupID": 1,
"MembershipAgeGroup_Name": "sample string 5",
"Price": 1.0,
"PriceExclVat": 1.0,
"SystemCoachingSessionPriceTypeID": 1,
"SystemCoachingSessionPriceType_Name": "sample string 6",
"Code": "sample string 7",
"RegistrationFee": 1.0,
"RegistrationFeeExclVat": 1.0,
"RegistrationFeeCode": "sample string 8",
"DurationInMonth": 1,
"AllowMonthlyPayment": true,
"AllowUpfrontPayment": true,
"UpfrontPaymentDiscountP": 9.0,
"UpfrontPrice": 1.0,
"UpfrontPriceExclVat": 1.0,
"AllowFirstMonthHalfPrice": true,
"AllowManualDiscount": true,
"MinManualDiscountP": 1.0,
"MaxManualDiscountP": 1.0,
"Quantity": 1,
"ID": 10,
"GUID": "9f4cee43-a7dd-4607-92c9-8fbfe5a5950f",
"CreatedBy": 12,
"CreatedDate": "2026-11-05T11:25:03.3055654+00:00",
"ModifiedBy": 14,
"ModifiedDate": "2026-11-05T11:25:03.3055654+00:00",
"DeletedBy": 15,
"DeletedDate": "2026-11-05T11:25:03.3055654+00:00",
"IsActive": true,
"IsDeleted": true,
"Remarks": "sample string 18"
}
text/xml
Sample:
<CoachingSessionPriceDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Timepeaker.WebApi.DTO">
<CreatedBy>12</CreatedBy>
<CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2026-11-05T11:25:03.3055654Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</CreatedDate>
<DeletedBy>15</DeletedBy>
<DeletedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2026-11-05T11:25:03.3055654Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</DeletedDate>
<GUID>9f4cee43-a7dd-4607-92c9-8fbfe5a5950f</GUID>
<ID>10</ID>
<IsActive>true</IsActive>
<IsDeleted>true</IsDeleted>
<ModifiedBy>14</ModifiedBy>
<ModifiedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2026-11-05T11:25:03.3055654Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</ModifiedDate>
<Remarks>sample string 18</Remarks>
<AllowFirstMonthHalfPrice>true</AllowFirstMonthHalfPrice>
<AllowManualDiscount>true</AllowManualDiscount>
<AllowMonthlyPayment>true</AllowMonthlyPayment>
<AllowUpfrontPayment>true</AllowUpfrontPayment>
<CoachingSessionID>1</CoachingSessionID>
<Code>sample string 7</Code>
<Description>sample string 2</Description>
<DurationInMonth>1</DurationInMonth>
<EffectiveFrom xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2026-11-05T11:25:03.3055654Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</EffectiveFrom>
<EffectiveTo xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2026-11-05T11:25:03.3055654Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</EffectiveTo>
<LicenceID>3</LicenceID>
<MaxManualDiscountP>1</MaxManualDiscountP>
<MembershipAgeGroupID>1</MembershipAgeGroupID>
<MembershipAgeGroup_Name>sample string 5</MembershipAgeGroup_Name>
<MembershipID>1</MembershipID>
<Membership_Name>sample string 4</Membership_Name>
<MinManualDiscountP>1</MinManualDiscountP>
<Price>1</Price>
<PriceExclVat>1</PriceExclVat>
<Quantity>1</Quantity>
<RegistrationFee>1</RegistrationFee>
<RegistrationFeeCode>sample string 8</RegistrationFeeCode>
<RegistrationFeeExclVat>1</RegistrationFeeExclVat>
<SystemCoachingSessionPriceTypeID>1</SystemCoachingSessionPriceTypeID>
<SystemCoachingSessionPriceType_Name>sample string 6</SystemCoachingSessionPriceType_Name>
<UpfrontPaymentDiscountP>9</UpfrontPaymentDiscountP>
<UpfrontPrice>1</UpfrontPrice>
<UpfrontPriceExclVat>1</UpfrontPriceExclVat>
</CoachingSessionPriceDTO>
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.