Запрос

URI параметр

NONE

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

NONE

Примеры

Ответ

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

Возвращает коллекцию моделей строк в корзине и HttpStatusCode.

CollectionLineCartResultModel
Name Description Type Additional information
LineCartResultModels Коллекция моделей строк в корзине. Collection of LineCartResultModel

None

StatusCode HttpStatusCode. HttpStatusCode

None

Response Formats

application/json, text/json

Sample:
{
  "LineCartResultModels": [
    {
      "CartItemID": 1,
      "ArticleID": 2,
      "ArticleCode": "sample string 3",
      "TradeMarkName": "sample string 4",
      "OfferKey": "QEA=",
      "Quantity": 5,
      "Price": 6.0,
      "CurrencyCode": "sample string 7",
      "UniteOfMeasure": "sample string 8",
      "Date": "2021-01-18T13:14:44.6841491+03:00",
      "Comment": "sample string 10",
      "Hash": 11
    },
    {
      "CartItemID": 1,
      "ArticleID": 2,
      "ArticleCode": "sample string 3",
      "TradeMarkName": "sample string 4",
      "OfferKey": "QEA=",
      "Quantity": 5,
      "Price": 6.0,
      "CurrencyCode": "sample string 7",
      "UniteOfMeasure": "sample string 8",
      "Date": "2021-01-18T13:14:44.6841491+03:00",
      "Comment": "sample string 10",
      "Hash": 11
    }
  ],
  "StatusCode": 100
}

text/xml

Sample:
<CollectionLineCartResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Model.Cart">
  <LineCartResultModels>
    <LineCartResultModel>
      <ArticleCode>sample string 3</ArticleCode>
      <ArticleID>2</ArticleID>
      <CartItemID>1</CartItemID>
      <Comment>sample string 10</Comment>
      <CurrencyCode>sample string 7</CurrencyCode>
      <Date>2021-01-18T13:14:44.6841491+03:00</Date>
      <Hash>11</Hash>
      <OfferKey>QEA=</OfferKey>
      <Price>6</Price>
      <Quantity>5</Quantity>
      <TradeMarkName>sample string 4</TradeMarkName>
      <UniteOfMeasure>sample string 8</UniteOfMeasure>
    </LineCartResultModel>
    <LineCartResultModel>
      <ArticleCode>sample string 3</ArticleCode>
      <ArticleID>2</ArticleID>
      <CartItemID>1</CartItemID>
      <Comment>sample string 10</Comment>
      <CurrencyCode>sample string 7</CurrencyCode>
      <Date>2021-01-18T13:14:44.6841491+03:00</Date>
      <Hash>11</Hash>
      <OfferKey>QEA=</OfferKey>
      <Price>6</Price>
      <Quantity>5</Quantity>
      <TradeMarkName>sample string 4</TradeMarkName>
      <UniteOfMeasure>sample string 8</UniteOfMeasure>
    </LineCartResultModel>
  </LineCartResultModels>
  <StatusCode>Continue</StatusCode>
</CollectionLineCartResultModel>