POST api/Exam
Request Information
URI Parameters
None.
Body Parameters
ExamName | Description | Type | Additional 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. |
Request 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>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>