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": "91a71a20-ff1f-4a53-9706-efd9e732a87a", "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": "108174e6-585a-4305-a501-cdc42edd8d43", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "07972368-a6ce-4c4f-a952-2f7854cc079c", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "852d5c0d-57ec-4fab-8326-04164efbb434", "DateOfSale": "2024-09-18T14:20:48.1701095+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 }, { "DetailId": "108174e6-585a-4305-a501-cdc42edd8d43", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "07972368-a6ce-4c4f-a952-2f7854cc079c", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "852d5c0d-57ec-4fab-8326-04164efbb434", "DateOfSale": "2024-09-18T14:20:48.1701095+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 } ] }, { "Id": "91a71a20-ff1f-4a53-9706-efd9e732a87a", "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": "108174e6-585a-4305-a501-cdc42edd8d43", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "07972368-a6ce-4c4f-a952-2f7854cc079c", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "852d5c0d-57ec-4fab-8326-04164efbb434", "DateOfSale": "2024-09-18T14:20:48.1701095+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 }, { "DetailId": "108174e6-585a-4305-a501-cdc42edd8d43", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "07972368-a6ce-4c4f-a952-2f7854cc079c", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "852d5c0d-57ec-4fab-8326-04164efbb434", "DateOfSale": "2024-09-18T14:20:48.1701095+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 } ] } ], "MayFit": [ { "Id": "91a71a20-ff1f-4a53-9706-efd9e732a87a", "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": "108174e6-585a-4305-a501-cdc42edd8d43", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "07972368-a6ce-4c4f-a952-2f7854cc079c", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "852d5c0d-57ec-4fab-8326-04164efbb434", "DateOfSale": "2024-09-18T14:20:48.1701095+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 }, { "DetailId": "108174e6-585a-4305-a501-cdc42edd8d43", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "07972368-a6ce-4c4f-a952-2f7854cc079c", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "852d5c0d-57ec-4fab-8326-04164efbb434", "DateOfSale": "2024-09-18T14:20:48.1701095+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 } ] }, { "Id": "91a71a20-ff1f-4a53-9706-efd9e732a87a", "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": "108174e6-585a-4305-a501-cdc42edd8d43", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "07972368-a6ce-4c4f-a952-2f7854cc079c", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "852d5c0d-57ec-4fab-8326-04164efbb434", "DateOfSale": "2024-09-18T14:20:48.1701095+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 }, { "DetailId": "108174e6-585a-4305-a501-cdc42edd8d43", "QuantityInPackage": 2, "Quantity": 3, "Unit": "sample string 4", "AvailableQuantity": 5, "Price": 6.0, "PriceWithoutDiscount": 7.0, "BasePrice": 8.0, "WarehouseId": "07972368-a6ce-4c4f-a952-2f7854cc079c", "WarehouseName": "sample string 10", "DeliveryTime": "sample string 11", "ExpectedDelivaryTime": 12, "GuaranteedDelivaryTime": 13, "IsDiscontinued": true, "SectorId": "852d5c0d-57ec-4fab-8326-04164efbb434", "DateOfSale": "2024-09-18T14:20:48.1701095+05:00", "PrepaymentDiscount": 16.0, "TotalDiscount": 17.0, "PointsForBrand": 18.0 } ] } ] }
multipart/form-data
Пример:
{"WillFit":[{"Id":"91a71a20-ff1f-4a53-9706-efd9e732a87a","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":"108174e6-585a-4305-a501-cdc42edd8d43","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"07972368-a6ce-4c4f-a952-2f7854cc079c","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"852d5c0d-57ec-4fab-8326-04164efbb434","DateOfSale":"2024-09-18T14:20:48.1701095+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0},{"DetailId":"108174e6-585a-4305-a501-cdc42edd8d43","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"07972368-a6ce-4c4f-a952-2f7854cc079c","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"852d5c0d-57ec-4fab-8326-04164efbb434","DateOfSale":"2024-09-18T14:20:48.1701095+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0}]},{"Id":"91a71a20-ff1f-4a53-9706-efd9e732a87a","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":"108174e6-585a-4305-a501-cdc42edd8d43","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"07972368-a6ce-4c4f-a952-2f7854cc079c","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"852d5c0d-57ec-4fab-8326-04164efbb434","DateOfSale":"2024-09-18T14:20:48.1701095+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0},{"DetailId":"108174e6-585a-4305-a501-cdc42edd8d43","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"07972368-a6ce-4c4f-a952-2f7854cc079c","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"852d5c0d-57ec-4fab-8326-04164efbb434","DateOfSale":"2024-09-18T14:20:48.1701095+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0}]}],"MayFit":[{"Id":"91a71a20-ff1f-4a53-9706-efd9e732a87a","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":"108174e6-585a-4305-a501-cdc42edd8d43","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"07972368-a6ce-4c4f-a952-2f7854cc079c","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"852d5c0d-57ec-4fab-8326-04164efbb434","DateOfSale":"2024-09-18T14:20:48.1701095+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0},{"DetailId":"108174e6-585a-4305-a501-cdc42edd8d43","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"07972368-a6ce-4c4f-a952-2f7854cc079c","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"852d5c0d-57ec-4fab-8326-04164efbb434","DateOfSale":"2024-09-18T14:20:48.1701095+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0}]},{"Id":"91a71a20-ff1f-4a53-9706-efd9e732a87a","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":"108174e6-585a-4305-a501-cdc42edd8d43","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"07972368-a6ce-4c4f-a952-2f7854cc079c","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"852d5c0d-57ec-4fab-8326-04164efbb434","DateOfSale":"2024-09-18T14:20:48.1701095+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0},{"DetailId":"108174e6-585a-4305-a501-cdc42edd8d43","QuantityInPackage":2,"Quantity":3,"Unit":"sample string 4","AvailableQuantity":5,"Price":6.0,"PriceWithoutDiscount":7.0,"BasePrice":8.0,"WarehouseId":"07972368-a6ce-4c4f-a952-2f7854cc079c","WarehouseName":"sample string 10","DeliveryTime":"sample string 11","ExpectedDelivaryTime":12,"GuaranteedDelivaryTime":13,"IsDiscontinued":true,"SectorId":"852d5c0d-57ec-4fab-8326-04164efbb434","DateOfSale":"2024-09-18T14:20:48.1701095+05:00","PrepaymentDiscount":16.0,"TotalDiscount":17.0,"PointsForBrand":18.0}]}]}