POST api/MockTestQuestionGroup

Request Information

URI Parameters

None.

Body Parameters

MockTestQuestionGroup
NameDescriptionTypeAdditional information
RecordNo

integer

None.

QuestionFK

integer

None.

GroupFK

integer

None.

CreatedOn

date

None.

UpdatedOn

date

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordNo": 1,
  "QuestionFK": 2,
  "GroupFK": 3,
  "CreatedOn": "2021-08-05T08:51:32.6076796+00:00",
  "UpdatedOn": "2021-08-05T08:51:32.6076796+00:00",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<MockTestQuestionGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models">
  <CreatedOn>2021-08-05T08:51:32.6076796+00:00</CreatedOn>
  <GroupFK>3</GroupFK>
  <IsDeleted>true</IsDeleted>
  <QuestionFK>2</QuestionFK>
  <RecordNo>1</RecordNo>
  <UpdatedOn>2021-08-05T08:51:32.6076796+00:00</UpdatedOn>
</MockTestQuestionGroup>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MockTestQuestionGroup'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.