GET api/Akb/GetByModification2/{id}?userGuid={userGuid}&apiKey={apiKey}
Возвращает аккумуляторы подходящие данной модификации авто, разделенные по группам: подходящие и вероятно подходящие
Информация о запросе
URI параметры
Имя | Описание | Тип | Дополнительная информация |
---|---|---|---|
id |
Id модификации |
integer |
Required |
userGuid |
Ваш UserGuid |
globally unique identifier |
Нет. |
apiKey |
Ваш ApiKey |
string |
Нет. |
Параметры тела запроса
Нет.
Информация об ответе
Описание ресурсов
AkbListViewModelИмя | Описание | Тип | Дополнительная информация |
---|---|---|---|
WillFit |
Подходящие аккумуляторы |
Коллекция AkbItem |
Нет. |
MayFit |
Аккумуляторы, которые вероятно могут подойти (с некоторой погрешностью, например меньший развер или пусковой ток, другая полярность) |
Коллекция AkbItem |
Нет. |
Форматы ответа
application/json, text/json
Пример:
{ "WillFit": [ { "Id": "a42b2f35-3e31-4b69-b4b2-5bbf75c86771", "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": "69825231-751a-4ff8-abab-d70fc7d61458", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "ab447f4e-a05b-4df6-b21f-b0868460baa9", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "abf3b637-035f-438b-9ba2-0ec23fa75227", "DateOfSale": "2025-09-19T15:22:10.9160508+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 }, { "DetailId": "69825231-751a-4ff8-abab-d70fc7d61458", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "ab447f4e-a05b-4df6-b21f-b0868460baa9", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "abf3b637-035f-438b-9ba2-0ec23fa75227", "DateOfSale": "2025-09-19T15:22:10.9160508+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 } ] }, { "Id": "a42b2f35-3e31-4b69-b4b2-5bbf75c86771", "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": "69825231-751a-4ff8-abab-d70fc7d61458", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "ab447f4e-a05b-4df6-b21f-b0868460baa9", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "abf3b637-035f-438b-9ba2-0ec23fa75227", "DateOfSale": "2025-09-19T15:22:10.9160508+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 }, { "DetailId": "69825231-751a-4ff8-abab-d70fc7d61458", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "ab447f4e-a05b-4df6-b21f-b0868460baa9", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "abf3b637-035f-438b-9ba2-0ec23fa75227", "DateOfSale": "2025-09-19T15:22:10.9160508+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 } ] } ], "MayFit": [ { "Id": "a42b2f35-3e31-4b69-b4b2-5bbf75c86771", "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": "69825231-751a-4ff8-abab-d70fc7d61458", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "ab447f4e-a05b-4df6-b21f-b0868460baa9", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "abf3b637-035f-438b-9ba2-0ec23fa75227", "DateOfSale": "2025-09-19T15:22:10.9160508+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 }, { "DetailId": "69825231-751a-4ff8-abab-d70fc7d61458", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "ab447f4e-a05b-4df6-b21f-b0868460baa9", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "abf3b637-035f-438b-9ba2-0ec23fa75227", "DateOfSale": "2025-09-19T15:22:10.9160508+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 } ] }, { "Id": "a42b2f35-3e31-4b69-b4b2-5bbf75c86771", "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": "69825231-751a-4ff8-abab-d70fc7d61458", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "ab447f4e-a05b-4df6-b21f-b0868460baa9", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "abf3b637-035f-438b-9ba2-0ec23fa75227", "DateOfSale": "2025-09-19T15:22:10.9160508+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 }, { "DetailId": "69825231-751a-4ff8-abab-d70fc7d61458", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "ab447f4e-a05b-4df6-b21f-b0868460baa9", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "abf3b637-035f-438b-9ba2-0ec23fa75227", "DateOfSale": "2025-09-19T15:22:10.9160508+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 } ] } ] }
multipart/form-data
Пример:
{"WillFit":[{"Id":"a42b2f35-3e31-4b69-b4b2-5bbf75c86771","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":"69825231-751a-4ff8-abab-d70fc7d61458","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"ab447f4e-a05b-4df6-b21f-b0868460baa9","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"abf3b637-035f-438b-9ba2-0ec23fa75227","DateOfSale":"2025-09-19T15:22:10.9160508+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0},{"DetailId":"69825231-751a-4ff8-abab-d70fc7d61458","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"ab447f4e-a05b-4df6-b21f-b0868460baa9","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"abf3b637-035f-438b-9ba2-0ec23fa75227","DateOfSale":"2025-09-19T15:22:10.9160508+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0}]},{"Id":"a42b2f35-3e31-4b69-b4b2-5bbf75c86771","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":"69825231-751a-4ff8-abab-d70fc7d61458","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"ab447f4e-a05b-4df6-b21f-b0868460baa9","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"abf3b637-035f-438b-9ba2-0ec23fa75227","DateOfSale":"2025-09-19T15:22:10.9160508+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0},{"DetailId":"69825231-751a-4ff8-abab-d70fc7d61458","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"ab447f4e-a05b-4df6-b21f-b0868460baa9","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"abf3b637-035f-438b-9ba2-0ec23fa75227","DateOfSale":"2025-09-19T15:22:10.9160508+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0}]}],"MayFit":[{"Id":"a42b2f35-3e31-4b69-b4b2-5bbf75c86771","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":"69825231-751a-4ff8-abab-d70fc7d61458","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"ab447f4e-a05b-4df6-b21f-b0868460baa9","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"abf3b637-035f-438b-9ba2-0ec23fa75227","DateOfSale":"2025-09-19T15:22:10.9160508+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0},{"DetailId":"69825231-751a-4ff8-abab-d70fc7d61458","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"ab447f4e-a05b-4df6-b21f-b0868460baa9","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"abf3b637-035f-438b-9ba2-0ec23fa75227","DateOfSale":"2025-09-19T15:22:10.9160508+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0}]},{"Id":"a42b2f35-3e31-4b69-b4b2-5bbf75c86771","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":"69825231-751a-4ff8-abab-d70fc7d61458","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"ab447f4e-a05b-4df6-b21f-b0868460baa9","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"abf3b637-035f-438b-9ba2-0ec23fa75227","DateOfSale":"2025-09-19T15:22:10.9160508+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0},{"DetailId":"69825231-751a-4ff8-abab-d70fc7d61458","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"ab447f4e-a05b-4df6-b21f-b0868460baa9","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"abf3b637-035f-438b-9ba2-0ec23fa75227","DateOfSale":"2025-09-19T15:22:10.9160508+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0}]}]}