POST api/AddExamReview

Request Information

URI Parameters

None.

Body Parameters

ExamReviewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Exam_Id

integer

None.

ExamReview

string

None.

Image

string

None.

Status

boolean

None.

Rating

decimal number

None.

DateStamp

string

None.

User_Id

integer

None.

Name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Exam_Id": 1,
  "ExamReview": "sample string 2",
  "Image": "sample string 3",
  "Status": true,
  "Rating": 1.0,
  "DateStamp": "sample string 4",
  "User_Id": 1,
  "Name": "sample string 5"
}

application/xml, text/xml

Sample:
<ExamReviewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VullamAPIProject.Models">
  <DateStamp>sample string 4</DateStamp>
  <ExamReview>sample string 2</ExamReview>
  <Exam_Id>1</Exam_Id>
  <Id>1</Id>
  <Image>sample string 3</Image>
  <Name>sample string 5</Name>
  <Rating>1</Rating>
  <Status>true</Status>
  <User_Id>1</User_Id>
</ExamReviewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>