Запрос

URI параметр

NONE

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

GetOrderItemsFilter
Name Description Type Additional information
Page Страница integer

None

PageSize Кол-во элементов на 1 странице integer

None

StartDateTime Дата начала в виде строки date

None

EndDateTime Дата окончания в виде строки date

None

OrderId Id заказа портала integer

None

TradeMark Торговая марка string

None

Article Артикул string

None

OrderStatuses Массив статусов заказа Collection of integer

None

Примеры

Request Formats

application/json, text/json

Sample:
{
  "Page": 1,
  "PageSize": 2,
  "StartDateTime": "2021-01-18T17:51:37.2692346+03:00",
  "EndDateTime": "2021-01-18T17:51:37.2692346+03:00",
  "OrderId": 1,
  "TradeMark": "sample string 3",
  "Article": "sample string 4",
  "OrderStatuses": [
    1,
    1
  ]
}

text/xml

Sample:
<GetOrderItemsFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Model.Order">
  <Article>sample string 4</Article>
  <EndDateTime>2021-01-18T17:51:37.2692346+03:00</EndDateTime>
  <OrderId>1</OrderId>
  <OrderStatuses xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>1</d2p1:int>
  </OrderStatuses>
  <Page>1</Page>
  <PageSize>2</PageSize>
  <StartDateTime>2021-01-18T17:51:37.2692346+03:00</StartDateTime>
  <TradeMark>sample string 3</TradeMark>
</GetOrderItemsFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Ответ

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

Список заказов клиента

Collection of GetOrderItemsGroupedResult
Name Description Type Additional information
Items Заказы Collection of OrderRequestGrouped

None

TotalCount Общее количество integer

None

Page Текущая страница integer

None

PageSize Кол-во на странице integer

None

Response Formats

application/json, text/json

