POST api/DeleteTopic

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objTopic
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "TopicID": 1,
  "Topic": "sample string 2",
  "Description": "sample string 3",
  "SubjectID": 4,
  "Subject": "sample string 5",
  "SessionID": 6,
  "Session": "sample string 7",
  "StreamID": [
    1,
    2,
    3
  ],
  "CourseID": [
    1,
    2,
    3
  ],
  "BatchID": [
    1,
    2,
    3
  ],
  "IsActive": true,
  "Course": [
    {
      "CourseID": 1,
      "Course": "sample string 2",
      "StreamID": 3,
      "Stream": "sample string 4",
      "LumpsumFees": "sample string 5",
      "InstallmentFees": "sample string 6",
      "ExpiryDate": "sample string 7",
      "ShortDescription": "sample string 8",
      "LongDescription1": "sample string 9",
      "LongDescription2": "sample string 10",
      "TotalLectures": "sample string 11",
      "CourseDuration": "sample string 12",
      "TotalDPPs": "sample string 13",
      "TotalTests": "sample string 14",
      "TotalQuestions": "sample string 15",
      "CourseValidity": "sample string 16",
      "TotalLectureHours": "sample string 17",
      "SubjectID": "sample string 18",
      "FacultyID": "sample string 19",
      "Banner1": "sample string 20",
      "Banner2": "sample string 21",
      "DemoVideoLink": "sample string 22",
      "SummaryVideoLink": "sample string 23",
      "CourseTypeID": 24,
      "Subject": "sample string 25",
      "Faculty": "sample string 26",
      "CourseType": "sample string 27"
    },
    {
      "CourseID": 1,
      "Course": "sample string 2",
      "StreamID": 3,
      "Stream": "sample string 4",
      "LumpsumFees": "sample string 5",
      "InstallmentFees": "sample string 6",
      "ExpiryDate": "sample string 7",
      "ShortDescription": "sample string 8",
      "LongDescription1": "sample string 9",
      "LongDescription2": "sample string 10",
      "TotalLectures": "sample string 11",
      "CourseDuration": "sample string 12",
      "TotalDPPs": "sample string 13",
      "TotalTests": "sample string 14",
      "TotalQuestions": "sample string 15",
      "CourseValidity": "sample string 16",
      "TotalLectureHours": "sample string 17",
      "SubjectID": "sample string 18",
      "FacultyID": "sample string 19",
      "Banner1": "sample string 20",
      "Banner2": "sample string 21",
      "DemoVideoLink": "sample string 22",
      "SummaryVideoLink": "sample string 23",
      "CourseTypeID": 24,
      "Subject": "sample string 25",
      "Faculty": "sample string 26",
      "CourseType": "sample string 27"
    },
    {
      "CourseID": 1,
      "Course": "sample string 2",
      "StreamID": 3,
      "Stream": "sample string 4",
      "LumpsumFees": "sample string 5",
      "InstallmentFees": "sample string 6",
      "ExpiryDate": "sample string 7",
      "ShortDescription": "sample string 8",
      "LongDescription1": "sample string 9",
      "LongDescription2": "sample string 10",
      "TotalLectures": "sample string 11",
      "CourseDuration": "sample string 12",
      "TotalDPPs": "sample string 13",
      "TotalTests": "sample string 14",
      "TotalQuestions": "sample string 15",
      "CourseValidity": "sample string 16",
      "TotalLectureHours": "sample string 17",
      "SubjectID": "sample string 18",
      "FacultyID": "sample string 19",
      "Banner1": "sample string 20",
      "Banner2": "sample string 21",
      "DemoVideoLink": "sample string 22",
      "SummaryVideoLink": "sample string 23",
      "CourseTypeID": 24,
      "Subject": "sample string 25",
      "Faculty": "sample string 26",
      "CourseType": "sample string 27"
    }
  ],
  "Batch": [
    {
      "BatchID": 1,
      "Batch": "sample string 2",
      "CourseID": 3
    },
    {
      "BatchID": 1,
      "Batch": "sample string 2",
      "CourseID": 3
    },
    {
      "BatchID": 1,
      "Batch": "sample string 2",
      "CourseID": 3
    }
  ]
}

text/html

