PUT api/TestType

Request Information

URI Parameters

None.

Body Parameters

TestType
NameDescriptionTypeAdditional information
RecordNo

integer

None.

TestTypeName

string

None.

SortOrder

integer

None.

IsStudent

boolean

None.

UpdatedOn

date

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordNo": 1,
  "TestTypeName": "sample string 2",
  "SortOrder": 3,
  "IsStudent": true,
  "UpdatedOn": "2021-10-16T15:39:43.691128+00:00",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<TestType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models">
  <CreatedOn>2021-10-16T15:39:43.691128+00:00</CreatedOn>
  <IsDeleted>true</IsDeleted>
  <IsStudent>true</IsStudent>
  <RecordNo>1</RecordNo>
  <SortOrder>3</SortOrder>
  <TestTypeName>sample string 2</TestTypeName>
  <UpdatedOn>2021-10-16T15:39:43.691128+00:00</UpdatedOn>
</TestType>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.