GET api/Values/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
OrderModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderID | integer |
None. |
|
| CustomerID | integer |
None. |
|
| CustomerName | string |
None. |
|
| OrderDate | string |
None. |
|
| Total | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"OrderID": 1,
"CustomerID": 2,
"CustomerName": "sample string 3",
"OrderDate": "sample string 4",
"Total": 5.1
}
application/xml, text/xml
Sample:
<OrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiCore.Models"> <CustomerID>2</CustomerID> <CustomerName>sample string 3</CustomerName> <OrderDate>sample string 4</OrderDate> <OrderID>1</OrderID> <Total>5.1</Total> </OrderModel>