POST api/Exam/AddExam

Request Information

URI Parameters

None.

Body Parameters

AddExamDTO
NameDescriptionTypeAdditional information
examType

integer

None.

facultyId

integer

None.

courseId

integer

None.

examName

string

None.

examCode

string

None.

isEntrance

boolean

None.

createdByUserId

integer

None.

isActive

boolean

None.

totalQuestions

integer

None.

timer

integer

None.

minimumAnswers

integer

None.

results

Collection of AddExamResultsDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "examType": 1,
  "facultyId": 2,
  "courseId": 3,
  "examName": "sample string 4",
  "examCode": "sample string 5",
  "isEntrance": true,
  "createdByUserId": 1,
  "isActive": true,
  "totalQuestions": 1,
  "timer": 1,
  "minimumAnswers": 1,
  "results": [
    {
      "fromRange": 1.0,
      "toRange": 2.0,
      "description": "sample string 3"
    },
    {
      "fromRange": 1.0,
      "toRange": 2.0,
      "description": "sample string 3"
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true