PUT api/MockTestReadingContent

Request Information

URI Parameters

None.

Body Parameters

MockTestReadingContent
NameDescriptionTypeAdditional information
RecordNo

integer

None.

Name

string

None.

Content

string

None.

SortOrder

integer

None.

MockTestFK

integer

None.

Notes

string

None.

CreatedOn

date

None.

UpdatedOn

date

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordNo": 1,
  "Name": "sample string 2",
  "Content": "sample string 3",
  "SortOrder": 4,
  "MockTestFK": 5,
  "Notes": "sample string 6",
  "CreatedOn": "2024-03-28T17:21:00.7183791+00:00",
  "UpdatedOn": "2024-03-28T17:21:00.7183791+00:00",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<MockTestReadingContent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models">
  <Content>sample string 3</Content>
  <CreatedOn>2024-03-28T17:21:00.7183791+00:00</CreatedOn>
  <IsDeleted>true</IsDeleted>
  <MockTestFK>5</MockTestFK>
  <Name>sample string 2</Name>
  <Notes>sample string 6</Notes>
  <RecordNo>1</RecordNo>
  <SortOrder>4</SortOrder>
  <UpdatedOn>2024-03-28T17:21:00.7183791+00:00</UpdatedOn>
</MockTestReadingContent>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.