POST api/prescheduledclasssessions/purchaseparticipation
Request Information
URI Parameters
None.
Body Parameters
PrescheduledClassSessionParticipationPurchaseRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| SessionId | integer |
None. |
|
| CuFlId | integer |
None. |
|
| PriceListId | integer |
None. |
|
| SaleTypeId | integer |
None. |
|
| UnitPrice | decimal number |
None. |
|
| DiscountPercent | decimal number |
None. |
|
| DiscountValue | decimal number |
None. |
|
| BookingSourceId | integer |
None. |
|
| LeaderId | integer |
None. |
|
| AssistantId | integer |
None. |
|
| Notes | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SessionId": 1,
"CuFlId": 2,
"PriceListId": 3,
"SaleTypeId": 4,
"UnitPrice": 5.1,
"DiscountPercent": 6.1,
"DiscountValue": 7.1,
"BookingSourceId": 8,
"LeaderId": 9,
"AssistantId": 10,
"Notes": "sample string 11"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PrescheduledClassSessionParticipationPurchaseResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| SessionId | integer |
None. |
|
| EntryId | integer |
None. |
|
| CFPrId | integer |
None. |
|
| CuFlId | integer |
None. |
|
| Entry | PrescheduledClassSessionEntry |
None. |
Response Formats
application/json, text/json
Sample:
{
"SessionId": 1,
"EntryId": 2,
"CFPrId": 3,
"CuFlId": 4,
"Entry": {
"Id": 1,
"SessionId": 2,
"CFPrId": 3,
"CuFlId": 4,
"ClassId": 5,
"ClassDescription": "sample string 6",
"RPlDate": "2026-11-16T01:50:59.4990001+02:00",
"StartTimeSerial": 8,
"EndTimeSerial": 9,
"Duration": 10,
"ProdType": 0,
"OperationalState": 0,
"FinancialState": 0,
"CFPrFinancialState": 0,
"EntryType": 0,
"CheckInState": 0,
"Price": 11.1,
"Notes": "sample string 12",
"CustomerAlias": "sample string 13",
"CustomerName": "sample string 14",
"CancelledDate": "2026-11-16T01:50:59.4990001+02:00",
"CancelledUserId": 16
}
}