Запрос

URI параметр

Name Description Type Additional information
ArticleCode Код артикула по производителю string

None

TradeMarkName Наименование торговой марки string

None

TradeMarkId Внутренний идентификатор торговой марки integer

None

IncludeAnalogs Признак возвращать аналоги или нет boolean

None

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

None

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

NONE

Примеры

Ответ

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

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

CollectionPriceModel
Name Description Type Additional information
PriceModels Коллекция моделей торговой марки по коду артикула производителя. Collection of PriceModel

None

StatusCode HttpStatusCode. HttpStatusCode

None

Response Formats

application/json, text/json

Sample:
{
  "PriceModels": [
    {
      "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-18T15:44:28.8382415+03:00",
          "ShippingDate": "2021-01-18T15:44:28.8382415+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-18T15:44:28.8382415+03:00",
          "ShippingDate": "2021-01-18T15:44:28.8382415+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-18T15:44:28.8382415+03:00",
          "ShippingDate": "2021-01-18T15:44:28.8382415+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-18T15:44:28.8382415+03:00",
          "ShippingDate": "2021-01-18T15:44:28.8382415+03:00",
          "Type": "sample string 5",
          "Hash": 6
        }
      ],
      "IsAnalog": true
    }
  ],
  "StatusCode": 100
}

text/xml

Sample:
<CollectionPriceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Model">
  <PriceModels>
    <PriceModel>
      <ArticleCode>sample string 2</ArticleCode>
      <ArticleId>1</ArticleId>
      <ArticlePriceInfo>
        <ArticlePriceInfo>
          <City>sample string 4</City>
          <DeliveryDate>2021-01-18T15:44:28.8382415+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-18T15:44:28.8382415+03:00</ShippingDate>
          <Type>sample string 5</Type>
        </ArticlePriceInfo>
        <ArticlePriceInfo>
          <City>sample string 4</City>
          <DeliveryDate>2021-01-18T15:44:28.8382415+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-18T15:44:28.8382415+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-18T15:44:28.8382415+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-18T15:44:28.8382415+03:00</ShippingDate>
          <Type>sample string 5</Type>
        </ArticlePriceInfo>
        <ArticlePriceInfo>
          <City>sample string 4</City>
          <DeliveryDate>2021-01-18T15:44:28.8382415+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-18T15:44:28.8382415+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>
  </PriceModels>
  <StatusCode>Continue</StatusCode>
</CollectionPriceModel>