GET api/Akb/Get/{id}?userGuid={userGuid}&apiKey={apiKey}

Возвращает аккумулятор с заданым ID

Информация о запросе

URI параметры

ИмяОписаниеТипДополнительная информация
id

ID аккумулятора

globally unique identifier

Required

userGuid

Ваш UserGuid

globally unique identifier

Нет.

apiKey

Ваш ApiKey

string

Нет.

Параметры тела запроса

Нет.

Информация об ответе

Описание ресурсов

Аккумулятор

AkbItem
ИмяОписаниеТипДополнительная информация
Id

GUID запчасти

globally unique identifier

Нет.

Title

Заголовок (наименование)

string

Нет.

Article

Артикул

string

Нет.

Brand

Бренд

string

Нет.

Capacity

Емкость

integer

Нет.

Starting

Ток холодного пуска

integer

Нет.

Polarity

Полярность

AkbPolarity

Нет.

Width

Ширина (длина)

integer

Нет.

Height

Высота

integer

Нет.

Depth

Глубина (длина)

integer

Нет.

Nomenclatures

Наличие по складам

Коллекция Nomenclature

Нет.

Форматы ответа

application/json, text/json

Пример:
{
  "Id": "a14c84d1-fb25-4f13-b7b5-6791c0c7986c",
  "Title": "sample string 2",
  "Article": "sample string 3",
  "Brand": "sample string 4",
  "Capacity": 5,
  "Starting": 6,
  "Polarity": 0,
  "Width": 7,
  "Height": 8,
  "Depth": 9,
  "Nomenclatures": [
    {
      "DetailId": "db4dd0c2-b405-4239-9a72-9f604fe4e074",
      "QuantityInPackage": 2,
      "Quantity": 3,
      "Unit": "sample string 4",
      "AvailableQuantity": 5,
      "Price": 6.0,
      "PriceWithoutDiscount": 7.0,
      "BasePrice": 8.0,
      "WarehouseId": "000791eb-a4ed-47b0-9a68-9573dbdc257d",
      "WarehouseName": "sample string 10",
      "DeliveryTime": "sample string 11",
      "ExpectedDelivaryTime": 12,
      "GuaranteedDelivaryTime": 13,
      "IsDiscontinued": true,
      "SectorId": "1bf042ba-c7bd-4cfc-b681-ad2f0be0648f",
      "DateOfSale": "2019-10-17T14:58:07.9283108+06:00",
      "PrepaymentDiscount": 16.0,
      "TotalDiscount": 17.0,
      "PointsForBrand": 18.0
    },
    {
      "DetailId": "db4dd0c2-b405-4239-9a72-9f604fe4e074",
      "QuantityInPackage": 2,
      "Quantity": 3,
      "Unit": "sample string 4",
      "AvailableQuantity": 5,
      "Price": 6.0,
      "PriceWithoutDiscount": 7.0,
      "BasePrice": 8.0,
      "WarehouseId": "000791eb-a4ed-47b0-9a68-9573dbdc257d",
      "WarehouseName": "sample string 10",
      "DeliveryTime": "sample string 11",
      "ExpectedDelivaryTime": 12,
      "GuaranteedDelivaryTime": 13,
      "IsDiscontinued": true,
      "SectorId": "1bf042ba-c7bd-4cfc-b681-ad2f0be0648f",
      "DateOfSale": "2019-10-17T14:58:07.9283108+06:00",
      "PrepaymentDiscount": 16.0,
      "TotalDiscount": 17.0,
      "PointsForBrand": 18.0
    }
  ]
}

application/xml, text/xml

Пример:
<AkbItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PhaetonExternalApi.Models">
  <Article>sample string 3</Article>
  <Brand>sample string 4</Brand>
  <Capacity>5</Capacity>
  <Depth>9</Depth>
  <Height>8</Height>
  <Id>a14c84d1-fb25-4f13-b7b5-6791c0c7986c</Id>
  <Nomenclatures>
    <Nomenclature>
      <AvailableQuantity>5</AvailableQuantity>
      <BasePrice>8</BasePrice>
      <DateOfSale>2019-10-17T14:58:07.9283108+06:00</DateOfSale>
      <DeliveryTime>sample string 11</DeliveryTime>
      <DetailId>db4dd0c2-b405-4239-9a72-9f604fe4e074</DetailId>
      <ExpectedDelivaryTime>12</ExpectedDelivaryTime>
      <GuaranteedDelivaryTime>13</GuaranteedDelivaryTime>
      <IsDiscontinued>true</IsDiscontinued>
      <PointsForBrand>18</PointsForBrand>
      <PrepaymentDiscount>16</PrepaymentDiscount>
      <Price>6</Price>
      <PriceWithoutDiscount>7</PriceWithoutDiscount>
      <Quantity>3</Quantity>
      <QuantityInPackage>2</QuantityInPackage>
      <SectorId>1bf042ba-c7bd-4cfc-b681-ad2f0be0648f</SectorId>
      <TotalDiscount>17</TotalDiscount>
      <Unit>sample string 4</Unit>
      <WarehouseId>000791eb-a4ed-47b0-9a68-9573dbdc257d</WarehouseId>
      <WarehouseName>sample string 10</WarehouseName>
    </Nomenclature>
    <Nomenclature>
      <AvailableQuantity>5</AvailableQuantity>
      <BasePrice>8</BasePrice>
      <DateOfSale>2019-10-17T14:58:07.9283108+06:00</DateOfSale>
      <DeliveryTime>sample string 11</DeliveryTime>
      <DetailId>db4dd0c2-b405-4239-9a72-9f604fe4e074</DetailId>
      <ExpectedDelivaryTime>12</ExpectedDelivaryTime>
      <GuaranteedDelivaryTime>13</GuaranteedDelivaryTime>
      <IsDiscontinued>true</IsDiscontinued>
      <PointsForBrand>18</PointsForBrand>
      <PrepaymentDiscount>16</PrepaymentDiscount>
      <Price>6</Price>
      <PriceWithoutDiscount>7</PriceWithoutDiscount>
      <Quantity>3</Quantity>
      <QuantityInPackage>2</QuantityInPackage>
      <SectorId>1bf042ba-c7bd-4cfc-b681-ad2f0be0648f</SectorId>
      <TotalDiscount>17</TotalDiscount>
      <Unit>sample string 4</Unit>
      <WarehouseId>000791eb-a4ed-47b0-9a68-9573dbdc257d</WarehouseId>
      <WarehouseName>sample string 10</WarehouseName>
    </Nomenclature>
  </Nomenclatures>
  <Polarity>Forward</Polarity>
  <Starting>6</Starting>
  <Title>sample string 2</Title>
  <Width>7</Width>
</AkbItem>