Sample:
[
  {
    "Items": [
      {
        "OrderId": 1,
        "OrderDate": "2021-01-18T17:51:37.2692346+03:00",
        "DeliveryMethod": 0,
        "AgreementId": "sample string 3",
        "TotalSum": 4.0,
        "Comment": "sample string 5",
        "Note": "sample string 6",
        "DeliveryAddress": "sample string 7",
        "Items": [
          {
            "Id": 1,
            "PartId": 2,
            "Article": "sample string 3",
            "TradeMark": "sample string 4",
            "Title": "sample string 5",
            "Quantity": 6,
            "QuantityToShip": 7,
            "QuantityShipped": 8,
            "DeliveryDate": "2021-01-18T17:51:37.2692346+03:00",
            "Price": 9.0,
            "TotalSum": 54.0,
            "StatusCode": 10,
            "StatusName": "sample string 11",
            "Comment": "sample string 12"
          },
          {
            "Id": 1,
            "PartId": 2,
            "Article": "sample string 3",
            "TradeMark": "sample string 4",
            "Title": "sample string 5",
            "Quantity": 6,
            "QuantityToShip": 7,
            "QuantityShipped": 8,
            "DeliveryDate": "2021-01-18T17:51:37.2692346+03:00",
            "Price": 9.0,
            "TotalSum": 54.0,
            "StatusCode": 10,
            "StatusName": "sample string 11",
            "Comment": "sample string 12"
          }
        ]
      },
      {
        "OrderId": 1,
        "OrderDate": "2021-01-18T17:51:37.2692346+03:00",
        "DeliveryMethod": 0,
        "AgreementId": "sample string 3",
        "TotalSum": 4.0,
        "Comment": "sample string 5",
        "Note": "sample string 6",
        "DeliveryAddress": "sample string 7",
        "Items": [
          {
            "Id": 1,
            "PartId": 2,
            "Article": "sample string 3",
            "TradeMark": "sample string 4",
            "Title": "sample string 5",
            "Quantity": 6,
            "QuantityToShip": 7,
            "QuantityShipped": 8,
            "DeliveryDate": "2021-01-18T17:51:37.2692346+03:00",
            "Price": 9.0,
            "TotalSum": 54.0,
            "StatusCode": 10,
            "StatusName": "sample string 11",
            "Comment": "sample string 12"
          },
          {
            "Id": 1,
            "PartId": 2,
            "Article": "sample string 3",
            "TradeMark": "sample string 4",
            "Title": "sample string 5",
            "Quantity": 6,
            "QuantityToShip": 7,
            "QuantityShipped": 8,
            "DeliveryDate": "2021-01-18T17:51:37.2692346+03:00",
            "Price": 9.0,
            "TotalSum": 54.0,
            "StatusCode": 10,
            "StatusName": "sample string 11",
            "Comment": "sample string 12"
          }
        ]
      }
    ],
    "TotalCount": 1,
    "Page": 2,
    "PageSize": 3
  },
  {
    "Items": [
      {
        "OrderId": 1,
        "OrderDate": "2021-01-18T17:51:37.2692346+03:00",
        "DeliveryMethod": 0,
        "AgreementId": "sample string 3",
        "TotalSum": 4.0,
        "Comment": "sample string 5",
        "Note": "sample string 6",
        "DeliveryAddress": "sample string 7",
        "Items": [
          {
            "Id": 1,
            "PartId": 2,
            "Article": "sample string 3",
            "TradeMark": "sample string 4",
            "Title": "sample string 5",
            "Quantity": 6,
            "QuantityToShip": 7,
            "QuantityShipped": 8,
            "DeliveryDate": "2021-01-18T17:51:37.2692346+03:00",
            "Price": 9.0,
            "TotalSum": 54.0,
            "StatusCode": 10,
            "StatusName": "sample string 11",
            "Comment": "sample string 12"
          },
          {
            "Id": 1,
            "PartId": 2,
            "Article": "sample string 3",
            "TradeMark": "sample string 4",
            "Title": "sample string 5",
            "Quantity": 6,
            "QuantityToShip": 7,
            "QuantityShipped": 8,
            "DeliveryDate": "2021-01-18T17:51:37.2692346+03:00",
            "Price": 9.0,
            "TotalSum": 54.0,
            "StatusCode": 10,
            "StatusName": "sample string 11",
            "Comment": "sample string 12"
          }
        ]
      },
      {
        "OrderId": 1,
        "OrderDate": "2021-01-18T17:51:37.2692346+03:00",
        "DeliveryMethod": 0,
        "AgreementId": "sample string 3",
        "TotalSum": 4.0,
        "Comment": "sample string 5",
        "Note": "sample string 6",
        "DeliveryAddress": "sample string 7",
        "Items": [
          {
            "Id": 1,
            "PartId": 2,
            "Article": "sample string 3",
            "TradeMark": "sample string 4",
            "Title": "sample string 5",
            "Quantity": 6,
            "QuantityToShip": 7,
            "QuantityShipped": 8,
            "DeliveryDate": "2021-01-18T17:51:37.2692346+03:00",
            "Price": 9.0,
            "TotalSum": 54.0,
            "StatusCode": 10,
            "StatusName": "sample string 11",
            "Comment": "sample string 12"
          },
          {
            "Id": 1,
            "PartId": 2,
            "Article": "sample string 3",
            "TradeMark": "sample string 4",
            "Title": "sample string 5",
            "Quantity": 6,
            "QuantityToShip": 7,
            "QuantityShipped": 8,
            "DeliveryDate": "2021-01-18T17:51:37.2692346+03:00",
            "Price": 9.0,
            "TotalSum": 54.0,
            "StatusCode": 10,
            "StatusName": "sample string 11",
            "Comment": "sample string 12"
          }
        ]
      }
    ],
    "TotalCount": 1,
    "Page": 2,
    "PageSize": 3
  }
]

text/xml

