POST TrainingQuestion/Update
Request Information
URI Parameters
None.
Body Parameters
UpdateQueDataParamName | Description | Type | Additional information |
---|---|---|---|
training_quest_mast_id | string |
None. |
|
training_quest | string |
None. |
|
insertAns | Collection of displayAnsData |
None. |
Request Formats
application/json, text/json
Sample:
{ "training_quest_mast_id": "sample string 1", "training_quest": "sample string 2", "insertAns": [ { "training_ans_mast_id": "sample string 1", "training_ans": "sample string 2", "correct_ans": true }, { "training_ans_mast_id": "sample string 1", "training_ans": "sample string 2", "correct_ans": true } ] }
application/xml, text/xml
Sample:
<UpdateQueDataParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <insertAns> <displayAnsData> <correct_ans>true</correct_ans> <training_ans>sample string 2</training_ans> <training_ans_mast_id>sample string 1</training_ans_mast_id> </displayAnsData> <displayAnsData> <correct_ans>true</correct_ans> <training_ans>sample string 2</training_ans> <training_ans_mast_id>sample string 1</training_ans_mast_id> </displayAnsData> </insertAns> <training_quest>sample string 2</training_quest> <training_quest_mast_id>sample string 1</training_quest_mast_id> </UpdateQueDataParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.