POST api/exams/save-unit-test-master

Request Information

URI Parameters

None.

Body Parameters

SaveUnitTestMasterRequest
NameDescriptionTypeAdditional information
UnitTestID

integer

None.

UnitTestName

string

None.

Description

string

None.

YearID

integer

None.

ClassID

integer

None.

TestType

string

None.

SchoolID

integer

None.

IsActive

boolean

None.

IsDelete

boolean

None.

IsReExam

integer

None.

ReExamTestId

integer

None.

GraceMarks

integer

None.

IsRegularTest

boolean

None.

RegularTestType

string

None.

WeekDay

string

None.

MonthDayNumber

string

None.

ExamCategoryId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UnitTestID": 1,
  "UnitTestName": "sample string 2",
  "Description": "sample string 3",
  "YearID": 4,
  "ClassID": 5,
  "TestType": "sample string 6",
  "SchoolID": 7,
  "IsActive": true,
  "IsDelete": true,
  "IsReExam": 10,
  "ReExamTestId": 11,
  "GraceMarks": 12,
  "IsRegularTest": true,
  "RegularTestType": "sample string 14",
  "WeekDay": "sample string 15",
  "MonthDayNumber": "sample string 16",
  "ExamCategoryId": 17
}

application/xml, text/xml

Sample:
<SaveUnitTestMasterRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoapToRestAPI.Controllers">
  <ClassID>5</ClassID>
  <Description>sample string 3</Description>
  <ExamCategoryId>17</ExamCategoryId>
  <GraceMarks>12</GraceMarks>
  <IsActive>true</IsActive>
  <IsDelete>true</IsDelete>
  <IsReExam>10</IsReExam>
  <IsRegularTest>true</IsRegularTest>
  <MonthDayNumber>sample string 16</MonthDayNumber>
  <ReExamTestId>11</ReExamTestId>
  <RegularTestType>sample string 14</RegularTestType>
  <SchoolID>7</SchoolID>
  <TestType>sample string 6</TestType>
  <UnitTestID>1</UnitTestID>
  <UnitTestName>sample string 2</UnitTestName>
  <WeekDay>sample string 15</WeekDay>
  <YearID>4</YearID>
</SaveUnitTestMasterRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.