Запрос

URI параметр

NONE

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

Модель для поиска ценовых предложений

GetPricesInputModel
Name Description Type Additional information
Articles Коллекция артикулов Collection of ArticleIdentityKey

None

ShippingAddressCode Код адреса доставки (пример "Д1", в случае, если поле не заполнено, то будет выполнен расчёт даты доставки для адреса доставки по умолчанию, из персональных данных) string

None

Примеры

Request Formats

application/json, text/json

Sample:
{
  "Articles": [
    {
      "ArticleCode": "sample string 1",
      "TradeMarkName": "sample string 2"
    },
    {
      "ArticleCode": "sample string 1",
      "TradeMarkName": "sample string 2"
    }
  ],
  "ShippingAddressCode": "sample string 1"
}

text/xml

Sample:
<GetPricesInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Model">
  <Articles>
    <ArticleIdentityKey>
      <ArticleCode>sample string 1</ArticleCode>
      <TradeMarkName>sample string 2</TradeMarkName>
    </ArticleIdentityKey>
    <ArticleIdentityKey>
      <ArticleCode>sample string 1</ArticleCode>
      <TradeMarkName>sample string 2</TradeMarkName>
    </ArticleIdentityKey>
  </Articles>
  <ShippingAddressCode>sample string 1</ShippingAddressCode>
</GetPricesInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Ответ

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

Возвращает список предложений доступных к заказу.

Collection of Collection of PriceModel

Response Formats

application/json, text/json

Sample:
[
  [
    {
      "ArticleId": 1,
      "ArticleCode": "sample string 2",
      "TradeMarkId": 3,
      "TradeMarkName": "sample string 4",
      "Description": "sample string 5",
      "ArticlePriceInfo": [
        {
          "Price": 1.0,
          "Qty": 2.1,
          "DeliveryTerm": 1,
          "Multiplicity": 3,
          "City": "sample string 4",
          "OfferKey": "QEA=",
          "DeliveryDate": "2021-01-18T16:04:41.4501018+03:00",
          "ShippingDate": "2021-01-18T16:04:41.4501018+03:00",
          "Type": "sample string 5",
          "Hash": 6
        },
        {
          "Price": 1.0,
          "Qty": 2.1,
          "DeliveryTerm": 1,
          "Multiplicity": 3,
          "City": "sample string 4",
          "OfferKey": "QEA=",
          "DeliveryDate": "2021-01-18T16:04:41.4501018+03:00",
          "ShippingDate": "2021-01-18T16:04:41.4501018+03:00",
          "Type": "sample string 5",
          "Hash": 6
        }
      ],
      "IsAnalog": true
    },
    {
      "ArticleId": 1,
      "ArticleCode": "sample string 2",
      "TradeMarkId": 3,
      "TradeMarkName": "sample string 4",
      "Description": "sample string 5",
      "ArticlePriceInfo": [
        {
          "Price": 1.0,
          "Qty": 2.1,
          "DeliveryTerm": 1,
          "Multiplicity": 3,
          "City": "sample string 4",
          "OfferKey": "QEA=",
          "DeliveryDate": "2021-01-18T16:04:41.4501018+03:00",
          "ShippingDate": "2021-01-18T16:04:41.4501018+03:00",
          "Type": "sample string 5",
          "Hash": 6
        },
        {
          "Price": 1.0,
          "Qty": 2.1,
          "DeliveryTerm": 1,
          "Multiplicity": 3,
          "City": "sample string 4",
          "OfferKey": "QEA=",
          "DeliveryDate": "2021-01-18T16:04:41.4501018+03:00",
          "ShippingDate": "2021-01-18T16:04:41.4501018+03:00",
          "Type": "sample string 5",
          "Hash": 6
        }
      ],
      "IsAnalog": true
    }
  ],
  [
    {
      "ArticleId": 1,
      "ArticleCode": "sample string 2",
      "TradeMarkId": 3,
      "TradeMarkName": "sample string 4",
      "Description": "sample string 5",
      "ArticlePriceInfo": [
        {
          "Price": 1.0,
          "Qty": 2.1,
          "DeliveryTerm": 1,
          "Multiplicity": 3,
          "City": "sample string 4",
          "OfferKey": "QEA=",
          "DeliveryDate": "2021-01-18T16:04:41.4501018+03:00",
          "ShippingDate": "2021-01-18T16:04:41.4501018+03:00",
          "Type": "sample string 5",
          "Hash": 6
        },
        {
          "Price": 1.0,
          "Qty": 2.1,
          "DeliveryTerm": 1,
          "Multiplicity": 3,
          "City": "sample string 4",
          "OfferKey": "QEA=",
          "DeliveryDate": "2021-01-18T16:04:41.4501018+03:00",
          "ShippingDate": "2021-01-18T16:04:41.4501018+03:00",
          "Type": "sample string 5",
          "Hash": 6
        }
      ],
      "IsAnalog": true
    },
    {
      "ArticleId": 1,
      "ArticleCode": "sample string 2",
      "TradeMarkId": 3,
      "TradeMarkName": "sample string 4",
      "Description": "sample string 5",
      "ArticlePriceInfo": [
        {
          "Price": 1.0,
          "Qty": 2.1,
          "DeliveryTerm": 1,
          "Multiplicity": 3,
          "City": "sample string 4",
          "OfferKey": "QEA=",
          "DeliveryDate": "2021-01-18T16:04:41.4501018+03:00",
          "ShippingDate": "2021-01-18T16:04:41.4501018+03:00",
          "Type": "sample string 5",
          "Hash": 6
        },
        {
          "Price": 1.0,
          "Qty": 2.1,
          "DeliveryTerm": 1,
          "Multiplicity": 3,
          "City": "sample string 4",
          "OfferKey": "QEA=",
          "DeliveryDate": "2021-01-18T16:04:41.4501018+03:00",
          "ShippingDate": "2021-01-18T16:04:41.4501018+03:00",
          "Type": "sample string 5",
          "Hash": 6
        }
      ],
      "IsAnalog": true
    }
  ]
]

