GET api/mynewroute/{stockCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| stockCode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
TestReturnObject| Name | Description | Type | Additional information |
|---|---|---|---|
| StockCode | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"StockCode": "sample string 1"
}
text/html
Sample:
{"StockCode":"sample string 1"}
application/xml, text/xml
Sample:
<TestReturnObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bullseye_API.Controllers"> <StockCode>sample string 1</StockCode> </TestReturnObject>