GET api/OrderDetailsExtended/{id}
Returns a OrderDetailsExtended record based on specified ID
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of OrderDetailsExtended data |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
OrderDetailsExtendedData| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderID | integer |
None. |
|
| ProductID | integer |
None. |
|
| ProductName | string |
None. |
|
| UnitPrice | decimal number |
None. |
|
| Quantity | integer |
None. |
|
| Discount | decimal number |
None. |
|
| ExtendedPrice | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"OrderID": 1,
"ProductID": 2,
"ProductName": "sample string 3",
"UnitPrice": 4.0,
"Quantity": 5,
"Discount": 6.1,
"ExtendedPrice": 7.0
}
text/xml
Sample:
<OrderDetailsExtendedData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NorthwindAPI.Models"> <Discount>6.1</Discount> <ExtendedPrice>7</ExtendedPrice> <OrderID>1</OrderID> <ProductID>2</ProductID> <ProductName>sample string 3</ProductName> <Quantity>5</Quantity> <UnitPrice>4</UnitPrice> </OrderDetailsExtendedData>