POST api/ojt/AddUpdateOption
Request Information
URI Parameters
None.
Body Parameters
OJT_OptionMasterBAL| Name | Description | Type | Additional information |
|---|---|---|---|
| OptionID1 | integer |
None. |
|
| OptionID2 | integer |
None. |
|
| OptionID3 | integer |
None. |
|
| OptionID4 | integer |
None. |
|
| OptionID5 | integer |
None. |
|
| OptionID6 | integer |
None. |
|
| OptionName1 | string |
None. |
|
| OptionName2 | string |
None. |
|
| OptionName3 | string |
None. |
|
| OptionName4 | string |
None. |
|
| OptionName5 | string |
None. |
|
| OptionName6 | string |
None. |
|
| IsRight | integer |
None. |
|
| Weightage1 | integer |
None. |
|
| Weightage2 | integer |
None. |
|
| Weightage3 | integer |
None. |
|
| Weightage4 | integer |
None. |
|
| Weightage5 | integer |
None. |
|
| Weightage6 | integer |
None. |
|
| IsStrength1 | boolean |
None. |
|
| IsStrength2 | boolean |
None. |
|
| IsStrength3 | boolean |
None. |
|
| IsStrength4 | boolean |
None. |
|
| IsStrength5 | boolean |
None. |
|
| IsStrength6 | boolean |
None. |
|
| GroupCode | string |
None. |
|
| ClientID | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| ParameterID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"OptionID1": 1,
"OptionID2": 2,
"OptionID3": 3,
"OptionID4": 4,
"OptionID5": 5,
"OptionID6": 6,
"OptionName1": "sample string 7",
"OptionName2": "sample string 8",
"OptionName3": "sample string 9",
"OptionName4": "sample string 10",
"OptionName5": "sample string 11",
"OptionName6": "sample string 12",
"IsRight": 13,
"Weightage1": 14,
"Weightage2": 15,
"Weightage3": 16,
"Weightage4": 17,
"Weightage5": 18,
"Weightage6": 19,
"IsStrength1": true,
"IsStrength2": true,
"IsStrength3": true,
"IsStrength4": true,
"IsStrength5": true,
"IsStrength6": true,
"GroupCode": "sample string 26",
"ClientID": 27,
"CreatedBy": 28,
"ParameterID": 29
}
application/xml, text/xml
Sample:
<OJT_OptionMasterBAL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eAssessment.Repository.Models"> <ClientID>27</ClientID> <CreatedBy>28</CreatedBy> <GroupCode>sample string 26</GroupCode> <IsRight>13</IsRight> <IsStrength1>true</IsStrength1> <IsStrength2>true</IsStrength2> <IsStrength3>true</IsStrength3> <IsStrength4>true</IsStrength4> <IsStrength5>true</IsStrength5> <IsStrength6>true</IsStrength6> <OptionID1>1</OptionID1> <OptionID2>2</OptionID2> <OptionID3>3</OptionID3> <OptionID4>4</OptionID4> <OptionID5>5</OptionID5> <OptionID6>6</OptionID6> <OptionName1>sample string 7</OptionName1> <OptionName2>sample string 8</OptionName2> <OptionName3>sample string 9</OptionName3> <OptionName4>sample string 10</OptionName4> <OptionName5>sample string 11</OptionName5> <OptionName6>sample string 12</OptionName6> <ParameterID>29</ParameterID> <Weightage1>14</Weightage1> <Weightage2>15</Weightage2> <Weightage3>16</Weightage3> <Weightage4>17</Weightage4> <Weightage5>18</Weightage5> <Weightage6>19</Weightage6> </OJT_OptionMasterBAL>
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.