POST api/Admin/SaveExams

Request Information

URI Parameters

None.

Body Parameters

ExamModel
NameDescriptionTypeAdditional information
ExamId

integer

None.

ExamName

string

None.

PassingPercentage

decimal number

None.

Instruction

string

None.

Syllabus

string

None.

ExamDuration

integer

None.

AttemptCount

integer

None.

StartDate

date

None.

EndDate

date

None.

ShowAnswerSheet

boolean

None.

GroupId

integer

None.

NegativeMarking

boolean

None.

RandomQuestion

boolean

None.

BrowserTolerance

boolean

None.

ResultAfterFinish

boolean

None.

Mode

boolean

None.

InstantResult

boolean

None.

OptionShuffle

boolean

None.

Description

string

None.

Amount

decimal number

None.

CreatedBy

integer

None.

ExamImagePath

string

None.

IsUniversityExam

integer

None.

SubGroupId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ExamId": 1,
  "ExamName": "sample string 2",
  "PassingPercentage": 3.0,
  "Instruction": "sample string 4",
  "Syllabus": "sample string 5",
  "ExamDuration": 6,
  "AttemptCount": 7,
  "StartDate": "2026-04-06T13:19:37.3666005+02:00",
  "EndDate": "2026-04-06T13:19:37.3666005+02:00",
  "ShowAnswerSheet": true,
  "GroupId": 11,
  "NegativeMarking": true,
  "RandomQuestion": true,
  "BrowserTolerance": true,
  "ResultAfterFinish": true,
  "Mode": true,
  "InstantResult": true,
  "OptionShuffle": true,
  "Description": "sample string 19",
  "Amount": 20.0,
  "CreatedBy": 21,
  "ExamImagePath": "sample string 22",
  "IsUniversityExam": 23,
  "SubGroupId": 24
}

application/xml, text/xml

Sample:
<ExamModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TestSeriesServices.Models">
  <Amount>20</Amount>
  <AttemptCount>7</AttemptCount>
  <BrowserTolerance>true</BrowserTolerance>
  <CreatedBy>21</CreatedBy>
  <Description>sample string 19</Description>
  <EndDate>2026-04-06T13:19:37.3666005+02:00</EndDate>
  <ExamDuration>6</ExamDuration>
  <ExamId>1</ExamId>
  <ExamImagePath>sample string 22</ExamImagePath>
  <ExamName>sample string 2</ExamName>
  <GroupId>11</GroupId>
  <InstantResult>true</InstantResult>
  <Instruction>sample string 4</Instruction>
  <IsUniversityExam>23</IsUniversityExam>
  <Mode>true</Mode>
  <NegativeMarking>true</NegativeMarking>
  <OptionShuffle>true</OptionShuffle>
  <PassingPercentage>3</PassingPercentage>
  <RandomQuestion>true</RandomQuestion>
  <ResultAfterFinish>true</ResultAfterFinish>
  <ShowAnswerSheet>true</ShowAnswerSheet>
  <StartDate>2026-04-06T13:19:37.3666005+02:00</StartDate>
  <SubGroupId>24</SubGroupId>
  <Syllabus>sample string 5</Syllabus>
</ExamModel>

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.