PUT api/MockType

Request Information

URI Parameters

None.

Body Parameters

MockType
NameDescriptionTypeAdditional information
RecordNo

integer

None.

MockTypeName

string

None.

UpdatedOn

date

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordNo": 1,
  "MockTypeName": "sample string 2",
  "UpdatedOn": "2024-03-28T15:08:30.7508793+00:00",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<MockType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models">
  <CreatedOn>2024-03-28T15:08:30.7508793+00:00</CreatedOn>
  <IsDeleted>true</IsDeleted>
  <MockTypeName>sample string 2</MockTypeName>
  <RecordNo>1</RecordNo>
  <UpdatedOn>2024-03-28T15:08:30.7508793+00:00</UpdatedOn>
</MockType>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.