GET api/CurrentProductList/{id}
Returns a CurrentProductList record based on specified ID
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of CurrentProductList data |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CurrentProductListData| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductID | integer |
None. |
|
| ProductName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ProductID": 1,
"ProductName": "sample string 2"
}
text/xml
Sample:
<CurrentProductListData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NorthwindAPI.Models"> <ProductID>1</ProductID> <ProductName>sample string 2</ProductName> </CurrentProductListData>