POST api/Subtension
Request Information
URI Parameters
None.
Body Parameters
SubtensionRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| profile | WebSolverProfile |
None. |
|
| subtensions_mils | Collection of decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"profile": {
"bd": 1.1,
"bw": 2.1,
"bl": 3.1,
"bc": 4.1,
"range": 5.1,
"heading": 6.1,
"incline": 7.1,
"latitude": 8.1,
"targetSpeed": 9.1,
"mv": 10.1,
"zeroRange": 11.1,
"sightHeight": 12.1,
"twistRate": 13.1,
"windSpeed": 14.1,
"windDirection": 15,
"temperature": 16.1,
"pressure": 17.1,
"humidity": 18,
"bulletId": 19,
"dragCurveType": "sample string 20",
"ssfWindage": 21.1,
"ssfElevation": 22.1,
"zeroHeight": 23.1,
"zeroOffset": 24.1,
"isRangeCard": true,
"rangeCard": {
"min": 1.1,
"max": 2.1,
"step": 3.1
}
},
"subtensions_mils": [
1.1,
2.1
]
}
application/xml, text/xml
Sample:
<SubtensionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AB.api.net.Models">
<profile>
<bc>4.1</bc>
<bd>1.1</bd>
<bl>3.1</bl>
<bulletId>19</bulletId>
<bw>2.1</bw>
<dragCurveType>sample string 20</dragCurveType>
<heading>6.1</heading>
<humidity>18</humidity>
<incline>7.1</incline>
<isRangeCard>true</isRangeCard>
<latitude>8.1</latitude>
<mv>10.1</mv>
<pressure>17.1</pressure>
<range>5.1</range>
<rangeCard>
<max>2.1</max>
<min>1.1</min>
<step>3.1</step>
</rangeCard>
<sightHeight>12.1</sightHeight>
<ssfElevation>22.1</ssfElevation>
<ssfWindage>21.1</ssfWindage>
<targetSpeed>9.1</targetSpeed>
<temperature>16.1</temperature>
<twistRate>13.1</twistRate>
<windDirection>15</windDirection>
<windSpeed>14.1</windSpeed>
<zeroHeight>23.1</zeroHeight>
<zeroOffset>24.1</zeroOffset>
<zeroRange>11.1</zeroRange>
</profile>
<subtensions_mils xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:double>1.1</d2p1:double>
<d2p1:double>2.1</d2p1:double>
</subtensions_mils>
</SubtensionRequest>
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.