POST api/DeleteDistTest

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objDistTest
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "OnlineTestID": 1,
  "OnlineTestNo": "sample string 2",
  "TestSeriesID": 3,
  "TestSeries": "sample string 4",
  "TestTypeID": 5,
  "TestType": "sample string 6",
  "TestName": "sample string 7",
  "TestDuration": "sample string 8",
  "SessionID": 9,
  "StreamID": [
    1,
    2,
    3
  ],
  "CourseID": [
    1,
    2,
    3
  ],
  "BatchID": [
    1,
    2,
    3
  ],
  "SubjectID": [
    1,
    2,
    3
  ],
  "Topic": "sample string 10",
  "Instructions": "sample string 11",
  "TestMarks": "sample string 12",
  "PassingPercentage": "sample string 13",
  "IsNegativeMarking": true,
  "StartDate": "sample string 15",
  "StartTime": "sample string 16",
  "EndDate": "sample string 17",
  "EndTime": "sample string 18",
  "IsVisible": true,
  "IsActive": true,
  "CreatedByUserID": 21,
  "CreatedOnDate": "2024-12-03T13:47:28.9234431+05:30",
  "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
    }
  ],
  "Subject": [
    {
      "SubjectID": 1,
      "Subject": "sample string 2"
    },
    {
      "SubjectID": 1,
      "Subject": "sample string 2"
    },
    {
      "SubjectID": 1,
      "Subject": "sample string 2"
    }
  ],
  "IsTestGiven": 23
}

text/html

Sample:
{"OnlineTestID":1,"OnlineTestNo":"sample string 2","TestSeriesID":3,"TestSeries":"sample string 4","TestTypeID":5,"TestType":"sample string 6","TestName":"sample string 7","TestDuration":"sample string 8","SessionID":9,"StreamID":[1,2,3],"CourseID":[1,2,3],"BatchID":[1,2,3],"SubjectID":[1,2,3],"Topic":"sample string 10","Instructions":"sample string 11","TestMarks":"sample string 12","PassingPercentage":"sample string 13","IsNegativeMarking":true,"StartDate":"sample string 15","StartTime":"sample string 16","EndDate":"sample string 17","EndTime":"sample string 18","IsVisible":true,"IsActive":true,"CreatedByUserID":21,"CreatedOnDate":"2024-12-03T13:47:28.9234431+05:30","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}],"Subject":[{"SubjectID":1,"Subject":"sample string 2"},{"SubjectID":1,"Subject":"sample string 2"},{"SubjectID":1,"Subject":"sample string 2"}],"IsTestGiven":23}

application/xml, text/xml

Sample:
<DistTestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModels.DistanceTest">
  <Batch xmlns:d2p1="http://schemas.datacontract.org/2004/07/ViewModels.Master">
    <d2p1:BatchViewModel>
      <d2p1:Batch>sample string 2</d2p1:Batch>
      <d2p1:BatchID>1</d2p1:BatchID>
      <d2p1:CourseID>3</d2p1:CourseID>
    </d2p1:BatchViewModel>
    <d2p1:BatchViewModel>
      <d2p1:Batch>sample string 2</d2p1:Batch>
      <d2p1:BatchID>1</d2p1:BatchID>
      <d2p1:CourseID>3</d2p1:CourseID>
    </d2p1:BatchViewModel>
    <d2p1:BatchViewModel>
      <d2p1:Batch>sample string 2</d2p1:Batch>
      <d2p1:BatchID>1</d2p1:BatchID>
      <d2p1:CourseID>3</d2p1:CourseID>
    </d2p1: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 xmlns:d2p1="http://schemas.datacontract.org/2004/07/ViewModels.Master">
    <d2p1:CourseViewModel>
      <d2p1:Banner1>sample string 20</d2p1:Banner1>
      <d2p1:Banner2>sample string 21</d2p1:Banner2>
      <d2p1:Course>sample string 2</d2p1:Course>
      <d2p1:CourseDuration>sample string 12</d2p1:CourseDuration>
      <d2p1:CourseID>1</d2p1:CourseID>
      <d2p1:CourseType>sample string 27</d2p1:CourseType>
      <d2p1:CourseTypeID>24</d2p1:CourseTypeID>
      <d2p1:CourseValidity>sample string 16</d2p1:CourseValidity>
      <d2p1:DemoVideoLink>sample string 22</d2p1:DemoVideoLink>
      <d2p1:ExpiryDate>sample string 7</d2p1:ExpiryDate>
      <d2p1:Faculty>sample string 26</d2p1:Faculty>
      <d2p1:FacultyID>sample string 19</d2p1:FacultyID>
      <d2p1:InstallmentFees>sample string 6</d2p1:InstallmentFees>
      <d2p1:LongDescription1>sample string 9</d2p1:LongDescription1>
      <d2p1:LongDescription2>sample string 10</d2p1:LongDescription2>
      <d2p1:LumpsumFees>sample string 5</d2p1:LumpsumFees>
      <d2p1:ShortDescription>sample string 8</d2p1:ShortDescription>
      <d2p1:Stream>sample string 4</d2p1:Stream>
      <d2p1:StreamID>3</d2p1:StreamID>
      <d2p1:Subject>sample string 25</d2p1:Subject>
      <d2p1:SubjectID>sample string 18</d2p1:SubjectID>
      <d2p1:SummaryVideoLink>sample string 23</d2p1:SummaryVideoLink>
      <d2p1:TotalDPPs>sample string 13</d2p1:TotalDPPs>
      <d2p1:TotalLectureHours>sample string 17</d2p1:TotalLectureHours>
      <d2p1:TotalLectures>sample string 11</d2p1:TotalLectures>
      <d2p1:TotalQuestions>sample string 15</d2p1:TotalQuestions>
      <d2p1:TotalTests>sample string 14</d2p1:TotalTests>
    </d2p1:CourseViewModel>
    <d2p1:CourseViewModel>
      <d2p1:Banner1>sample string 20</d2p1:Banner1>
      <d2p1:Banner2>sample string 21</d2p1:Banner2>
      <d2p1:Course>sample string 2</d2p1:Course>
      <d2p1:CourseDuration>sample string 12</d2p1:CourseDuration>
      <d2p1:CourseID>1</d2p1:CourseID>
      <d2p1:CourseType>sample string 27</d2p1:CourseType>
      <d2p1:CourseTypeID>24</d2p1:CourseTypeID>
      <d2p1:CourseValidity>sample string 16</d2p1:CourseValidity>
      <d2p1:DemoVideoLink>sample string 22</d2p1:DemoVideoLink>
      <d2p1:ExpiryDate>sample string 7</d2p1:ExpiryDate>
      <d2p1:Faculty>sample string 26</d2p1:Faculty>
      <d2p1:FacultyID>sample string 19</d2p1:FacultyID>
      <d2p1:InstallmentFees>sample string 6</d2p1:InstallmentFees>
      <d2p1:LongDescription1>sample string 9</d2p1:LongDescription1>
      <d2p1:LongDescription2>sample string 10</d2p1:LongDescription2>
      <d2p1:LumpsumFees>sample string 5</d2p1:LumpsumFees>
      <d2p1:ShortDescription>sample string 8</d2p1:ShortDescription>
      <d2p1:Stream>sample string 4</d2p1:Stream>
      <d2p1:StreamID>3</d2p1:StreamID>
      <d2p1:Subject>sample string 25</d2p1:Subject>
      <d2p1:SubjectID>sample string 18</d2p1:SubjectID>
      <d2p1:SummaryVideoLink>sample string 23</d2p1:SummaryVideoLink>
      <d2p1:TotalDPPs>sample string 13</d2p1:TotalDPPs>
      <d2p1:TotalLectureHours>sample string 17</d2p1:TotalLectureHours>
      <d2p1:TotalLectures>sample string 11</d2p1:TotalLectures>
      <d2p1:TotalQuestions>sample string 15</d2p1:TotalQuestions>
      <d2p1:TotalTests>sample string 14</d2p1:TotalTests>
    </d2p1:CourseViewModel>
    <d2p1:CourseViewModel>
      <d2p1:Banner1>sample string 20</d2p1:Banner1>
      <d2p1:Banner2>sample string 21</d2p1:Banner2>
      <d2p1:Course>sample string 2</d2p1:Course>
      <d2p1:CourseDuration>sample string 12</d2p1:CourseDuration>
      <d2p1:CourseID>1</d2p1:CourseID>
      <d2p1:CourseType>sample string 27</d2p1:CourseType>
      <d2p1:CourseTypeID>24</d2p1:CourseTypeID>
      <d2p1:CourseValidity>sample string 16</d2p1:CourseValidity>
      <d2p1:DemoVideoLink>sample string 22</d2p1:DemoVideoLink>
      <d2p1:ExpiryDate>sample string 7</d2p1:ExpiryDate>
      <d2p1:Faculty>sample string 26</d2p1:Faculty>
      <d2p1:FacultyID>sample string 19</d2p1:FacultyID>
      <d2p1:InstallmentFees>sample string 6</d2p1:InstallmentFees>
      <d2p1:LongDescription1>sample string 9</d2p1:LongDescription1>
      <d2p1:LongDescription2>sample string 10</d2p1:LongDescription2>
      <d2p1:LumpsumFees>sample string 5</d2p1:LumpsumFees>
      <d2p1:ShortDescription>sample string 8</d2p1:ShortDescription>
      <d2p1:Stream>sample string 4</d2p1:Stream>
      <d2p1:StreamID>3</d2p1:StreamID>
      <d2p1:Subject>sample string 25</d2p1:Subject>
      <d2p1:SubjectID>sample string 18</d2p1:SubjectID>
      <d2p1:SummaryVideoLink>sample string 23</d2p1:SummaryVideoLink>
      <d2p1:TotalDPPs>sample string 13</d2p1:TotalDPPs>
      <d2p1:TotalLectureHours>sample string 17</d2p1:TotalLectureHours>
      <d2p1:TotalLectures>sample string 11</d2p1:TotalLectures>
      <d2p1:TotalQuestions>sample string 15</d2p1:TotalQuestions>
      <d2p1:TotalTests>sample string 14</d2p1:TotalTests>
    </d2p1: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>
  <CreatedByUserID>21</CreatedByUserID>
  <CreatedOnDate>2024-12-03T13:47:28.9234431+05:30</CreatedOnDate>
  <EndDate>sample string 17</EndDate>
  <EndTime>sample string 18</EndTime>
  <Instructions>sample string 11</Instructions>
  <IsActive>true</IsActive>
  <IsNegativeMarking>true</IsNegativeMarking>
  <IsTestGiven>23</IsTestGiven>
  <IsVisible>true</IsVisible>
  <OnlineTestID>1</OnlineTestID>
  <OnlineTestNo>sample string 2</OnlineTestNo>
  <PassingPercentage>sample string 13</PassingPercentage>
  <SessionID>9</SessionID>
  <StartDate>sample string 15</StartDate>
  <StartTime>sample string 16</StartTime>
  <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 xmlns:d2p1="http://schemas.datacontract.org/2004/07/ViewModels.Master">
    <d2p1:SubjectViewModel>
      <d2p1:Subject>sample string 2</d2p1:Subject>
      <d2p1:SubjectID>1</d2p1:SubjectID>
    </d2p1:SubjectViewModel>
    <d2p1:SubjectViewModel>
      <d2p1:Subject>sample string 2</d2p1:Subject>
      <d2p1:SubjectID>1</d2p1:SubjectID>
    </d2p1:SubjectViewModel>
    <d2p1:SubjectViewModel>
      <d2p1:Subject>sample string 2</d2p1:Subject>
      <d2p1:SubjectID>1</d2p1:SubjectID>
    </d2p1:SubjectViewModel>
  </Subject>
  <SubjectID 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>
  </SubjectID>
  <TestDuration>sample string 8</TestDuration>
  <TestMarks>sample string 12</TestMarks>
  <TestName>sample string 7</TestName>
  <TestSeries>sample string 4</TestSeries>
  <TestSeriesID>3</TestSeriesID>
  <TestType>sample string 6</TestType>
  <TestTypeID>5</TestTypeID>
  <Topic>sample string 10</Topic>
</DistTestViewModel>

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 'DistTestViewModel'.