GET api/ShaftType/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ShaftType
NameDescriptionTypeAdditional information
ItemId

integer

None.

Name

string

None.

Type

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ItemId": 1,
    "Name": "sample string 2",
    "Type": "sample string 3"
  },
  {
    "ItemId": 1,
    "Name": "sample string 2",
    "Type": "sample string 3"
  }
]

text/html

Sample:
[{"ItemId":1,"Name":"sample string 2","Type":"sample string 3"},{"ItemId":1,"Name":"sample string 2","Type":"sample string 3"}]

application/xml, text/xml

Sample:
<ArrayOfShaftType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TptGolfUtils.Models">
  <ShaftType>
    <ItemId>1</ItemId>
    <Name>sample string 2</Name>
    <Type>sample string 3</Type>
  </ShaftType>
  <ShaftType>
    <ItemId>1</ItemId>
    <Name>sample string 2</Name>
    <Type>sample string 3</Type>
  </ShaftType>
</ArrayOfShaftType>