GET api/OrderSubtotals?filterExpression={filterExpression}

Returns list of all OrderSubtotals Data based on specified criteria

Request Information

URI Parameters

NameDescriptionTypeAdditional information
filterExpression

Filter expression/criteria

string

Required

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>