GET api/Reference/AvailableDeliveryTime

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of DeliveryTimeViewModel
NameDescriptionTypeAdditional information
Date

date

None.

DeliveryTimeOptions

Collection of DeliveryTimeOprionViewModel

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Date": "2019-06-27T15:48:03.1768234+04:30",
    "DeliveryTimeOptions": [
      {
        "TimeId": "a0555f01-73a0-466a-ba5b-b448e6967905",
        "From": "sample string 1",
        "To": "sample string 2",
        "Enable": true
      },
      {
        "TimeId": "a0555f01-73a0-466a-ba5b-b448e6967905",
        "From": "sample string 1",
        "To": "sample string 2",
        "Enable": true
      }
    ]
  },
  {
    "Date": "2019-06-27T15:48:03.1768234+04:30",
    "DeliveryTimeOptions": [
      {
        "TimeId": "a0555f01-73a0-466a-ba5b-b448e6967905",
        "From": "sample string 1",
        "To": "sample string 2",
        "Enable": true
      },
      {
        "TimeId": "a0555f01-73a0-466a-ba5b-b448e6967905",
        "From": "sample string 1",
        "To": "sample string 2",
        "Enable": true
      }
    ]
  }
]

text/html

Sample:
[{"Date":"2019-06-27T15:48:03.1768234+04:30","DeliveryTimeOptions":[{"TimeId":"a0555f01-73a0-466a-ba5b-b448e6967905","From":"sample string 1","To":"sample string 2","Enable":true},{"TimeId":"a0555f01-73a0-466a-ba5b-b448e6967905","From":"sample string 1","To":"sample string 2","Enable":true}]},{"Date":"2019-06-27T15:48:03.1768234+04:30","DeliveryTimeOptions":[{"TimeId":"a0555f01-73a0-466a-ba5b-b448e6967905","From":"sample string 1","To":"sample string 2","Enable":true},{"TimeId":"a0555f01-73a0-466a-ba5b-b448e6967905","From":"sample string 1","To":"sample string 2","Enable":true}]}]

application/xml, text/xml

Sample:
<ArrayOfDeliveryTimeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fruta.ViewModels">
  <DeliveryTimeViewModel>
    <Date>2019-06-27T15:48:03.1768234+04:30</Date>
    <DeliveryTimeOptions>
      <DeliveryTimeOprionViewModel>
        <Enable>true</Enable>
        <From>sample string 1</From>
        <TimeId>a0555f01-73a0-466a-ba5b-b448e6967905</TimeId>
        <To>sample string 2</To>
      </DeliveryTimeOprionViewModel>
      <DeliveryTimeOprionViewModel>
        <Enable>true</Enable>
        <From>sample string 1</From>
        <TimeId>a0555f01-73a0-466a-ba5b-b448e6967905</TimeId>
        <To>sample string 2</To>
      </DeliveryTimeOprionViewModel>
    </DeliveryTimeOptions>
  </DeliveryTimeViewModel>
  <DeliveryTimeViewModel>
    <Date>2019-06-27T15:48:03.1768234+04:30</Date>
    <DeliveryTimeOptions>
      <DeliveryTimeOprionViewModel>
        <Enable>true</Enable>
        <From>sample string 1</From>
        <TimeId>a0555f01-73a0-466a-ba5b-b448e6967905</TimeId>
        <To>sample string 2</To>
      </DeliveryTimeOprionViewModel>
      <DeliveryTimeOprionViewModel>
        <Enable>true</Enable>
        <From>sample string 1</From>
        <TimeId>a0555f01-73a0-466a-ba5b-b448e6967905</TimeId>
        <To>sample string 2</To>
      </DeliveryTimeOprionViewModel>
    </DeliveryTimeOptions>
  </DeliveryTimeViewModel>
</ArrayOfDeliveryTimeViewModel>