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": "deceb2d1-7f62-48a6-8d0d-5a182c8497fb", "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": "1709a5b0-727f-422d-b03f-3d872fc295f9", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "2859d119-a414-4109-9e75-c0637a18ca04", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "81b94bb8-084e-4680-a041-8ebc0049051c", "DateOfSale": "2025-01-26T08:16:18.7355698+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 }, { "DetailId": "1709a5b0-727f-422d-b03f-3d872fc295f9", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "2859d119-a414-4109-9e75-c0637a18ca04", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "81b94bb8-084e-4680-a041-8ebc0049051c", "DateOfSale": "2025-01-26T08:16:18.7355698+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 } ] }, { "Id": "deceb2d1-7f62-48a6-8d0d-5a182c8497fb", "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": "1709a5b0-727f-422d-b03f-3d872fc295f9", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "2859d119-a414-4109-9e75-c0637a18ca04", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "81b94bb8-084e-4680-a041-8ebc0049051c", "DateOfSale": "2025-01-26T08:16:18.7355698+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 }, { "DetailId": "1709a5b0-727f-422d-b03f-3d872fc295f9", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "2859d119-a414-4109-9e75-c0637a18ca04", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "81b94bb8-084e-4680-a041-8ebc0049051c", "DateOfSale": "2025-01-26T08:16:18.7355698+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 } ] } ], "MayFit": [ { "Id": "deceb2d1-7f62-48a6-8d0d-5a182c8497fb", "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": "1709a5b0-727f-422d-b03f-3d872fc295f9", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "2859d119-a414-4109-9e75-c0637a18ca04", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "81b94bb8-084e-4680-a041-8ebc0049051c", "DateOfSale": "2025-01-26T08:16:18.7355698+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 }, { "DetailId": "1709a5b0-727f-422d-b03f-3d872fc295f9", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "2859d119-a414-4109-9e75-c0637a18ca04", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "81b94bb8-084e-4680-a041-8ebc0049051c", "DateOfSale": "2025-01-26T08:16:18.7355698+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 } ] }, { "Id": "deceb2d1-7f62-48a6-8d0d-5a182c8497fb", "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": "1709a5b0-727f-422d-b03f-3d872fc295f9", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "2859d119-a414-4109-9e75-c0637a18ca04", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "81b94bb8-084e-4680-a041-8ebc0049051c", "DateOfSale": "2025-01-26T08:16:18.7355698+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 }, { "DetailId": "1709a5b0-727f-422d-b03f-3d872fc295f9", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "2859d119-a414-4109-9e75-c0637a18ca04", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "81b94bb8-084e-4680-a041-8ebc0049051c", "DateOfSale": "2025-01-26T08:16:18.7355698+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 } ] } ] }
multipart/form-data
Пример:
{"WillFit":[{"Id":"deceb2d1-7f62-48a6-8d0d-5a182c8497fb","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":"1709a5b0-727f-422d-b03f-3d872fc295f9","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"2859d119-a414-4109-9e75-c0637a18ca04","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"81b94bb8-084e-4680-a041-8ebc0049051c","DateOfSale":"2025-01-26T08:16:18.7355698+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0},{"DetailId":"1709a5b0-727f-422d-b03f-3d872fc295f9","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"2859d119-a414-4109-9e75-c0637a18ca04","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"81b94bb8-084e-4680-a041-8ebc0049051c","DateOfSale":"2025-01-26T08:16:18.7355698+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0}]},{"Id":"deceb2d1-7f62-48a6-8d0d-5a182c8497fb","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":"1709a5b0-727f-422d-b03f-3d872fc295f9","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"2859d119-a414-4109-9e75-c0637a18ca04","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"81b94bb8-084e-4680-a041-8ebc0049051c","DateOfSale":"2025-01-26T08:16:18.7355698+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0},{"DetailId":"1709a5b0-727f-422d-b03f-3d872fc295f9","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"2859d119-a414-4109-9e75-c0637a18ca04","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"81b94bb8-084e-4680-a041-8ebc0049051c","DateOfSale":"2025-01-26T08:16:18.7355698+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0}]}],"MayFit":[{"Id":"deceb2d1-7f62-48a6-8d0d-5a182c8497fb","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":"1709a5b0-727f-422d-b03f-3d872fc295f9","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"2859d119-a414-4109-9e75-c0637a18ca04","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"81b94bb8-084e-4680-a041-8ebc0049051c","DateOfSale":"2025-01-26T08:16:18.7355698+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0},{"DetailId":"1709a5b0-727f-422d-b03f-3d872fc295f9","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"2859d119-a414-4109-9e75-c0637a18ca04","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"81b94bb8-084e-4680-a041-8ebc0049051c","DateOfSale":"2025-01-26T08:16:18.7355698+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0}]},{"Id":"deceb2d1-7f62-48a6-8d0d-5a182c8497fb","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":"1709a5b0-727f-422d-b03f-3d872fc295f9","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"2859d119-a414-4109-9e75-c0637a18ca04","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"81b94bb8-084e-4680-a041-8ebc0049051c","DateOfSale":"2025-01-26T08:16:18.7355698+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0},{"DetailId":"1709a5b0-727f-422d-b03f-3d872fc295f9","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"2859d119-a414-4109-9e75-c0637a18ca04","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"81b94bb8-084e-4680-a041-8ebc0049051c","DateOfSale":"2025-01-26T08:16:18.7355698+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0}]}]}