GET api/OrderDetails/GetOrderDetailsById/{Id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
OrderDetailsName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
OrderId | integer |
None. |
|
ProductId | integer |
None. |
|
Product | string |
None. |
|
SizeId | integer |
None. |
|
Size | string |
None. |
|
ColourId | integer |
None. |
|
Color | string |
None. |
|
Quantity | string |
None. |
|
Amount | decimal number |
None. |
|
Rate | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "OrderId": 2, "ProductId": 3, "Product": "sample string 4", "SizeId": 5, "Size": "sample string 6", "ColourId": 7, "Color": "sample string 8", "Quantity": "sample string 9", "Amount": 10.0, "Rate": 11.0 }
application/xml, text/xml
Sample:
<OrderDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EcommerceWebApi.Models"> <Amount>10</Amount> <Color>sample string 8</Color> <ColourId>7</ColourId> <Id>1</Id> <OrderId>2</OrderId> <Product>sample string 4</Product> <ProductId>3</ProductId> <Quantity>sample string 9</Quantity> <Rate>11</Rate> <Size>sample string 6</Size> <SizeId>5</SizeId> </OrderDetails>