Запрос

URI параметр

NONE

Передаваемые параметры

Параметры

GetDeliveryRouteParams
Name Description Type Additional information
LocationCodeDeparture Код места отправления string

None

ZoneCodeDestination Назначение string

None

Date Дата доставки date

None

CartItemIds ID строк корзины Collection of integer

None

DeliveryType Тип доставки DeliveryType

None

Примеры

Request Formats

application/json, text/json

Sample:
{
  "LocationCodeDeparture": "sample string 1",
  "ZoneCodeDestination": "sample string 2",
  "Date": "2021-01-18T17:03:27.3631624+03:00",
  "CartItemIds": [
    1,
    2
  ],
  "DeliveryType": 0
}

text/xml

Sample:
<GetDeliveryRouteParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Model.Delivery">
  <CartItemIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CartItemIds>
  <Date>2021-01-18T17:03:27.3631624+03:00</Date>
  <DeliveryType>ManyDelivery</DeliveryType>
  <LocationCodeDeparture>sample string 1</LocationCodeDeparture>
  <ZoneCodeDestination>sample string 2</ZoneCodeDestination>
</GetDeliveryRouteParams>

application/x-www-form-urlencoded

Sample:

Sample not available.

Ответ

Описание ответа

Коллекция адресов доставок пользователя

Collection of DeliveryRoute
Name Description Type Additional information
Date date

None

ShippingDate date

None

ArrivalTime string

None

ReceiptTime string

None

ServiceCode string

None

Response Formats

application/json, text/json

Sample:
[
  {
    "Date": "2021-01-18T17:03:27.3631624+03:00",
    "ShippingDate": "2021-01-18T17:03:27.3631624+03:00",
    "ArrivalTime": "sample string 1",
    "ReceiptTime": "sample string 2",
    "ServiceCode": "sample string 3"
  },
  {
    "Date": "2021-01-18T17:03:27.3631624+03:00",
    "ShippingDate": "2021-01-18T17:03:27.3631624+03:00",
    "ArrivalTime": "sample string 1",
    "ReceiptTime": "sample string 2",
    "ServiceCode": "sample string 3"
  }
]

text/xml

Sample:
<ArrayOfDeliveryRoute xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Model.Delivery">
  <DeliveryRoute>
    <ArrivalTime>sample string 1</ArrivalTime>
    <Date>2021-01-18T17:03:27.3631624+03:00</Date>
    <ReceiptTime>sample string 2</ReceiptTime>
    <ServiceCode>sample string 3</ServiceCode>
    <ShippingDate>2021-01-18T17:03:27.3631624+03:00</ShippingDate>
  </DeliveryRoute>
  <DeliveryRoute>
    <ArrivalTime>sample string 1</ArrivalTime>
    <Date>2021-01-18T17:03:27.3631624+03:00</Date>
    <ReceiptTime>sample string 2</ReceiptTime>
    <ServiceCode>sample string 3</ServiceCode>
    <ShippingDate>2021-01-18T17:03:27.3631624+03:00</ShippingDate>
  </DeliveryRoute>
</ArrayOfDeliveryRoute>