Запрос

URI параметр

NONE

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

NONE

Примеры

Ответ

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

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

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

None

Location Склад Location

None

Response Formats

application/json, text/json

Sample:
[
  {
    "Items": [
      {
        "Id": 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-18T16:33:20.8929986+03:00",
        "Comment": "sample string 10",
        "DeliveryDate": "2021-01-18T16:33:20.8929986+03:00",
        "ShipppingDate": "2021-01-18T16:33:20.8929986+03:00",
        "Hash": 11
      },
      {
        "Id": 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-18T16:33:20.8929986+03:00",
        "Comment": "sample string 10",
        "DeliveryDate": "2021-01-18T16:33:20.8929986+03:00",
        "ShipppingDate": "2021-01-18T16:33:20.8929986+03:00",
        "Hash": 11
      }
    ],
    "Location": {
      "Code": "sample string 1",
      "Name": "sample string 2"
    }
  },
  {
    "Items": [
      {
        "Id": 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-18T16:33:20.8929986+03:00",
        "Comment": "sample string 10",
        "DeliveryDate": "2021-01-18T16:33:20.8929986+03:00",
        "ShipppingDate": "2021-01-18T16:33:20.8929986+03:00",
        "Hash": 11
      },
      {
        "Id": 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-18T16:33:20.8929986+03:00",
        "Comment": "sample string 10",
        "DeliveryDate": "2021-01-18T16:33:20.8929986+03:00",
        "ShipppingDate": "2021-01-18T16:33:20.8929986+03:00",
        "Hash": 11
      }
    ],
    "Location": {
      "Code": "sample string 1",
      "Name": "sample string 2"
    }
  }
]

text/xml

Sample:
<ArrayOfGroupedCartItems xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Model.Cart">
  <GroupedCartItems>
    <Items>
      <CartItem>
        <ArticleCode>sample string 3</ArticleCode>
        <ArticleId>2</ArticleId>
        <Comment>sample string 10</Comment>
        <CurrencyCode>sample string 7</CurrencyCode>
        <Date>2021-01-18T16:33:20.8929986+03:00</Date>
        <DeliveryDate>2021-01-18T16:33:20.8929986+03:00</DeliveryDate>
        <Hash>11</Hash>
        <Id>1</Id>
        <OfferKey>QEA=</OfferKey>
        <Price>6</Price>
        <Quantity>5</Quantity>
        <ShipppingDate>2021-01-18T16:33:20.8929986+03:00</ShipppingDate>
        <TradeMarkName>sample string 4</TradeMarkName>
        <UniteOfMeasure>sample string 8</UniteOfMeasure>
      </CartItem>
      <CartItem>
        <ArticleCode>sample string 3</ArticleCode>
        <ArticleId>2</ArticleId>
        <Comment>sample string 10</Comment>
        <CurrencyCode>sample string 7</CurrencyCode>
        <Date>2021-01-18T16:33:20.8929986+03:00</Date>
        <DeliveryDate>2021-01-18T16:33:20.8929986+03:00</DeliveryDate>
        <Hash>11</Hash>
        <Id>1</Id>
        <OfferKey>QEA=</OfferKey>
        <Price>6</Price>
        <Quantity>5</Quantity>
        <ShipppingDate>2021-01-18T16:33:20.8929986+03:00</ShipppingDate>
        <TradeMarkName>sample string 4</TradeMarkName>
        <UniteOfMeasure>sample string 8</UniteOfMeasure>
      </CartItem>
    </Items>
    <Location>
      <Code>sample string 1</Code>
      <Name>sample string 2</Name>
    </Location>
  </GroupedCartItems>
  <GroupedCartItems>
    <Items>
      <CartItem>
        <ArticleCode>sample string 3</ArticleCode>
        <ArticleId>2</ArticleId>
        <Comment>sample string 10</Comment>
        <CurrencyCode>sample string 7</CurrencyCode>
        <Date>2021-01-18T16:33:20.8929986+03:00</Date>
        <DeliveryDate>2021-01-18T16:33:20.8929986+03:00</DeliveryDate>
        <Hash>11</Hash>
        <Id>1</Id>
        <OfferKey>QEA=</OfferKey>
        <Price>6</Price>
        <Quantity>5</Quantity>
        <ShipppingDate>2021-01-18T16:33:20.8929986+03:00</ShipppingDate>
        <TradeMarkName>sample string 4</TradeMarkName>
        <UniteOfMeasure>sample string 8</UniteOfMeasure>
      </CartItem>
      <CartItem>
        <ArticleCode>sample string 3</ArticleCode>
        <ArticleId>2</ArticleId>
        <Comment>sample string 10</Comment>
        <CurrencyCode>sample string 7</CurrencyCode>
        <Date>2021-01-18T16:33:20.8929986+03:00</Date>
        <DeliveryDate>2021-01-18T16:33:20.8929986+03:00</DeliveryDate>
        <Hash>11</Hash>
        <Id>1</Id>
        <OfferKey>QEA=</OfferKey>
        <Price>6</Price>
        <Quantity>5</Quantity>
        <ShipppingDate>2021-01-18T16:33:20.8929986+03:00</ShipppingDate>
        <TradeMarkName>sample string 4</TradeMarkName>
        <UniteOfMeasure>sample string 8</UniteOfMeasure>
      </CartItem>
    </Items>
    <Location>
      <Code>sample string 1</Code>
      <Name>sample string 2</Name>
    </Location>
  </GroupedCartItems>
</ArrayOfGroupedCartItems>