POST api/PoctLogin/QuestionBankChoiceAdd

Request Information

URI Parameters

None.

Body Parameters

QuestionBankChoiceAddModel
NameDescriptionTypeAdditional information
QuestionID

integer

None.

Choice

string

None.

PackageID

string

None.

ChoiceAnswer

boolean

None.

ChoiceText

string

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "QuestionID": 1,
  "Choice": "sample string 2",
  "PackageID": "sample string 3",
  "ChoiceAnswer": true,
  "ChoiceText": "sample string 5"
}

application/xml, text/xml

Sample:
<Login.QuestionBankChoiceAddModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoctAPI.Models">
  <Choice>sample string 2</Choice>
  <ChoiceAnswer>true</ChoiceAnswer>
  <ChoiceText>sample string 5</ChoiceText>
  <PackageID>sample string 3</PackageID>
  <QuestionID>1</QuestionID>
</Login.QuestionBankChoiceAddModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.