Sample:
{"TopicID":1,"Topic":"sample string 2","Description":"sample string 3","SubjectID":4,"Subject":"sample string 5","SessionID":6,"Session":"sample string 7","StreamID":[1,2,3],"CourseID":[1,2,3],"BatchID":[1,2,3],"IsActive":true,"Course":[{"CourseID":1,"Course":"sample string 2","StreamID":3,"Stream":"sample string 4","LumpsumFees":"sample string 5","InstallmentFees":"sample string 6","ExpiryDate":"sample string 7","ShortDescription":"sample string 8","LongDescription1":"sample string 9","LongDescription2":"sample string 10","TotalLectures":"sample string 11","CourseDuration":"sample string 12","TotalDPPs":"sample string 13","TotalTests":"sample string 14","TotalQuestions":"sample string 15","CourseValidity":"sample string 16","TotalLectureHours":"sample string 17","SubjectID":"sample string 18","FacultyID":"sample string 19","Banner1":"sample string 20","Banner2":"sample string 21","DemoVideoLink":"sample string 22","SummaryVideoLink":"sample string 23","CourseTypeID":24,"Subject":"sample string 25","Faculty":"sample string 26","CourseType":"sample string 27"},{"CourseID":1,"Course":"sample string 2","StreamID":3,"Stream":"sample string 4","LumpsumFees":"sample string 5","InstallmentFees":"sample string 6","ExpiryDate":"sample string 7","ShortDescription":"sample string 8","LongDescription1":"sample string 9","LongDescription2":"sample string 10","TotalLectures":"sample string 11","CourseDuration":"sample string 12","TotalDPPs":"sample string 13","TotalTests":"sample string 14","TotalQuestions":"sample string 15","CourseValidity":"sample string 16","TotalLectureHours":"sample string 17","SubjectID":"sample string 18","FacultyID":"sample string 19","Banner1":"sample string 20","Banner2":"sample string 21","DemoVideoLink":"sample string 22","SummaryVideoLink":"sample string 23","CourseTypeID":24,"Subject":"sample string 25","Faculty":"sample string 26","CourseType":"sample string 27"},{"CourseID":1,"Course":"sample string 2","StreamID":3,"Stream":"sample string 4","LumpsumFees":"sample string 5","InstallmentFees":"sample string 6","ExpiryDate":"sample string 7","ShortDescription":"sample string 8","LongDescription1":"sample string 9","LongDescription2":"sample string 10","TotalLectures":"sample string 11","CourseDuration":"sample string 12","TotalDPPs":"sample string 13","TotalTests":"sample string 14","TotalQuestions":"sample string 15","CourseValidity":"sample string 16","TotalLectureHours":"sample string 17","SubjectID":"sample string 18","FacultyID":"sample string 19","Banner1":"sample string 20","Banner2":"sample string 21","DemoVideoLink":"sample string 22","SummaryVideoLink":"sample string 23","CourseTypeID":24,"Subject":"sample string 25","Faculty":"sample string 26","CourseType":"sample string 27"}],"Batch":[{"BatchID":1,"Batch":"sample string 2","CourseID":3},{"BatchID":1,"Batch":"sample string 2","CourseID":3},{"BatchID":1,"Batch":"sample string 2","CourseID":3}]}

application/xml, text/xml

