POST api/QuestionMaster/UpdateQuestionMaster

Request Information

URI Parameters

None.

Body Parameters

QuestionMasterModel
NameDescriptionTypeAdditional information
Question_Id

integer

None.

Full_Question

string

None.

Short_Question

string

None.

Question_Type_Id

integer

None.

Question_Type_Name

string

None.

Question_Category_Name

string

None.

Question_Category_Id

integer

None.

Question_Aplicable_For_Weightage

boolean

None.

Weightage

string

None.

IsActive

boolean

None.

IsDeleted

boolean

None.

CreationDate

date

None.

ModifiedDate

date

None.

CreatedBy

integer

None.

ModifiedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Question_Id": 1,
  "Full_Question": "sample string 2",
  "Short_Question": "sample string 3",
  "Question_Type_Id": 4,
  "Question_Type_Name": "sample string 5",
  "Question_Category_Name": "sample string 6",
  "Question_Category_Id": 7,
  "Question_Aplicable_For_Weightage": true,
  "Weightage": "sample string 9",
  "IsActive": true,
  "IsDeleted": true,
  "CreationDate": "2024-12-23T02:49:07.2124803+05:30",
  "ModifiedDate": "2024-12-23T02:49:07.2124803+05:30",
  "CreatedBy": 13,
  "ModifiedBy": 1
}

application/xml, text/xml

Sample:
<QuestionMasterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProjectBLL.CustomModel">
  <CreatedBy>13</CreatedBy>
  <CreationDate>2024-12-23T02:49:07.2124803+05:30</CreationDate>
  <Full_Question>sample string 2</Full_Question>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedDate>2024-12-23T02:49:07.2124803+05:30</ModifiedDate>
  <Question_Aplicable_For_Weightage>true</Question_Aplicable_For_Weightage>
  <Question_Category_Id>7</Question_Category_Id>
  <Question_Category_Name>sample string 6</Question_Category_Name>
  <Question_Id>1</Question_Id>
  <Question_Type_Id>4</Question_Type_Id>
  <Question_Type_Name>sample string 5</Question_Type_Name>
  <Short_Question>sample string 3</Short_Question>
  <Weightage>sample string 9</Weightage>
</QuestionMasterModel>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>