GET api/ShaftType/{id}?name={name}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| name | string |
Required |
|
| id | string |
None. |
Body Parameters
None.
Response Information
Resource Description
ShaftType| Name | Description | Type | Additional 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"
}
text/html
Sample:
{"ItemId":1,"Name":"sample string 2","Type":"sample string 3"}
application/xml, text/xml
Sample:
<ShaftType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TptGolfUtils.Models"> <ItemId>1</ItemId> <Name>sample string 2</Name> <Type>sample string 3</Type> </ShaftType>