POST api/ShaftTypeSelector/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

None.

Body Parameters

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
}

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}

application/xml, text/xml

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

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/" />