text/xml

Sample:
<ArrayOfArrayOfPriceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Model">
  <ArrayOfPriceModel>
    <PriceModel>
      <ArticleCode>sample string 2</ArticleCode>
      <ArticleId>1</ArticleId>
      <ArticlePriceInfo>
        <ArticlePriceInfo>
          <City>sample string 4</City>
          <DeliveryDate>2021-01-18T16:04:41.4501018+03:00</DeliveryDate>
          <DeliveryTerm>1</DeliveryTerm>
          <Hash>6</Hash>
          <Multiplicity>3</Multiplicity>
          <OfferKey>QEA=</OfferKey>
          <Price>1</Price>
          <Qty>2.1</Qty>
          <ShippingDate>2021-01-18T16:04:41.4501018+03:00</ShippingDate>
          <Type>sample string 5</Type>
        </ArticlePriceInfo>
        <ArticlePriceInfo>
          <City>sample string 4</City>
          <DeliveryDate>2021-01-18T16:04:41.4501018+03:00</DeliveryDate>
          <DeliveryTerm>1</DeliveryTerm>
          <Hash>6</Hash>
          <Multiplicity>3</Multiplicity>
          <OfferKey>QEA=</OfferKey>
          <Price>1</Price>
          <Qty>2.1</Qty>
          <ShippingDate>2021-01-18T16:04:41.4501018+03:00</ShippingDate>
          <Type>sample string 5</Type>
        </ArticlePriceInfo>
      </ArticlePriceInfo>
      <Description>sample string 5</Description>
      <IsAnalog>true</IsAnalog>
      <TradeMarkId>3</TradeMarkId>
      <TradeMarkName>sample string 4</TradeMarkName>
    </PriceModel>
    <PriceModel>
      <ArticleCode>sample string 2</ArticleCode>
      <ArticleId>1</ArticleId>
      <ArticlePriceInfo>
        <ArticlePriceInfo>
          <City>sample string 4</City>
          <DeliveryDate>2021-01-18T16:04:41.4501018+03:00</DeliveryDate>
          <DeliveryTerm>1</DeliveryTerm>
          <Hash>6</Hash>
          <Multiplicity>3</Multiplicity>
          <OfferKey>QEA=</OfferKey>
          <Price>1</Price>
          <Qty>2.1</Qty>
          <ShippingDate>2021-01-18T16:04:41.4501018+03:00</ShippingDate>
          <Type>sample string 5</Type>
        </ArticlePriceInfo>
        <ArticlePriceInfo>
          <City>sample string 4</City>
          <DeliveryDate>2021-01-18T16:04:41.4501018+03:00</DeliveryDate>
          <DeliveryTerm>1</DeliveryTerm>
          <Hash>6</Hash>
          <Multiplicity>3</Multiplicity>
          <OfferKey>QEA=</OfferKey>
          <Price>1</Price>
          <Qty>2.1</Qty>
          <ShippingDate>2021-01-18T16:04:41.4501018+03:00</ShippingDate>
          <Type>sample string 5</Type>
        </ArticlePriceInfo>
      </ArticlePriceInfo>
      <Description>sample string 5</Description>
      <IsAnalog>true</IsAnalog>
      <TradeMarkId>3</TradeMarkId>
      <TradeMarkName>sample string 4</TradeMarkName>
    </PriceModel>
  </ArrayOfPriceModel>
  <ArrayOfPriceModel>
    <PriceModel>
      <ArticleCode>sample string 2</ArticleCode>
      <ArticleId>1</ArticleId>
      <ArticlePriceInfo>
        <ArticlePriceInfo>
          <City>sample string 4</City>
          <DeliveryDate>2021-01-18T16:04:41.4501018+03:00</DeliveryDate>
          <DeliveryTerm>1</DeliveryTerm>
          <Hash>6</Hash>
          <Multiplicity>3</Multiplicity>
          <OfferKey>QEA=</OfferKey>
          <Price>1</Price>
          <Qty>2.1</Qty>
          <ShippingDate>2021-01-18T16:04:41.4501018+03:00</ShippingDate>
          <Type>sample string 5</Type>
        </ArticlePriceInfo>
        <ArticlePriceInfo>
          <City>sample string 4</City>
          <DeliveryDate>2021-01-18T16:04:41.4501018+03:00</DeliveryDate>
          <DeliveryTerm>1</DeliveryTerm>
          <Hash>6</Hash>
          <Multiplicity>3</Multiplicity>
          <OfferKey>QEA=</OfferKey>
          <Price>1</Price>
          <Qty>2.1</Qty>
          <ShippingDate>2021-01-18T16:04:41.4501018+03:00</ShippingDate>
          <Type>sample string 5</Type>
        </ArticlePriceInfo>
      </ArticlePriceInfo>
      <Description>sample string 5</Description>
      <IsAnalog>true</IsAnalog>
      <TradeMarkId>3</TradeMarkId>
      <TradeMarkName>sample string 4</TradeMarkName>
    </PriceModel>
    <PriceModel>
      <ArticleCode>sample string 2</ArticleCode>
      <ArticleId>1</ArticleId>
      <ArticlePriceInfo>
        <ArticlePriceInfo>
          <City>sample string 4</City>
          <DeliveryDate>2021-01-18T16:04:41.4501018+03:00</DeliveryDate>
          <DeliveryTerm>1</DeliveryTerm>
          <Hash>6</Hash>
          <Multiplicity>3</Multiplicity>
          <OfferKey>QEA=</OfferKey>
          <Price>1</Price>
          <Qty>2.1</Qty>
          <ShippingDate>2021-01-18T16:04:41.4501018+03:00</ShippingDate>
          <Type>sample string 5</Type>
        </ArticlePriceInfo>
        <ArticlePriceInfo>
          <City>sample string 4</City>
          <DeliveryDate>2021-01-18T16:04:41.4501018+03:00</DeliveryDate>
          <DeliveryTerm>1</DeliveryTerm>
          <Hash>6</Hash>
          <Multiplicity>3</Multiplicity>
          <OfferKey>QEA=</OfferKey>
          <Price>1</Price>
          <Qty>2.1</Qty>
          <ShippingDate>2021-01-18T16:04:41.4501018+03:00</ShippingDate>
          <Type>sample string 5</Type>
        </ArticlePriceInfo>
      </ArticlePriceInfo>
      <Description>sample string 5</Description>
      <IsAnalog>true</IsAnalog>
      <TradeMarkId>3</TradeMarkId>
      <TradeMarkName>sample string 4</TradeMarkName>
    </PriceModel>
  </ArrayOfPriceModel>
</ArrayOfArrayOfPriceModel>