Sample:
<ArrayOfGetOrderItemsGroupedResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Model.Order">
  <GetOrderItemsGroupedResult>
    <Items>
      <OrderRequestGrouped>
        <AgreementId>sample string 3</AgreementId>
        <Comment>sample string 5</Comment>
        <DeliveryAddress>sample string 7</DeliveryAddress>
        <DeliveryMethod>PickUp</DeliveryMethod>
        <Items>
          <OrderRequestItem>
            <Article>sample string 3</Article>
            <Comment>sample string 12</Comment>
            <DeliveryDate>2021-01-18T17:51:37.2692346+03:00</DeliveryDate>
            <Id>1</Id>
            <PartId>2</PartId>
            <Price>9</Price>
            <Quantity>6</Quantity>
            <QuantityShipped>8</QuantityShipped>
            <QuantityToShip>7</QuantityToShip>
            <StatusCode>10</StatusCode>
            <StatusName>sample string 11</StatusName>
            <Title>sample string 5</Title>
            <TradeMark>sample string 4</TradeMark>
          </OrderRequestItem>
          <OrderRequestItem>
            <Article>sample string 3</Article>
            <Comment>sample string 12</Comment>
            <DeliveryDate>2021-01-18T17:51:37.2692346+03:00</DeliveryDate>
            <Id>1</Id>
            <PartId>2</PartId>
            <Price>9</Price>
            <Quantity>6</Quantity>
            <QuantityShipped>8</QuantityShipped>
            <QuantityToShip>7</QuantityToShip>
            <StatusCode>10</StatusCode>
            <StatusName>sample string 11</StatusName>
            <Title>sample string 5</Title>
            <TradeMark>sample string 4</TradeMark>
          </OrderRequestItem>
        </Items>
        <Note>sample string 6</Note>
        <OrderDate>2021-01-18T17:51:37.2692346+03:00</OrderDate>
        <OrderId>1</OrderId>
        <TotalSum>4</TotalSum>
      </OrderRequestGrouped>
      <OrderRequestGrouped>
        <AgreementId>sample string 3</AgreementId>
        <Comment>sample string 5</Comment>
        <DeliveryAddress>sample string 7</DeliveryAddress>
        <DeliveryMethod>PickUp</DeliveryMethod>
        <Items>
          <OrderRequestItem>
            <Article>sample string 3</Article>
            <Comment>sample string 12</Comment>
            <DeliveryDate>2021-01-18T17:51:37.2692346+03:00</DeliveryDate>
            <Id>1</Id>
            <PartId>2</PartId>
            <Price>9</Price>
            <Quantity>6</Quantity>
            <QuantityShipped>8</QuantityShipped>
            <QuantityToShip>7</QuantityToShip>
            <StatusCode>10</StatusCode>
            <StatusName>sample string 11</StatusName>
            <Title>sample string 5</Title>
            <TradeMark>sample string 4</TradeMark>
          </OrderRequestItem>
          <OrderRequestItem>
            <Article>sample string 3</Article>
            <Comment>sample string 12</Comment>
            <DeliveryDate>2021-01-18T17:51:37.2692346+03:00</DeliveryDate>
            <Id>1</Id>
            <PartId>2</PartId>
            <Price>9</Price>
            <Quantity>6</Quantity>
            <QuantityShipped>8</QuantityShipped>
            <QuantityToShip>7</QuantityToShip>
            <StatusCode>10</StatusCode>
            <StatusName>sample string 11</StatusName>
            <Title>sample string 5</Title>
            <TradeMark>sample string 4</TradeMark>
          </OrderRequestItem>
        </Items>
        <Note>sample string 6</Note>
        <OrderDate>2021-01-18T17:51:37.2692346+03:00</OrderDate>
        <OrderId>1</OrderId>
        <TotalSum>4</TotalSum>
      </OrderRequestGrouped>
    </Items>
    <Page>2</Page>
    <PageSize>3</PageSize>
    <TotalCount>1</TotalCount>
  </GetOrderItemsGroupedResult>
  <GetOrderItemsGroupedResult>
    <Items>
      <OrderRequestGrouped>
        <AgreementId>sample string 3</AgreementId>
        <Comment>sample string 5</Comment>
        <DeliveryAddress>sample string 7</DeliveryAddress>
        <DeliveryMethod>PickUp</DeliveryMethod>
        <Items>
          <OrderRequestItem>
            <Article>sample string 3</Article>
            <Comment>sample string 12</Comment>
            <DeliveryDate>2021-01-18T17:51:37.2692346+03:00</DeliveryDate>
            <Id>1</Id>
            <PartId>2</PartId>
            <Price>9</Price>
            <Quantity>6</Quantity>
            <QuantityShipped>8</QuantityShipped>
            <QuantityToShip>7</QuantityToShip>
            <StatusCode>10</StatusCode>
            <StatusName>sample string 11</StatusName>
            <Title>sample string 5</Title>
            <TradeMark>sample string 4</TradeMark>
          </OrderRequestItem>
          <OrderRequestItem>
            <Article>sample string 3</Article>
            <Comment>sample string 12</Comment>
            <DeliveryDate>2021-01-18T17:51:37.2692346+03:00</DeliveryDate>
            <Id>1</Id>
            <PartId>2</PartId>
            <Price>9</Price>
            <Quantity>6</Quantity>
            <QuantityShipped>8</QuantityShipped>
            <QuantityToShip>7</QuantityToShip>
            <StatusCode>10</StatusCode>
            <StatusName>sample string 11</StatusName>
            <Title>sample string 5</Title>
            <TradeMark>sample string 4</TradeMark>
          </OrderRequestItem>
        </Items>
        <Note>sample string 6</Note>
        <OrderDate>2021-01-18T17:51:37.2692346+03:00</OrderDate>
        <OrderId>1</OrderId>
        <TotalSum>4</TotalSum>
      </OrderRequestGrouped>
      <OrderRequestGrouped>
        <AgreementId>sample string 3</AgreementId>
        <Comment>sample string 5</Comment>
        <DeliveryAddress>sample string 7</DeliveryAddress>
        <DeliveryMethod>PickUp</DeliveryMethod>
        <Items>
          <OrderRequestItem>
            <Article>sample string 3</Article>
            <Comment>sample string 12</Comment>
            <DeliveryDate>2021-01-18T17:51:37.2692346+03:00</DeliveryDate>
            <Id>1</Id>
            <PartId>2</PartId>
            <Price>9</Price>
            <Quantity>6</Quantity>
            <QuantityShipped>8</QuantityShipped>
            <QuantityToShip>7</QuantityToShip>
            <StatusCode>10</StatusCode>
            <StatusName>sample string 11</StatusName>
            <Title>sample string 5</Title>
            <TradeMark>sample string 4</TradeMark>
          </OrderRequestItem>
          <OrderRequestItem>
            <Article>sample string 3</Article>
            <Comment>sample string 12</Comment>
            <DeliveryDate>2021-01-18T17:51:37.2692346+03:00</DeliveryDate>
            <Id>1</Id>
            <PartId>2</PartId>
            <Price>9</Price>
            <Quantity>6</Quantity>
            <QuantityShipped>8</QuantityShipped>
            <QuantityToShip>7</QuantityToShip>
            <StatusCode>10</StatusCode>
            <StatusName>sample string 11</StatusName>
            <Title>sample string 5</Title>
            <TradeMark>sample string 4</TradeMark>
          </OrderRequestItem>
        </Items>
        <Note>sample string 6</Note>
        <OrderDate>2021-01-18T17:51:37.2692346+03:00</OrderDate>
        <OrderId>1</OrderId>
        <TotalSum>4</TotalSum>
      </OrderRequestGrouped>
    </Items>
    <Page>2</Page>
    <PageSize>3</PageSize>
    <TotalCount>1</TotalCount>
  </GetOrderItemsGroupedResult>
</ArrayOfGetOrderItemsGroupedResult>