PUT api/ProfileQuestions

Request Information

URI Parameters

None.

Body Parameters

ProfileQuestions
NameDescriptionTypeAdditional information
RecordNo

integer

None.

QuestionName

string

None.

QuestionOption

string

None.

CreatedOn

date

None.

UpdatedOn

date

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordNo": 1,
  "QuestionName": "sample string 2",
  "QuestionOption": "sample string 3",
  "CreatedOn": "2021-07-29T06:05:04.5590225+00:00",
  "UpdatedOn": "2021-07-29T06:05:04.5590225+00:00",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<ProfileQuestions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models">
  <CreatedOn>2021-07-29T06:05:04.5590225+00:00</CreatedOn>
  <IsDeleted>true</IsDeleted>
  <QuestionName>sample string 2</QuestionName>
  <QuestionOption>sample string 3</QuestionOption>
  <RecordNo>1</RecordNo>
  <UpdatedOn>2021-07-29T06:05:04.5590225+00:00</UpdatedOn>
</ProfileQuestions>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.