GET api/Exam/GetById/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Exam
NameDescriptionTypeAdditional information
ExamId

integer

None.

ExamName

string

None.

ExamDescription

string

None.

ALYear

integer

None.

IsModel

integer

None.

TrCode

string

None.

Hours

integer

None.

Minutes

integer

None.

Active

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "examId": 1,
  "examName": "sample string 2",
  "examDescription": "sample string 3",
  "alYear": 4,
  "isModel": 5,
  "trCode": "sample string 6",
  "hours": 7,
  "minutes": 8,
  "active": true
}

application/xml, text/xml

Sample:
<Exam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <ALYear>4</ALYear>
  <Active>true</Active>
  <ExamDescription>sample string 3</ExamDescription>
  <ExamId>1</ExamId>
  <ExamName>sample string 2</ExamName>
  <Hours>7</Hours>
  <IsModel>5</IsModel>
  <Minutes>8</Minutes>
  <TrCode>sample string 6</TrCode>
</Exam>