POST api/PoctLogin/BookCourseAdd
Request Information
URI Parameters
None.
Body Parameters
CourseModelName | Description | Type | Additional information |
---|---|---|---|
CourseID | string |
None. |
|
ExamBody | string |
None. |
|
CourseTitle | string |
None. |
|
Description | string |
None. |
|
Topic | string |
None. |
|
Image | string |
None. |
|
Price | decimal number |
None. |
|
SeatBookingPrice | decimal number |
None. |
|
Discount | decimal number |
None. |
|
AppDiscount | decimal number |
None. |
|
TopicCount | integer |
None. |
|
Tag | string |
None. |
|
RootType | string |
None. |
|
Type | string |
None. |
|
StatndAlong | boolean |
None. |
|
Duration | integer |
None. |
|
Faculty | string |
None. |
|
StartDate | date |
None. |
|
AdmissionStart | date |
None. |
|
Subscriber | integer |
None. |
|
PDFUrl | string |
None. |
|
SyllabusPdf | string |
None. |
|
MetaTitle | string |
None. |
|
MetaDescription | string |
None. |
|
BatchId | integer |
None. |
|
OrderNo | integer |
None. |
|
TitleHeading | string |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{ "CourseID": "sample string 1", "ExamBody": "sample string 2", "CourseTitle": "sample string 3", "Description": "sample string 4", "Topic": "sample string 5", "Image": "sample string 6", "Price": 1.0, "SeatBookingPrice": 1.0, "Discount": 1.0, "AppDiscount": 1.0, "TopicCount": 1, "Tag": "sample string 7", "RootType": "sample string 8", "Type": "sample string 9", "StatndAlong": true, "Duration": 1, "Faculty": "sample string 10", "StartDate": "2024-10-09T03:08:24.1831077+05:00", "AdmissionStart": "2024-10-09T03:08:24.1831077+05:00", "Subscriber": 1, "PDFUrl": "sample string 11", "SyllabusPdf": "sample string 12", "MetaTitle": "sample string 13", "MetaDescription": "sample string 14", "BatchId": 15, "OrderNo": 16, "TitleHeading": "sample string 17" }
application/xml, text/xml
Sample:
<Login.CourseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoctAPI.Models"> <AdmissionStart>2024-10-09T03:08:24.1831077+05:00</AdmissionStart> <AppDiscount>1</AppDiscount> <BatchId>15</BatchId> <CourseID>sample string 1</CourseID> <CourseTitle>sample string 3</CourseTitle> <Description>sample string 4</Description> <Discount>1</Discount> <Duration>1</Duration> <ExamBody>sample string 2</ExamBody> <Faculty>sample string 10</Faculty> <Image>sample string 6</Image> <MetaDescription>sample string 14</MetaDescription> <MetaTitle>sample string 13</MetaTitle> <OrderNo>16</OrderNo> <PDFUrl>sample string 11</PDFUrl> <Price>1</Price> <RootType>sample string 8</RootType> <SeatBookingPrice>1</SeatBookingPrice> <StartDate>2024-10-09T03:08:24.1831077+05:00</StartDate> <StatndAlong>true</StatndAlong> <Subscriber>1</Subscriber> <SyllabusPdf>sample string 12</SyllabusPdf> <Tag>sample string 7</Tag> <TitleHeading>sample string 17</TitleHeading> <Topic>sample string 5</Topic> <TopicCount>1</TopicCount> <Type>sample string 9</Type> </Login.CourseModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.