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": "29fe1e13-0c96-4379-a40b-86478b808bbf",
"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": "8faabd2a-6004-4961-a853-8b31cb8b3375",
"QuantityInPackage": 2,
"Quantity": 3,
"Unit": "sample string 4",
"AvailableQuantity": 5,
"Price": 6.0,
"PriceWithoutDiscount": 7.0,
"BasePrice": 8.0,
"WarehouseId": "d42cb836-ce09-4866-8fbd-92b16edbf421",
"WarehouseName": "sample string 10",
"DeliveryTime": "sample string 11",
"ExpectedDelivaryTime": 12,
"GuaranteedDelivaryTime": 13,
"IsDiscontinued": true,
"SectorId": "fc515363-6b7e-4f83-b34c-eb9a7757387e",
"DateOfSale": "2026-03-09T13:53:26.4349251+05:00",
"PrepaymentDiscount": 16.0,
"TotalDiscount": 17.0,
"PointsForBrand": 18.0
},
{
"DetailId": "8faabd2a-6004-4961-a853-8b31cb8b3375",
"QuantityInPackage": 2,
"Quantity": 3,
"Unit": "sample string 4",
"AvailableQuantity": 5,
"Price": 6.0,
"PriceWithoutDiscount": 7.0,
"BasePrice": 8.0,
"WarehouseId": "d42cb836-ce09-4866-8fbd-92b16edbf421",
"WarehouseName": "sample string 10",
"DeliveryTime": "sample string 11",
"ExpectedDelivaryTime": 12,
"GuaranteedDelivaryTime": 13,
"IsDiscontinued": true,
"SectorId": "fc515363-6b7e-4f83-b34c-eb9a7757387e",
"DateOfSale": "2026-03-09T13:53:26.4349251+05:00",
"PrepaymentDiscount": 16.0,
"TotalDiscount": 17.0,
"PointsForBrand": 18.0
}
]
}
multipart/form-data
Пример:
{"Id":"29fe1e13-0c96-4379-a40b-86478b808bbf","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":"8faabd2a-6004-4961-a853-8b31cb8b3375","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"d42cb836-ce09-4866-8fbd-92b16edbf421","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"fc515363-6b7e-4f83-b34c-eb9a7757387e","DateOfSale":"2026-03-09T13:53:26.4349251+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0},{"DetailId":"8faabd2a-6004-4961-a853-8b31cb8b3375","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"d42cb836-ce09-4866-8fbd-92b16edbf421","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"fc515363-6b7e-4f83-b34c-eb9a7757387e","DateOfSale":"2026-03-09T13:53:26.4349251+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0}]}