POST api/prescheduledclasssessions/participations

Request Information

URI Parameters

None.

Body Parameters

ClassSessionParticipationRegisterRequest
NameDescriptionTypeAdditional information
SessionId

integer

None.

CuFlId

integer

None.

Source

ClassSessionParticipationSource

None.

PendingEntryId

integer

None.

IncludedCFPrId

integer

None.

PriceListId

integer

None.

SaleTypeId

integer

None.

UnitPrice

decimal number

None.

DiscountPercent

decimal number

None.

DiscountValue

decimal number

None.

BookingSourceId

integer

None.

Notes

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SessionId": 1,
  "CuFlId": 2,
  "Source": 1,
  "PendingEntryId": 3,
  "IncludedCFPrId": 4,
  "PriceListId": 5,
  "SaleTypeId": 6,
  "UnitPrice": 7.1,
  "DiscountPercent": 8.1,
  "DiscountValue": 9.1,
  "BookingSourceId": 10,
  "Notes": "sample string 11"
}

application/xml, text/xml

Sample:
<ClassSessionParticipationRegisterRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.SharedModels.WebModels">
  <BookingSourceId>10</BookingSourceId>
  <CuFlId>2</CuFlId>
  <DiscountPercent>8.1</DiscountPercent>
  <DiscountValue>9.1</DiscountValue>
  <IncludedCFPrId>4</IncludedCFPrId>
  <Notes>sample string 11</Notes>
  <PendingEntryId>3</PendingEntryId>
  <PriceListId>5</PriceListId>
  <SaleTypeId>6</SaleTypeId>
  <SessionId>1</SessionId>
  <Source>Pending</Source>
  <UnitPrice>7.1</UnitPrice>
</ClassSessionParticipationRegisterRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ClassSessionParticipationRegisterResponse
NameDescriptionTypeAdditional information
SessionId

integer

None.

EntryId

integer

None.

CFPrId

integer

None.

CuFlId

integer

None.

Source

ClassSessionParticipationSource

None.

Entry

PrescheduledClassSessionEntry

None.

Response Formats

application/json, text/json

Sample:
{
  "SessionId": 1,
  "EntryId": 2,
  "CFPrId": 3,
  "CuFlId": 4,
  "Source": 1,
  "Entry": {
    "Id": 1,
    "SessionId": 2,
    "CFPrId": 3,
    "CuFlId": 4,
    "ClassId": 5,
    "ClassDescription": "sample string 6",
    "RPlDate": "2026-08-18T04:41:07.4929415+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:07.4929415+03:00",
    "CancelledUserId": 16
  }
}

application/xml, text/xml

Sample:
<ClassSessionParticipationRegisterResponse 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:07.4929415+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:07.4929415+03:00</RPlDate>
    <SessionId>2</SessionId>
    <StartTimeSerial>8</StartTimeSerial>
  </Entry>
  <EntryId>2</EntryId>
  <SessionId>1</SessionId>
  <Source>Pending</Source>
</ClassSessionParticipationRegisterResponse>