Sample:
<TopicViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModels.Master">
  <Batch>
    <BatchViewModel>
      <Batch>sample string 2</Batch>
      <BatchID>1</BatchID>
      <CourseID>3</CourseID>
    </BatchViewModel>
    <BatchViewModel>
      <Batch>sample string 2</Batch>
      <BatchID>1</BatchID>
      <CourseID>3</CourseID>
    </BatchViewModel>
    <BatchViewModel>
      <Batch>sample string 2</Batch>
      <BatchID>1</BatchID>
      <CourseID>3</CourseID>
    </BatchViewModel>
  </Batch>
  <BatchID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
    <d2p1:int>3</d2p1:int>
  </BatchID>
  <Course>
    <CourseViewModel>
      <Banner1>sample string 20</Banner1>
      <Banner2>sample string 21</Banner2>
      <Course>sample string 2</Course>
      <CourseDuration>sample string 12</CourseDuration>
      <CourseID>1</CourseID>
      <CourseType>sample string 27</CourseType>
      <CourseTypeID>24</CourseTypeID>
      <CourseValidity>sample string 16</CourseValidity>
      <DemoVideoLink>sample string 22</DemoVideoLink>
      <ExpiryDate>sample string 7</ExpiryDate>
      <Faculty>sample string 26</Faculty>
      <FacultyID>sample string 19</FacultyID>
      <InstallmentFees>sample string 6</InstallmentFees>
      <LongDescription1>sample string 9</LongDescription1>
      <LongDescription2>sample string 10</LongDescription2>
      <LumpsumFees>sample string 5</LumpsumFees>
      <ShortDescription>sample string 8</ShortDescription>
      <Stream>sample string 4</Stream>
      <StreamID>3</StreamID>
      <Subject>sample string 25</Subject>
      <SubjectID>sample string 18</SubjectID>
      <SummaryVideoLink>sample string 23</SummaryVideoLink>
      <TotalDPPs>sample string 13</TotalDPPs>
      <TotalLectureHours>sample string 17</TotalLectureHours>
      <TotalLectures>sample string 11</TotalLectures>
      <TotalQuestions>sample string 15</TotalQuestions>
      <TotalTests>sample string 14</TotalTests>
    </CourseViewModel>
    <CourseViewModel>
      <Banner1>sample string 20</Banner1>
      <Banner2>sample string 21</Banner2>
      <Course>sample string 2</Course>
      <CourseDuration>sample string 12</CourseDuration>
      <CourseID>1</CourseID>
      <CourseType>sample string 27</CourseType>
      <CourseTypeID>24</CourseTypeID>
      <CourseValidity>sample string 16</CourseValidity>
      <DemoVideoLink>sample string 22</DemoVideoLink>
      <ExpiryDate>sample string 7</ExpiryDate>
      <Faculty>sample string 26</Faculty>
      <FacultyID>sample string 19</FacultyID>
      <InstallmentFees>sample string 6</InstallmentFees>
      <LongDescription1>sample string 9</LongDescription1>
      <LongDescription2>sample string 10</LongDescription2>
      <LumpsumFees>sample string 5</LumpsumFees>
      <ShortDescription>sample string 8</ShortDescription>
      <Stream>sample string 4</Stream>
      <StreamID>3</StreamID>
      <Subject>sample string 25</Subject>
      <SubjectID>sample string 18</SubjectID>
      <SummaryVideoLink>sample string 23</SummaryVideoLink>
      <TotalDPPs>sample string 13</TotalDPPs>
      <TotalLectureHours>sample string 17</TotalLectureHours>
      <TotalLectures>sample string 11</TotalLectures>
      <TotalQuestions>sample string 15</TotalQuestions>
      <TotalTests>sample string 14</TotalTests>
    </CourseViewModel>
    <CourseViewModel>
      <Banner1>sample string 20</Banner1>
      <Banner2>sample string 21</Banner2>
      <Course>sample string 2</Course>
      <CourseDuration>sample string 12</CourseDuration>
      <CourseID>1</CourseID>
      <CourseType>sample string 27</CourseType>
      <CourseTypeID>24</CourseTypeID>
      <CourseValidity>sample string 16</CourseValidity>
      <DemoVideoLink>sample string 22</DemoVideoLink>
      <ExpiryDate>sample string 7</ExpiryDate>
      <Faculty>sample string 26</Faculty>
      <FacultyID>sample string 19</FacultyID>
      <InstallmentFees>sample string 6</InstallmentFees>
      <LongDescription1>sample string 9</LongDescription1>
      <LongDescription2>sample string 10</LongDescription2>
      <LumpsumFees>sample string 5</LumpsumFees>
      <ShortDescription>sample string 8</ShortDescription>
      <Stream>sample string 4</Stream>
      <StreamID>3</StreamID>
      <Subject>sample string 25</Subject>
      <SubjectID>sample string 18</SubjectID>
      <SummaryVideoLink>sample string 23</SummaryVideoLink>
      <TotalDPPs>sample string 13</TotalDPPs>
      <TotalLectureHours>sample string 17</TotalLectureHours>
      <TotalLectures>sample string 11</TotalLectures>
      <TotalQuestions>sample string 15</TotalQuestions>
      <TotalTests>sample string 14</TotalTests>
    </CourseViewModel>
  </Course>
  <CourseID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
    <d2p1:int>3</d2p1:int>
  </CourseID>
  <Description>sample string 3</Description>
  <IsActive>true</IsActive>
  <Session>sample string 7</Session>
  <SessionID>6</SessionID>
  <StreamID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
    <d2p1:int>3</d2p1:int>
  </StreamID>
  <Subject>sample string 5</Subject>
  <SubjectID>4</SubjectID>
  <Topic>sample string 2</Topic>
  <TopicID>1</TopicID>
</TopicViewModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TopicViewModel'.