GET api/Shaft/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Shaft| Name | Description | Type | Additional information |
|---|---|---|---|
| SerialNumber | string |
None. |
|
| ValidSerialNumber | boolean |
None. |
|
| Model | string |
None. |
|
| Customer | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"SerialNumber": "sample string 1",
"ValidSerialNumber": true,
"Model": "sample string 3",
"Customer": "sample string 4"
}
text/html
Sample:
{"SerialNumber":"sample string 1","ValidSerialNumber":true,"Model":"sample string 3","Customer":"sample string 4"}
application/xml, text/xml
Sample:
<Shaft xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TptGolfApi.Models"> <Customer>sample string 4</Customer> <Model>sample string 3</Model> <SerialNumber>sample string 1</SerialNumber> <ValidSerialNumber>true</ValidSerialNumber> </Shaft>