Electronic Component API Wiki
Search electronic components, datasheets, stock, price, alternatives
Brought to you by:
ciiva
Query the real-time or latest price breaks of a list of supplier components by their ID.
If UseRealTime is true, Ciiva’s real-time service will be used to fetch the price breaks on-the-fly. Otherwise the latest price breaks in our cloud server will be returned.
Note that under some circumstances the real-time service may not be available, in which case the latest price breaks will be returned, indicated by the IsRealTime flag.
GetPriceForMultipleSupplierComponentsById
Name | Description |
---|---|
Address | https://api.ciiva.com/api/A7BAAA4D-45FF-4072-8AD8-FDC411CC179A |
Accept methods | GET, POST |
Example:
Parameters: {"{16, 20}", "False"} Return: { "SupplierComponentId":16, "IsRealtime":false, "PriceItems": [{"MinQuantity":1,"UnitPrice":0.170000,"CurrencyName":"USD","LocationName":"US"}, {"MinQuantity":10,"UnitPrice":0.152000,"CurrencyName":"USD","LocationName":"US"}, {"MinQuantity":100,"UnitPrice":0.137600,"CurrencyName":"USD","LocationName":"US"}, {"MinQuantity":500,"UnitPrice":0.132700,"CurrencyName":"USD","LocationName":"US"}, {"MinQuantity":1000,"UnitPrice":0.122900,"CurrencyName":"USD","LocationName":"US"} ] }, { "SupplierComponentId":20, "IsRealtime":false, "PriceItems": [{"MinQuantity":1,"UnitPrice":10.000000,"CurrencyName":"USD","LocationName":"US"}, {"MinQuantity":10,"UnitPrice":9.400000,"CurrencyName":"USD","LocationName":"US"}, {"MinQuantity":40,"UnitPrice":7.500000,"CurrencyName":"USD","LocationName":"US"}, {"MinQuantity":200,"UnitPrice":6.700000,"CurrencyName":"USD","LocationName":"US"} ] }
Object Name: GetPriceForMultipleSupplierComponentsById
Property Name | Property Type | Description | Example |
---|---|---|---|
SupplierComponentIds | List of:Int64 | List of supplier component ids | |
UseRealTime | Boolean | A flag that determines if it real time data is returned |
Object Name: CurrentPrice
Property Name | Property Type | Description | Example |
---|---|---|---|
SupplierComponentId | Int64 | Ciiva Id of supplier component to retrieve price. | |
IsRealtime | Boolean | These are realtime prices. | |
PriceBreaks | List of: CurrentPriceBreak | List of price breaks. |
Object Name: CurrentPriceBreak
Property Name | Property Type |
---|---|
MinQuantity | Int32 |
UnitPrice | Decimal |
CurrencyName | String |
LocationName | String |