GET api/Orders/GetOrderList

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of OrderListUserLessDetail
NameDescriptionTypeAdditional information
OrderID

globally unique identifier

None.

Address

UserAddressWhitCityViewModel

None.

Price

CalculatePriceOutputViewModel

None.

CreationDate

date

None.

SendDate

date

None.

SendTime

DeliveryTimeOprionViewModel

None.

OrderNumber

integer

None.

SendExpress

boolean

None.

StatusOrder

OrderStatus

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "OrderID": "27e22cad-4d93-4cc0-a539-e01b1394a89d",
    "Address": {
      "Title": "sample string 1",
      "PostalAddress": "sample string 2",
      "PostalCode": "sample string 3",
      "Tel": "sample string 4",
      "Latitude": 1.1,
      "Longitude": 1.1,
      "City": {
        "ProvinceId": "sample string 1",
        "CityId": 2,
        "Title": "sample string 3"
      }
    },
    "Price": {
      "Payable": 1.0,
      "ShippingCost": 2.0,
      "Tax": 3.0,
      "Discount": 4.0
    },
    "CreationDate": "2019-06-27T15:47:11.9399481+04:30",
    "SendDate": "2019-06-27T15:47:11.9399481+04:30",
    "SendTime": {
      "TimeId": "bd2485fe-91e6-492f-89aa-24f533c81518",
      "From": "sample string 1",
      "To": "sample string 2",
      "Enable": true
    },
    "OrderNumber": 4,
    "SendExpress": true,
    "StatusOrder": 0
  },
  {
    "OrderID": "27e22cad-4d93-4cc0-a539-e01b1394a89d",
    "Address": {
      "Title": "sample string 1",
      "PostalAddress": "sample string 2",
      "PostalCode": "sample string 3",
      "Tel": "sample string 4",
      "Latitude": 1.1,
      "Longitude": 1.1,
      "City": {
        "ProvinceId": "sample string 1",
        "CityId": 2,
        "Title": "sample string 3"
      }
    },
    "Price": {
      "Payable": 1.0,
      "ShippingCost": 2.0,
      "Tax": 3.0,
      "Discount": 4.0
    },
    "CreationDate": "2019-06-27T15:47:11.9399481+04:30",
    "SendDate": "2019-06-27T15:47:11.9399481+04:30",
    "SendTime": {
      "TimeId": "bd2485fe-91e6-492f-89aa-24f533c81518",
      "From": "sample string 1",
      "To": "sample string 2",
      "Enable": true
    },
    "OrderNumber": 4,
    "SendExpress": true,
    "StatusOrder": 0
  }
]

text/html

Sample:
[{"OrderID":"27e22cad-4d93-4cc0-a539-e01b1394a89d","Address":{"Title":"sample string 1","PostalAddress":"sample string 2","PostalCode":"sample string 3","Tel":"sample string 4","Latitude":1.1,"Longitude":1.1,"City":{"ProvinceId":"sample string 1","CityId":2,"Title":"sample string 3"}},"Price":{"Payable":1.0,"ShippingCost":2.0,"Tax":3.0,"Discount":4.0},"CreationDate":"2019-06-27T15:47:11.9399481+04:30","SendDate":"2019-06-27T15:47:11.9399481+04:30","SendTime":{"TimeId":"bd2485fe-91e6-492f-89aa-24f533c81518","From":"sample string 1","To":"sample string 2","Enable":true},"OrderNumber":4,"SendExpress":true,"StatusOrder":0},{"OrderID":"27e22cad-4d93-4cc0-a539-e01b1394a89d","Address":{"Title":"sample string 1","PostalAddress":"sample string 2","PostalCode":"sample string 3","Tel":"sample string 4","Latitude":1.1,"Longitude":1.1,"City":{"ProvinceId":"sample string 1","CityId":2,"Title":"sample string 3"}},"Price":{"Payable":1.0,"ShippingCost":2.0,"Tax":3.0,"Discount":4.0},"CreationDate":"2019-06-27T15:47:11.9399481+04:30","SendDate":"2019-06-27T15:47:11.9399481+04:30","SendTime":{"TimeId":"bd2485fe-91e6-492f-89aa-24f533c81518","From":"sample string 1","To":"sample string 2","Enable":true},"OrderNumber":4,"SendExpress":true,"StatusOrder":0}]

application/xml, text/xml

Sample:
<ArrayOfOrderListUserLessDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fruta.ViewModels">
  <OrderListUserLessDetail>
    <Address>
      <City>
        <CityId>2</CityId>
        <ProvinceId>sample string 1</ProvinceId>
        <Title>sample string 3</Title>
      </City>
      <Latitude>1.1</Latitude>
      <Longitude>1.1</Longitude>
      <PostalAddress>sample string 2</PostalAddress>
      <PostalCode>sample string 3</PostalCode>
      <Tel>sample string 4</Tel>
      <Title>sample string 1</Title>
    </Address>
    <CreationDate>2019-06-27T15:47:11.9399481+04:30</CreationDate>
    <OrderID>27e22cad-4d93-4cc0-a539-e01b1394a89d</OrderID>
    <OrderNumber>4</OrderNumber>
    <Price>
      <Discount>4</Discount>
      <Payable>1</Payable>
      <ShippingCost>2</ShippingCost>
      <Tax>3</Tax>
    </Price>
    <SendDate>2019-06-27T15:47:11.9399481+04:30</SendDate>
    <SendExpress>true</SendExpress>
    <SendTime>
      <Enable>true</Enable>
      <From>sample string 1</From>
      <TimeId>bd2485fe-91e6-492f-89aa-24f533c81518</TimeId>
      <To>sample string 2</To>
    </SendTime>
    <StatusOrder>Unpaid</StatusOrder>
  </OrderListUserLessDetail>
  <OrderListUserLessDetail>
    <Address>
      <City>
        <CityId>2</CityId>
        <ProvinceId>sample string 1</ProvinceId>
        <Title>sample string 3</Title>
      </City>
      <Latitude>1.1</Latitude>
      <Longitude>1.1</Longitude>
      <PostalAddress>sample string 2</PostalAddress>
      <PostalCode>sample string 3</PostalCode>
      <Tel>sample string 4</Tel>
      <Title>sample string 1</Title>
    </Address>
    <CreationDate>2019-06-27T15:47:11.9399481+04:30</CreationDate>
    <OrderID>27e22cad-4d93-4cc0-a539-e01b1394a89d</OrderID>
    <OrderNumber>4</OrderNumber>
    <Price>
      <Discount>4</Discount>
      <Payable>1</Payable>
      <ShippingCost>2</ShippingCost>
      <Tax>3</Tax>
    </Price>
    <SendDate>2019-06-27T15:47:11.9399481+04:30</SendDate>
    <SendExpress>true</SendExpress>
    <SendTime>
      <Enable>true</Enable>
      <From>sample string 1</From>
      <TimeId>bd2485fe-91e6-492f-89aa-24f533c81518</TimeId>
      <To>sample string 2</To>
    </SendTime>
    <StatusOrder>Unpaid</StatusOrder>
  </OrderListUserLessDetail>
</ArrayOfOrderListUserLessDetail>