POST api/Options?userID={userID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userID | integer |
Required |
Body Parameters
POptions| Name | Description | Type | Additional information |
|---|---|---|---|
| ProjectID | integer |
None. |
|
| FuelCost | decimal number |
None. |
|
| LagDays | integer |
None. |
|
| TaskActMinDu | integer |
None. |
|
| MobilizationDu | integer |
None. |
|
| AdFixDu | integer |
None. |
|
| MHead | string |
None. |
|
| NoRec | decimal number |
None. |
|
| ISGovt | integer |
None. |
|
| IsLocked | boolean |
None. |
|
| HrPerDay | integer |
None. |
|
| GrpPerMonth | integer |
None. |
|
| BID | integer |
None. |
|
| CurrencyID | integer |
None. |
|
| ConvRate | decimal number |
None. |
|
| FuelCost_Forex | decimal number |
None. |
|
| CaptiveMode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProjectID": 1,
"FuelCost": 2.1,
"LagDays": 3,
"TaskActMinDu": 4,
"MobilizationDu": 5,
"AdFixDu": 6,
"MHead": "sample string 7",
"NoRec": 8.1,
"ISGovt": 9,
"IsLocked": true,
"HrPerDay": 11,
"GrpPerMonth": 12,
"BID": 13,
"CurrencyID": 14,
"ConvRate": 15.1,
"FuelCost_Forex": 16.1,
"CaptiveMode": 17
}
application/xml, text/xml
Sample:
<POptions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Login.Models"> <AdFixDu>6</AdFixDu> <BID>13</BID> <CaptiveMode>17</CaptiveMode> <ConvRate>15.1</ConvRate> <CurrencyID>14</CurrencyID> <FuelCost>2.1</FuelCost> <FuelCost_Forex>16.1</FuelCost_Forex> <GrpPerMonth>12</GrpPerMonth> <HrPerDay>11</HrPerDay> <ISGovt>9</ISGovt> <IsLocked>true</IsLocked> <LagDays>3</LagDays> <MHead>sample string 7</MHead> <MobilizationDu>5</MobilizationDu> <NoRec>8.1</NoRec> <ProjectID>1</ProjectID> <TaskActMinDu>4</TaskActMinDu> </POptions>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |