Electronic Component API Wiki
Search electronic components, datasheets, stock, price, alternatives
Brought to you by:
ciiva
Query the real-time or latest stock availability of a list of supplier components by their ID.
If UseRealTime is true, Ciiva’s real-time service will be used to fetch the stock availability on-the-fly. Otherwise the latest stock availability 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 stock availability will be returned, indicated by the IsRealTime flag.
GetStockForMultipleSupplierComponentsById
Name | Description |
---|---|
Address | https://api.ciiva.com/api/46FC821A-B0A1-423F-B446-1372BA7A95B6 |
Accept methods | GET, POST |
Example:
Parameters: {"{123, 234}", "False"} Return: { "SupplierComponentId":123, "StockItems": [{ "LocationName":"US", "Quantity":4000, "LeadTime":0, "ValidDate":"\/Date(1408356125000+0100)\/" }] }, { "SupplierComponentId":234, "StockItems": [{ "LocationName":"US", "Quantity":27150, "LeadTime":0 ,"ValidDate":"\/Date(1361639364000+0000)\/" }] }
Object Name: GetStockForMultipleSupplierComponentsById
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: Stock
Property Name | Property Type | Description | Example |
---|---|---|---|
SupplierComponentId | Int64 | Supplier component id | |
StockItems | List of: StockItem | Detail stock info. |
Object Name: StockItem
Property Name | Property Type |
---|---|
LocationName | String |
Quantity | Decimal |
LeadTime | String |
ValidDate | DateTime |