POST api/MultipleShaftTypeSelector/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

None.

Body Parameters

Collection of ShaftSelectionCriteria
NameDescriptionTypeAdditional information
swing_speed

decimal number

None.

trajectory

string

None.

dispersion

string

None.

weight

string

None.

IamHittingTooHigh

boolean

None.

IamHittingTooMuchOnTheRight

boolean

None.

DesiredShaftWeight

shafDesiredtWeight

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "swing_speed": 1.1,
    "trajectory": "sample string 2",
    "dispersion": "sample string 3",
    "weight": "sample string 4",
    "IamHittingTooHigh": true,
    "IamHittingTooMuchOnTheRight": false,
    "DesiredShaftWeight": 1
  },
  {
    "swing_speed": 1.1,
    "trajectory": "sample string 2",
    "dispersion": "sample string 3",
    "weight": "sample string 4",
    "IamHittingTooHigh": true,
    "IamHittingTooMuchOnTheRight": false,
    "DesiredShaftWeight": 1
  }
]

text/html

Sample:
[{"swing_speed":1.1,"trajectory":"sample string 2","dispersion":"sample string 3","weight":"sample string 4","IamHittingTooHigh":true,"IamHittingTooMuchOnTheRight":false,"DesiredShaftWeight":1},{"swing_speed":1.1,"trajectory":"sample string 2","dispersion":"sample string 3","weight":"sample string 4","IamHittingTooHigh":true,"IamHittingTooMuchOnTheRight":false,"DesiredShaftWeight":1}]

application/xml, text/xml

Sample:
<ArrayOfShaftSelectionCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TptGolfApi.Models">
  <ShaftSelectionCriteria>
    <dispersion>sample string 3</dispersion>
    <swing_speed>1.1</swing_speed>
    <trajectory>sample string 2</trajectory>
    <weight>sample string 4</weight>
  </ShaftSelectionCriteria>
  <ShaftSelectionCriteria>
    <dispersion>sample string 3</dispersion>
    <swing_speed>1.1</swing_speed>
    <trajectory>sample string 2</trajectory>
    <weight>sample string 4</weight>
  </ShaftSelectionCriteria>
</ArrayOfShaftSelectionCriteria>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json, text/html

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />