GET api/SizeRate/GetSizeRateByProductId/{Id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SizeRateName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
ProductId | integer |
None. |
|
SizeId | integer |
None. |
|
Size | string |
None. |
|
Rate | string |
None. |
|
Status | string |
None. |
|
Instock | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "ProductId": 2, "SizeId": 3, "Size": "sample string 4", "Rate": "sample string 5", "Status": "sample string 6", "Instock": "sample string 7" }, { "Id": 1, "ProductId": 2, "SizeId": 3, "Size": "sample string 4", "Rate": "sample string 5", "Status": "sample string 6", "Instock": "sample string 7" } ]
application/xml, text/xml
Sample:
<ArrayOfSizeRate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EcommerceWebApi.Models"> <SizeRate> <Id>1</Id> <Instock>sample string 7</Instock> <ProductId>2</ProductId> <Rate>sample string 5</Rate> <Size>sample string 4</Size> <SizeId>3</SizeId> <Status>sample string 6</Status> </SizeRate> <SizeRate> <Id>1</Id> <Instock>sample string 7</Instock> <ProductId>2</ProductId> <Rate>sample string 5</Rate> <Size>sample string 4</Size> <SizeId>3</SizeId> <Status>sample string 6</Status> </SizeRate> </ArrayOfSizeRate>