POST Class
Request Information
URI Parameters
None.
Body Parameters
CreateClassName | Description | Type | Additional information |
---|---|---|---|
isVirtual | boolean |
None. |
|
virtualClassUrl | string |
None. |
|
maxCapacity | integer |
None. |
|
maxWaitlist | integer |
None. |
|
classDescription | string |
None. |
|
trainerId | integer |
None. |
|
subTypeId | integer |
None. |
|
subTypeName | string |
None. |
|
isRecurring | boolean |
None. |
|
recurringDates | Collection of string |
None. |
|
memberId | integer |
None. |
|
purposeId | integer |
None. |
|
purposeName | string |
None. |
|
startDate | date |
None. |
|
endDate | date |
None. |
|
comments | string |
None. |
|
trackMode | string |
None. |
|
centerId | integer |
None. |
|
roomId | integer |
None. |
|
roomName | string |
None. |
|
isoCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "isVirtual": true, "virtualClassUrl": "sample string 2", "maxCapacity": 3, "maxWaitlist": 4, "classDescription": "sample string 5", "trainerId": 6, "subTypeId": 7, "subTypeName": "sample string 8", "isRecurring": true, "recurringDates": [ "sample string 1", "sample string 2" ], "memberId": 10, "purposeId": 11, "purposeName": "sample string 12", "startDate": "2025-04-04T04:06:53.7067107+05:30", "endDate": "2025-04-04T04:06:53.7067107+05:30", "comments": "sample string 15", "trackMode": "sample string 16", "centerId": 17, "roomId": 18, "roomName": "sample string 19", "isoCode": "sample string 20" }
application/xml, text/xml
Sample:
<CreateClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FFB2BAPI.Models"> <centerId>17</centerId> <comments>sample string 15</comments> <endDate>2025-04-04T04:06:53.7067107+05:30</endDate> <isoCode>sample string 20</isoCode> <memberId>10</memberId> <purposeId>11</purposeId> <purposeName>sample string 12</purposeName> <roomId>18</roomId> <roomName>sample string 19</roomName> <startDate>2025-04-04T04:06:53.7067107+05:30</startDate> <trackMode>sample string 16</trackMode> <ClassDescription>sample string 5</ClassDescription> <IsRecurring>true</IsRecurring> <IsVirtual>true</IsVirtual> <MaxCapacity>3</MaxCapacity> <MaxWaitlist>4</MaxWaitlist> <RecurringDates xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </RecurringDates> <SubTypeId>7</SubTypeId> <SubTypeName>sample string 8</SubTypeName> <TrainerId>6</TrainerId> <VirtualClassUrl>sample string 2</VirtualClassUrl> </CreateClass>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |