GET api/Chef/GetChefOrderItemsToDate?OrderDateTime={OrderDateTime}&oItemStatus={oItemStatus}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
OrderDateTime

date

Required

oItemStatus

OrderStatus

Required

Body Parameters

None.

Response Information

Resource Description

Collection of R_ChefOrderItem
NameDescriptionTypeAdditional information
OrderID

integer

None.

FoodID

integer

None.

RegionID

integer

None.

ListingID

integer

None.

RequiredDateTime

date

None.

FoodName

string

None.

ImageURL

string

None.

ListingName

string

None.

Quantity

integer

None.

Cost

decimal number

None.

TotalCost

decimal number

None.

PortionSize

PortionSize

None.

OrederedDateTime

date

None.

LastStatusChangeDate

date

None.

OrderStatus

OrderStatus

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "orderID": 1,
    "foodID": 2,
    "regionID": 3,
    "listingID": 4,
    "requiredDateTime": "2019-07-23T18:04:13.9041724-07:00",
    "foodName": "sample string 6",
    "imageURL": "sample string 7",
    "listingName": "sample string 8",
    "quantity": 9,
    "cost": 10.0,
    "totalCost": 11.0,
    "portionSize": "SMALL",
    "orederedDateTime": "2019-07-23T18:04:13.9041724-07:00",
    "lastStatusChangeDate": "2019-07-23T18:04:13.9041724-07:00",
    "orderStatus": "PENDING"
  },
  {
    "orderID": 1,
    "foodID": 2,
    "regionID": 3,
    "listingID": 4,
    "requiredDateTime": "2019-07-23T18:04:13.9041724-07:00",
    "foodName": "sample string 6",
    "imageURL": "sample string 7",
    "listingName": "sample string 8",
    "quantity": 9,
    "cost": 10.0,
    "totalCost": 11.0,
    "portionSize": "SMALL",
    "orederedDateTime": "2019-07-23T18:04:13.9041724-07:00",
    "lastStatusChangeDate": "2019-07-23T18:04:13.9041724-07:00",
    "orderStatus": "PENDING"
  }
]

application/xml, text/xml

Sample:
<ArrayOfR_ChefOrderItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures">
  <R_ChefOrderItem>
    <Cost>10</Cost>
    <FoodID>2</FoodID>
    <FoodName>sample string 6</FoodName>
    <ImageURL>sample string 7</ImageURL>
    <LastStatusChangeDate>2019-07-23T18:04:13.9041724-07:00</LastStatusChangeDate>
    <ListingID>4</ListingID>
    <ListingName>sample string 8</ListingName>
    <OrderID>1</OrderID>
    <OrderStatus>PENDING</OrderStatus>
    <OrederedDateTime>2019-07-23T18:04:13.9041724-07:00</OrederedDateTime>
    <PortionSize>SMALL</PortionSize>
    <Quantity>9</Quantity>
    <RegionID>3</RegionID>
    <RequiredDateTime>2019-07-23T18:04:13.9041724-07:00</RequiredDateTime>
    <TotalCost>11</TotalCost>
  </R_ChefOrderItem>
  <R_ChefOrderItem>
    <Cost>10</Cost>
    <FoodID>2</FoodID>
    <FoodName>sample string 6</FoodName>
    <ImageURL>sample string 7</ImageURL>
    <LastStatusChangeDate>2019-07-23T18:04:13.9041724-07:00</LastStatusChangeDate>
    <ListingID>4</ListingID>
    <ListingName>sample string 8</ListingName>
    <OrderID>1</OrderID>
    <OrderStatus>PENDING</OrderStatus>
    <OrederedDateTime>2019-07-23T18:04:13.9041724-07:00</OrederedDateTime>
    <PortionSize>SMALL</PortionSize>
    <Quantity>9</Quantity>
    <RegionID>3</RegionID>
    <RequiredDateTime>2019-07-23T18:04:13.9041724-07:00</RequiredDateTime>
    <TotalCost>11</TotalCost>
  </R_ChefOrderItem>
</ArrayOfR_ChefOrderItem>

multipart/form-data

Sample:
<ArrayOfR_ChefOrderItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures"><R_ChefOrderItem><Cost>10</Cost><FoodID>2</FoodID><FoodName>sample string 6</FoodName><ImageURL>sample string 7</ImageURL><LastStatusChangeDate>2019-07-23T18:04:13.9041724-07:00</LastStatusChangeDate><ListingID>4</ListingID><ListingName>sample string 8</ListingName><OrderID>1</OrderID><OrderStatus>PENDING</OrderStatus><OrederedDateTime>2019-07-23T18:04:13.9041724-07:00</OrederedDateTime><PortionSize>SMALL</PortionSize><Quantity>9</Quantity><RegionID>3</RegionID><RequiredDateTime>2019-07-23T18:04:13.9041724-07:00</RequiredDateTime><TotalCost>11</TotalCost></R_ChefOrderItem><R_ChefOrderItem><Cost>10</Cost><FoodID>2</FoodID><FoodName>sample string 6</FoodName><ImageURL>sample string 7</ImageURL><LastStatusChangeDate>2019-07-23T18:04:13.9041724-07:00</LastStatusChangeDate><ListingID>4</ListingID><ListingName>sample string 8</ListingName><OrderID>1</OrderID><OrderStatus>PENDING</OrderStatus><OrederedDateTime>2019-07-23T18:04:13.9041724-07:00</OrederedDateTime><PortionSize>SMALL</PortionSize><Quantity>9</Quantity><RegionID>3</RegionID><RequiredDateTime>2019-07-23T18:04:13.9041724-07:00</RequiredDateTime><TotalCost>11</TotalCost></R_ChefOrderItem></ArrayOfR_ChefOrderItem>