POST api/ProfileQuestionOption

Request Information

URI Parameters

None.

Body Parameters

ProfileQuestionOption
NameDescriptionTypeAdditional information
RecordNo

integer

None.

Option

string

None.

ProfileQuestionsFK

integer

None.

CreatedOn

date

None.

UpdatedOn

date

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordNo": 1,
  "Option": "sample string 2",
  "ProfileQuestionsFK": 3,
  "CreatedOn": "2024-12-22T23:14:27.1750894+00:00",
  "UpdatedOn": "2024-12-22T23:14:27.1750894+00:00",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<ProfileQuestionOption xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models">
  <CreatedOn>2024-12-22T23:14:27.1750894+00:00</CreatedOn>
  <IsDeleted>true</IsDeleted>
  <Option>sample string 2</Option>
  <ProfileQuestionsFK>3</ProfileQuestionsFK>
  <RecordNo>1</RecordNo>
  <UpdatedOn>2024-12-22T23:14:27.1750894+00:00</UpdatedOn>
</ProfileQuestionOption>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.