GET api/ProductColor/GetProductColorById/{Id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ProductColorName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
ProductId | integer |
None. |
|
ColorId | integer |
None. |
|
Color | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "ProductId": 2, "ColorId": 3, "Color": "sample string 4" }
application/xml, text/xml
Sample:
<ProductColor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EcommerceWebApi.Models"> <Color>sample string 4</Color> <ColorId>3</ColorId> <Id>1</Id> <ProductId>2</ProductId> </ProductColor>