GET api/OrderSubtotals/{id}

Returns a OrderSubtotals record based on specified ID

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of OrderSubtotals data

integer

Required

Body Parameters

None.

Response Information

Resource Description

OrderSubtotalsData
NameDescriptionTypeAdditional information
OrderID

integer

None.

Subtotal

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "OrderID": 1,
  "Subtotal": 2.0
}

text/xml

Sample:
<OrderSubtotalsData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NorthwindAPI.Models">
  <OrderID>1</OrderID>
  <Subtotal>2</Subtotal>
</OrderSubtotalsData>