GET api/OrderSubtotals

Returns list of all OrderSubtotals Data

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of OrderSubtotalsData
NameDescriptionTypeAdditional information
OrderID

integer

None.

Subtotal

decimal number

None.

Response Formats

application/json, text/json

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

text/xml

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