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": "c1479386-5959-4f43-8486-4299ae19a065", "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": "e9f4d6cb-ef6c-4490-87d8-1b5d4f257c6a", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "7513b19e-9fc3-4049-8699-d49ba86d9399", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "b8703f1e-5f0d-4ea0-9b3d-9954d2f81fec", "DateOfSale": "2024-09-18T14:01:46.4199087+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 }, { "DetailId": "e9f4d6cb-ef6c-4490-87d8-1b5d4f257c6a", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "7513b19e-9fc3-4049-8699-d49ba86d9399", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "b8703f1e-5f0d-4ea0-9b3d-9954d2f81fec", "DateOfSale": "2024-09-18T14:01:46.4199087+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 } ] }
multipart/form-data
Пример:
{"Id":"c1479386-5959-4f43-8486-4299ae19a065","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":"e9f4d6cb-ef6c-4490-87d8-1b5d4f257c6a","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"7513b19e-9fc3-4049-8699-d49ba86d9399","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"b8703f1e-5f0d-4ea0-9b3d-9954d2f81fec","DateOfSale":"2024-09-18T14:01:46.4199087+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0},{"DetailId":"e9f4d6cb-ef6c-4490-87d8-1b5d4f257c6a","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"7513b19e-9fc3-4049-8699-d49ba86d9399","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"b8703f1e-5f0d-4ea0-9b3d-9954d2f81fec","DateOfSale":"2024-09-18T14:01:46.4199087+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0}]}