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/xml, text/xml
Sample:
<PrescheduledClassSessionParticipationPurchaseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.SharedModels.WebModels"> <AssistantId>10</AssistantId> <BookingSourceId>8</BookingSourceId> <CuFlId>2</CuFlId> <DiscountPercent>6.1</DiscountPercent> <DiscountValue>7.1</DiscountValue> <LeaderId>9</LeaderId> <Notes>sample string 11</Notes> <PriceListId>3</PriceListId> <SaleTypeId>4</SaleTypeId> <SessionId>1</SessionId> <UnitPrice>5.1</UnitPrice> </PrescheduledClassSessionParticipationPurchaseRequest>
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-08-18T04:41:42.8677753+03:00",
"StartTimeSerial": 8,
"EndTimeSerial": 9,
"Duration": 10,
"ProdType": 0,
"OperationalState": 0,
"FinancialState": 0,
"EntryType": 0,
"CheckInState": 0,
"Price": 11.1,
"Notes": "sample string 12",
"CustomerAlias": "sample string 13",
"CustomerName": "sample string 14",
"CancelledDate": "2026-08-18T04:41:42.8677753+03:00",
"CancelledUserId": 16
}
}
application/xml, text/xml
Sample:
<PrescheduledClassSessionParticipationPurchaseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.SharedModels.WebModels">
<CFPrId>3</CFPrId>
<CuFlId>4</CuFlId>
<Entry>
<CFPrId>3</CFPrId>
<CancelledDate>2026-08-18T04:41:42.8677753+03:00</CancelledDate>
<CancelledUserId>16</CancelledUserId>
<CheckInState>NotCheckedIn</CheckInState>
<ClassDescription>sample string 6</ClassDescription>
<ClassId>5</ClassId>
<CuFlId>4</CuFlId>
<CustomerAlias>sample string 13</CustomerAlias>
<CustomerName>sample string 14</CustomerName>
<Duration>10</Duration>
<EndTimeSerial>9</EndTimeSerial>
<EntryType>Single</EntryType>
<FinancialState>NOFIST_</FinancialState>
<Id>1</Id>
<Notes>sample string 12</Notes>
<OperationalState>NoState</OperationalState>
<Price>11.1</Price>
<ProdType>PT_THERAPY</ProdType>
<RPlDate>2026-08-18T04:41:42.8677753+03:00</RPlDate>
<SessionId>2</SessionId>
<StartTimeSerial>8</StartTimeSerial>
</Entry>
<EntryId>2</EntryId>
<SessionId>1</SessionId>
</PrescheduledClassSessionParticipationPurchaseResponse>