Menu

GetStockForSupplierComponentById

Ciiva

API Reference (V1)

Query the real-time or latest stock availability of a supplier component by its 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.

GetStockForSupplierComponentById

Name Description
Address https://api.ciiva.com/api/C9F1E722-D93D-4D2E-A909-E4EBB1917214
Accept methods GET, POST

Example:

        Parameters:
        {"11875249", "False"}

        Return:
        { "SupplierComponentId":11875249,
          "StockItems":
             [{ "LocationName":"UK",
               "Quantity":-2,
               "LeadTime":0,
               "ValidDate":"\/Date(1386933773000+0000)\/"
              }]
        }

Request Object Schema

Object Name: GetStockForSupplierComponentById

Property Name Property Type Description Example
SupplierComponentIds Int64 Supplier component id
UseRealTime Boolean A flag that determines if it real time data is returned

Return Object Schema

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

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.