POST api/prescheduledclasssessions/create
Request Information
URI Parameters
None.
Body Parameters
PrescheduledClassSessionsCreateRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| FromDate | date |
None. |
|
| ToDate | date |
None. |
|
| WeekDays | Collection of DayOfWeek |
None. |
|
| StartTime | date |
None. |
|
| EndTime | date |
None. |
|
| Duration | integer |
None. |
|
| ClassId | integer |
None. |
|
| RGId1 | integer |
None. |
|
| RGId2 | integer |
None. |
|
| RGId3 | integer |
None. |
|
| RescId1 | integer |
None. |
|
| RescId2 | integer |
None. |
|
| RescId3 | integer |
None. |
|
| MaxPositions | byte |
None. |
|
| Notes | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"FromDate": "2026-08-18T04:40:57.6575382+03:00",
"ToDate": "2026-08-18T04:40:57.6575382+03:00",
"WeekDays": [
0,
0
],
"StartTime": "2026-08-18T04:40:57.6575382+03:00",
"EndTime": "2026-08-18T04:40:57.6575382+03:00",
"Duration": 5,
"ClassId": 6,
"RGId1": 7,
"RGId2": 8,
"RGId3": 9,
"RescId1": 10,
"RescId2": 11,
"RescId3": 12,
"MaxPositions": 64,
"Notes": "sample string 14"
}
application/xml, text/xml
Sample:
<PrescheduledClassSessionsCreateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.SharedModels.WebModels">
<ClassId>6</ClassId>
<Duration>5</Duration>
<EndTime>2026-08-18T04:40:57.6575382+03:00</EndTime>
<FromDate>2026-08-18T04:40:57.6575382+03:00</FromDate>
<MaxPositions>64</MaxPositions>
<Notes>sample string 14</Notes>
<RGId1>7</RGId1>
<RGId2>8</RGId2>
<RGId3>9</RGId3>
<RescId1>10</RescId1>
<RescId2>11</RescId2>
<RescId3>12</RescId3>
<StartTime>2026-08-18T04:40:57.6575382+03:00</StartTime>
<ToDate>2026-08-18T04:40:57.6575382+03:00</ToDate>
<WeekDays xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DayOfWeek>Sunday</d2p1:DayOfWeek>
<d2p1:DayOfWeek>Sunday</d2p1:DayOfWeek>
</WeekDays>
</PrescheduledClassSessionsCreateRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PrescheduledClassSessionsCreateResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| CreatedSessionsCount | integer |
None. |
|
| CreatedSessionIds | Collection of integer |
None. |
|
| Sessions | Collection of PrescheduledClassSession |
None. |
Response Formats
application/json, text/json
Sample:
{
"CreatedSessionsCount": 1,
"CreatedSessionIds": [
1,
2
],
"Sessions": [
{
"Id": 1,
"PropertyId": 2,
"RequestDate": "2026-08-18T04:40:57.6731606+03:00",
"StartTimeSerial": 4,
"EndTimeSerial": 5,
"RGId1": 6,
"RGId2": 7,
"RGId3": 8,
"RescId1": 9,
"RescId2": 10,
"RescId3": 11,
"DeptId": 12,
"ClassId": 13,
"ClassDescription": "sample string 14",
"Duration": 15,
"TreatmentState": 0,
"OperationalState": 0,
"Extra1": 64,
"Extra2": 64,
"CancelledDate": "2026-08-18T04:40:57.6731606+03:00",
"CancelledUserId": 19,
"Notes": "sample string 20",
"ProdType": 0,
"ProdId": 21,
"DayOrder": 22,
"LineOrder": 23,
"BreakTime": 64,
"MaxPositions": 64,
"UsedPositions": 64,
"EntryType": 0,
"IsHidden": true,
"Entries": [
{
"Id": 1,
"SessionId": 2,
"CFPrId": 3,
"CuFlId": 4,
"ClassId": 5,
"ClassDescription": "sample string 6",
"RPlDate": "2026-08-18T04:40:57.6731606+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:40:57.6731606+03:00",
"CancelledUserId": 16
},
{
"Id": 1,
"SessionId": 2,
"CFPrId": 3,
"CuFlId": 4,
"ClassId": 5,
"ClassDescription": "sample string 6",
"RPlDate": "2026-08-18T04:40:57.6731606+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:40:57.6731606+03:00",
"CancelledUserId": 16
}
]
},
{
"Id": 1,
"PropertyId": 2,
"RequestDate": "2026-08-18T04:40:57.6731606+03:00",
"StartTimeSerial": 4,
"EndTimeSerial": 5,
"RGId1": 6,
"RGId2": 7,
"RGId3": 8,
"RescId1": 9,
"RescId2": 10,
"RescId3": 11,
"DeptId": 12,
"ClassId": 13,
"ClassDescription": "sample string 14",
"Duration": 15,
"TreatmentState": 0,
"OperationalState": 0,
"Extra1": 64,
"Extra2": 64,
"CancelledDate": "2026-08-18T04:40:57.6731606+03:00",
"CancelledUserId": 19,
"Notes": "sample string 20",
"ProdType": 0,
"ProdId": 21,
"DayOrder": 22,
"LineOrder": 23,
"BreakTime": 64,
"MaxPositions": 64,
"UsedPositions": 64,
"EntryType": 0,
"IsHidden": true,
"Entries": [
{
"Id": 1,
"SessionId": 2,
"CFPrId": 3,
"CuFlId": 4,
"ClassId": 5,
"ClassDescription": "sample string 6",
"RPlDate": "2026-08-18T04:40:57.6731606+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:40:57.6731606+03:00",
"CancelledUserId": 16
},
{
"Id": 1,
"SessionId": 2,
"CFPrId": 3,
"CuFlId": 4,
"ClassId": 5,
"ClassDescription": "sample string 6",
"RPlDate": "2026-08-18T04:40:57.6731606+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:40:57.6731606+03:00",
"CancelledUserId": 16
}
]
}
]
}
application/xml, text/xml
Sample:
<PrescheduledClassSessionsCreateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.SharedModels.WebModels">
<CreatedSessionIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</CreatedSessionIds>
<CreatedSessionsCount>1</CreatedSessionsCount>
<Sessions>
<PrescheduledClassSession>
<BreakTime>64</BreakTime>
<CancelledDate>2026-08-18T04:40:57.6731606+03:00</CancelledDate>
<CancelledUserId>19</CancelledUserId>
<ClassDescription>sample string 14</ClassDescription>
<ClassId>13</ClassId>
<DayOrder>22</DayOrder>
<DeptId>12</DeptId>
<Duration>15</Duration>
<EndTimeSerial>5</EndTimeSerial>
<Entries>
<PrescheduledClassSessionEntry>
<CFPrId>3</CFPrId>
<CancelledDate>2026-08-18T04:40:57.6731606+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:40:57.6731606+03:00</RPlDate>
<SessionId>2</SessionId>
<StartTimeSerial>8</StartTimeSerial>
</PrescheduledClassSessionEntry>
<PrescheduledClassSessionEntry>
<CFPrId>3</CFPrId>
<CancelledDate>2026-08-18T04:40:57.6731606+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:40:57.6731606+03:00</RPlDate>
<SessionId>2</SessionId>
<StartTimeSerial>8</StartTimeSerial>
</PrescheduledClassSessionEntry>
</Entries>
<EntryType>Single</EntryType>
<Extra1>64</Extra1>
<Extra2>64</Extra2>
<Id>1</Id>
<IsHidden>true</IsHidden>
<LineOrder>23</LineOrder>
<MaxPositions>64</MaxPositions>
<Notes>sample string 20</Notes>
<OperationalState>NoState</OperationalState>
<ProdId>21</ProdId>
<ProdType>PT_THERAPY</ProdType>
<PropertyId>2</PropertyId>
<RGId1>6</RGId1>
<RGId2>7</RGId2>
<RGId3>8</RGId3>
<RequestDate>2026-08-18T04:40:57.6731606+03:00</RequestDate>
<RescId1>9</RescId1>
<RescId2>10</RescId2>
<RescId3>11</RescId3>
<StartTimeSerial>4</StartTimeSerial>
<TreatmentState>NoState</TreatmentState>
<UsedPositions>64</UsedPositions>
</PrescheduledClassSession>
<PrescheduledClassSession>
<BreakTime>64</BreakTime>
<CancelledDate>2026-08-18T04:40:57.6731606+03:00</CancelledDate>
<CancelledUserId>19</CancelledUserId>
<ClassDescription>sample string 14</ClassDescription>
<ClassId>13</ClassId>
<DayOrder>22</DayOrder>
<DeptId>12</DeptId>
<Duration>15</Duration>
<EndTimeSerial>5</EndTimeSerial>
<Entries>
<PrescheduledClassSessionEntry>
<CFPrId>3</CFPrId>
<CancelledDate>2026-08-18T04:40:57.6731606+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:40:57.6731606+03:00</RPlDate>
<SessionId>2</SessionId>
<StartTimeSerial>8</StartTimeSerial>
</PrescheduledClassSessionEntry>
<PrescheduledClassSessionEntry>
<CFPrId>3</CFPrId>
<CancelledDate>2026-08-18T04:40:57.6731606+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:40:57.6731606+03:00</RPlDate>
<SessionId>2</SessionId>
<StartTimeSerial>8</StartTimeSerial>
</PrescheduledClassSessionEntry>
</Entries>
<EntryType>Single</EntryType>
<Extra1>64</Extra1>
<Extra2>64</Extra2>
<Id>1</Id>
<IsHidden>true</IsHidden>
<LineOrder>23</LineOrder>
<MaxPositions>64</MaxPositions>
<Notes>sample string 20</Notes>
<OperationalState>NoState</OperationalState>
<ProdId>21</ProdId>
<ProdType>PT_THERAPY</ProdType>
<PropertyId>2</PropertyId>
<RGId1>6</RGId1>
<RGId2>7</RGId2>
<RGId3>8</RGId3>
<RequestDate>2026-08-18T04:40:57.6731606+03:00</RequestDate>
<RescId1>9</RescId1>
<RescId2>10</RescId2>
<RescId3>11</RescId3>
<StartTimeSerial>4</StartTimeSerial>
<TreatmentState>NoState</TreatmentState>
<UsedPositions>64</UsedPositions>
</PrescheduledClassSession>
</Sessions>
</PrescheduledClassSessionsCreateResponse>