PUT api/BugReport

Request Information

URI Parameters

None.

Body Parameters

BugReport
NameDescriptionTypeAdditional information
RecordNo

integer

None.

Problem

string

None.

Name

string

None.

Email

string

None.

MockTestFK

integer

None.

QuestionFK

integer

None.

AspNetUsersFK

integer

None.

CreatedOn

date

None.

UpdatedOn

date

None.

IsDeleted

boolean

None.

ResolvedBy

integer

None.

ResolvedNotes

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordNo": 1,
  "Problem": "sample string 2",
  "Name": "sample string 3",
  "Email": "sample string 4",
  "MockTestFK": 5,
  "QuestionFK": 6,
  "AspNetUsersFK": 7,
  "CreatedOn": "2021-10-16T15:25:31.4969501+00:00",
  "UpdatedOn": "2021-10-16T15:25:31.4969501+00:00",
  "IsDeleted": true,
  "ResolvedBy": 10,
  "ResolvedNotes": "sample string 11"
}

application/xml, text/xml

Sample:
<BugReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models">
  <AspNetUsersFK>7</AspNetUsersFK>
  <CreatedOn>2021-10-16T15:25:31.4969501+00:00</CreatedOn>
  <Email>sample string 4</Email>
  <IsDeleted>true</IsDeleted>
  <MockTestFK>5</MockTestFK>
  <Name>sample string 3</Name>
  <Problem>sample string 2</Problem>
  <QuestionFK>6</QuestionFK>
  <RecordNo>1</RecordNo>
  <ResolvedBy>10</ResolvedBy>
  <ResolvedNotes>sample string 11</ResolvedNotes>
  <UpdatedOn>2021-10-16T15:25:31.4969501+00:00</UpdatedOn>
</BugReport>

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 'BugReport'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.