Endpoints

EndpointDescription
POST /api/AlertCounts/fetchby/itemSiteFilters Returns one row per alert type with its high, medium, and low priority alert counts, suspended count, and total value, respecting the posted filters. Narrow by items, sites, suppliers, or categories - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/AlertDetail/fetchby/alertDetailFilters Returns individual alert rows - item-site, supplier, hierarchy, and customer alerts - matching the posted filters, including each alert's message, priority, and state. Narrow by alert type/priority/state, items, sites, suppliers, customers, or categories - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/Authenticate Exchanges an API token secret (the `siq_...` value, in the body or an `X-Api-Key` header) for a 1-hour bearer JWT used on all other API calls.
POST /api/AverageLeadTime/fetchby/dateRangeItemSiteSupplierFilters Returns the average observed lead times (admin, vendor, shipping, planning, and putaway) for supplier receipts, computed from receipt history and bucketed into the requested time interval - one row per period with a sample count. Post filters in the body to narrow by items, sites, suppliers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, SupplierCodes, ...).
POST /api/BottomLevelForecastDetail/fetchby/dateRangeHierarchyNodeFilters Returns forecast detail at the bottom level of the forecast hierarchy (the finest grain available, e.g. item-site-customer), one row per node per period, including forecast quantities, actuals, and forecast error measures. Post filters in the body to narrow by items, sites, customers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/CurrentExcessDetail/fetchby/itemSiteFilters Returns the current excess-inventory rows for the item-sites matching the posted filters - one row per item-site holding more inventory than its target, with the excess quantity and value. Narrow by items, sites, suppliers, or categories - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/CustomerItemDueToBuyDetail/fetchby/customerItemDueToBuyFilters Returns the customer/item combinations that are due or overdue to reorder based on each combination's observed buying cadence, with the expected next purchase dates, purchase probability, and sales history facts. Narrow by items, customers, usage patterns, due-to-buy statuses, or item categories - by numeric ids or by business codes (ItemCodes, CustomerCodes, ...).
GET /api/CustomReportProducer Runs a custom report, identified by id or by name, and returns its rows (the shape is defined by the report itself). Report parameter values are supplied as ordinary query-string keys alongside the identifier, e.g. api/CustomReportProducer?customReportId=5&itemCode=ABC&asOfDate=2026-07-13. Supplied keys are validated against the report's declared parameters (discoverable via GET /api/CustomReportProducer/parameters); omitted optional parameters use the report's defaults. Returns JSON by default, or CSV with an Accept: text/csv header.
GET /api/CustomReportProducer/parameters Lists the input parameters a custom report accepts (name, SQL type, whether required) - use this to discover what query-string keys to supply when running the report.
POST /api/DemandForecastSnapshotExportDetail/fetchby/demandForecastSnapshotFilters Returns one page of demand forecast snapshot history as flat rows - one row per forecast series, hierarchy node, snapshot date, and forecast period date - ready to load into a database or spreadsheet for your own forecast accuracy analysis. Each row carries the snapshot header (name, date, error statistics), the hierarchy node identity with its business codes (HierarchyNodeId, NodeValue, ItemCode, SiteCode, ...), and one period's forecast values. Narrow with the posted filters: forecast series (by id or code), snapshot date range, forecast period date range, and the standard hierarchy dimensions - by numeric ids or by business codes (ItemCodes, SiteCodes, ...). Node filters match the node's own attributes; a dimension that does not appear on a node's hierarchy path does not exclude it. This endpoint is always paged: the row space is too large to return in one response, so an omitted page returns the first page, never the full set.
POST /api/DiscontinuedItemDetail/fetchby/itemSiteFilters Returns discontinued and obsolescing item-sites (remaining on-hand quantities and balances, projected depletion dates, and days until depleted) for the item-sites matching the posted filters. Narrow by items, sites, suppliers, or categories - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/FirmAndPlannedOrderDetail/fetchby/dateRangeItemSiteSupplierFilters Returns time-bucketed firm and planned order (release) quantities per item-site-supplier - one row per item-site, supplier, and period, with quantities, dollars, cubes, and weight split into firm (orders already placed) and planned (suggested) buckets. Narrow by items, sites, suppliers, or categories - by numeric ids or by business codes (ItemCodes, SiteCodes, ...) - and by a date range applied to the order release date.
POST /api/FirmAndPlannedReceiptDetail/fetchby/dateRangeItemSiteSupplierFilters Returns time-bucketed firm and planned receipt quantities per item-site-supplier - one row per item-site, supplier, and period, with quantities, dollars, cubes, and weight split into firm (orders already placed) and planned (suggested) buckets. Narrow by items, sites, suppliers, or categories - by numeric ids or by business codes (ItemCodes, SiteCodes, ...) - and by a date range applied to the expected receipt date.
POST /api/FirmAndPlannedShipmentDetail/fetchby/dateRangeItemSiteSupplierFilters Returns time-bucketed firm and planned shipment quantities per item-site-supplier - one row per item-site, supplier, and period, with quantities, dollars, cubes, and weight split into firm (orders already placed) and planned (suggested) buckets. Narrow by items, sites, suppliers, or categories - by numeric ids or by business codes (ItemCodes, SiteCodes, ...) - and by a date range applied to the expected ship date.
GET /api/ForecastErrorsSummary Returns the forecast error summary for a single forecast hierarchy node and forecast series - error percent, mean absolute error, error value, and bias for the saved forecast, the statistical forecast, and a naive forecast, plus lead-time-ago comparison values when a matching forecast snapshot exists.
POST /api/ForecastErrorsSummary/fetchby/hierarchyNodeFilters Returns forecast error summaries across a forecast hierarchy, one row per hierarchy node, comparing the saved forecast, the statistical forecast, and a naive forecast against actual demand - error percent, mean absolute error, error value, and bias - plus lead-time-ago comparison values where forecast snapshots exist. Post filters in the body to narrow by items, sites, customers, categories, or tags - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/ForecastVsModelDetail/fetchby/hierarchyNodeFilters Returns forecast-vs-model variance rows, one per hierarchy node per period, highlighting where the working forecast deviates from the statistical model, with unit and dollar variance measures. Post filters in the body to narrow by items, sites, customers, categories, or tags - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
PUT /api/FullRefresh Starts a data refresh batch run (the same operation as the Full Refresh button in the app). WARNING: this launches instance-wide batch processing that recalculates planning data and can run for an extended period; while it runs, most data endpoints reflect in-progress state. Typically used by integrations to trigger a refresh after pushing new data to the staging tables. Monitor progress via GET /api/SystemStatus.
DELETE /api/FullRefresh Cancels a running data refresh. The refresh stops at the next safe point; check GET /api/SystemStatus for the resulting state.
POST /api/HierarchyLevelActualsExportDetail/fetchby/dateRangeHierarchyNodeFilters Returns one page of demand history (actuals) aggregated to the nodes of one forecast hierarchy level - one row per node per period - ready to load into a database or spreadsheet, for example to compare against extracted forecast snapshots for your own forecast accuracy analysis. Each row carries the node identity with its business codes (HierarchyNodeId, NodeValue, ItemCode, SiteCode, ...) plus quantity sold, cost of goods, revenue, margin, hit counts, and the on-hand balance at standard cost where inventory history exists. Narrow with the posted filters - by numeric ids or by business codes (ItemCodes, SiteCodes, ...) - and a period date range. Most filters restrict which item-sites contribute to the aggregates; the ship-to-category and supplier-item-code filters match the node's own attributes, and the on-hand balance always reflects the node's full inventory history. This endpoint is always paged: the row space is too large to return in one response, so an omitted page returns the first page, never the full set.
POST /api/HierarchyLevelForecastDetail/fetchby/dateRangeHierarchyNodeFilters Returns forecast detail aggregated to one level of a forecast hierarchy, one row per hierarchy node per period, including forecast quantities, actuals, and forecast error measures. Post filters in the body to narrow by items, sites, customers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/HierarchyLevelServiceLevelDetail/fetchby/dateRangeItemSiteFilters Returns the achieved service level aggregated to one level of a forecast hierarchy, one row per hierarchy node per period - quantities ordered, filled, and filled on time, plus complete and on-time order-line counts (fill rates measured against demand) - alongside the average target service level of the contributing item-sites. Narrow by items, sites, suppliers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/HierarchyLevelTurnsDetailOverTime/fetchby/dateRangeHierarchyNodeFilters Returns inventory turns aggregated to one level of a forecast hierarchy, one row per hierarchy node per period, combining historical inventory snapshots, average on-hand balances, and demand actuals (turns = cost of goods sold / average inventory value). Post filters in the body to narrow by items, sites, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/HierarchyNodeDetail/fetchby/hierarchyNodeFilters Returns forecast hierarchy nodes at the requested level, with forecast and actuals summary values per node. Narrow by items, sites, suppliers, customers, categories, or tags - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/ItemSiteActualsDetail/fetchby/dateRangeHierarchyNodeFilters Returns item-site level demand history (actuals), one row per item-site per period, including quantity sold, cost of goods, revenue, margin, and hit counts. Post filters in the body to narrow by items, sites, suppliers, customers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/ItemSiteAttributes/fetchby/hierarchyNodeFilters Returns item-site attributes (item, site, supplier, category, and planning attribute values) for the item-sites under one forecast hierarchy node, optionally narrowed by the posted filters - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/ItemSiteDaysOfSupply/fetchby/dateRangeItemSiteFilters Returns the days, weeks, and months of supply for each item-site matching the posted filters, together with a one-year burn-down projection (projected on-hand quantity and value after twelve months of expected usage). Supply is measured against the inventory quantity chosen via referenceQuantity. Narrow by items, sites, suppliers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/ItemSiteDetail/fetchby/hierarchyNodeFilters Returns item-site master detail (item, site, buyer, category, status, and planning attributes) for the item-sites matching the posted filters. Narrow by items, sites, suppliers, categories, or tags - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/ItemSiteForecastDetail/fetchby/dateRangeHierarchyNodeFilters Returns item-site level forecast detail (one row per item-site per period), including forecast quantities, actuals, and forecast error measures. Post filters in the body to narrow by items, sites, suppliers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/ItemSiteHistoryDetail/fetchby/dateRangeItemSiteFilters Returns the daily inventory history for each item-site matching the posted filters - one row per item-site per captured day, carrying that day's on-hand and available quantities, the safety stock, target stock, and max stock levels in force, the costs and price, and the ABC/XYZ classes, usage pattern, and inventory position as they stood on that day. Narrow by items, sites, suppliers, categories, or a capture-date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/ItemSiteInventorySnapshot/fetchby/dateRangeItemSiteFilters Returns the inventory snapshot series for each item-site matching the posted filters - one row per item-site per period, carrying the on-hand and available quantities, the safety stock, target stock, and max stock levels, their standard-cost balances, and cube/pallet measures. The showCurrentValues, showHistoricalValues, and showProjectedValues switches choose which of today's values, captured history, and projected future inventory are included; any combination may be requested. Narrow by items, sites, suppliers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/ItemSiteServiceLevelDetail/fetchby/dateRangeItemSiteFilters Returns the achieved service level for each item-site per period - quantities ordered, filled, and filled on time, plus complete and on-time order-line counts (fill rates measured against demand) - alongside the item-site's target service level. Narrow by items, sites, suppliers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/ItemSiteSupplierDetail/fetchby/itemSiteSupplierFilters Returns one row per item-site-supplier relationship matching the posted filters, carrying that relationship's lead times (ERP, calculated, and active), minimum order quantity and order multiples, costs, and sourcing settings - the Lead Time Viewer data. Narrow by items, sites, suppliers (any relationship via SupplierIds/ SupplierCodes, or the primary one via PrimarySupplierIds/PrimarySupplierCodes), supplier levels, supplier item categories, or item-site categories - by numeric ids or by business codes (ItemCodes, SiteCodes, SupplierCodes, ...).
POST /api/ItemSiteTurnsDetailOverTime/fetchby/dateRangeItemSiteFilters Returns the inventory turns detail for each item-site matching the posted filters - one row per item-site per period, combining that period's on-hand inventory history, average on-hand quantities and balances, and demand actuals (quantity sold and cost of goods sold, direct and dependent) into turns measures. Narrow by items, sites, suppliers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/LostSalesDetail/fetchby/hierarchyNodeFilters Returns lost sales per hierarchy node per period - the demand StockIQ estimates was missed while an item was out of stock, in units, cost, and revenue. Post filters in the body to narrow by items, sites, customers, categories, and more - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/ManualForecastDetail/fetchby/hierarchyNodeFilters Returns the manual forecast override settings per forecast hierarchy node - which nodes have their forecast under manual control, who last updated them and when, any auto-forecast reactivation date, and notes. Set showInheritedSettings to also include nodes that inherit manual control from a level above them. Post filters in the body to narrow by items, sites, customers, categories, or tags - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/NewItemDetail/fetchby/itemSiteFilters Returns recently added item-sites (item age, early-life demand, on-hand and usage facts, and related alert status) for the item-sites matching the posted filters. Narrow by items, sites, suppliers, or categories - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/OnTimePerformanceSummary/fetchby/dateRangeItemSiteSupplierFilters Returns a per-period on-time delivery summary for each supplier relationship matching the posted filters - counts of receipts that arrived within the configured on-time tolerance, early, or late. Narrow by items, sites, suppliers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SupplierCodes, ...).
POST /api/OpenSupplyOrderLineDetail/fetchby/dateRangeItemSiteFilters Returns open supply order lines (purchase order, transfer, and work order lines not yet fully received) matching the posted filters. Narrow by items, sites, suppliers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/OrderScheduleHeader/fetchby/itemSiteSupplierFilters Returns the order schedule headers - one row per item-site-supplier relationship on a scheduled ordering cadence, with its order cycle, next expected ship and dock dates, inventory position, and schedule lock status. Narrow by items, sites, suppliers (any relationship via SupplierIds/SupplierCodes, or the primary one via PrimarySupplierIds/ PrimarySupplierCodes), supplier levels, supplier item categories, or item-site categories - by numeric ids or by business codes (ItemCodes, SiteCodes, SupplierCodes, ...).
POST /api/OverforecastedPeriodDetail/fetchby/hierarchyNodeFilters Returns periods where the forecast materially exceeded actual demand, one row per hierarchy node per period, including forecast quantities, actuals, and forecast error measures. Post filters in the body to narrow by items, sites, customers, categories, or tags - by numeric ids or by business codes (ItemCodes, SiteCodes, ...). Period restrictions (startDate, endDate, yearNumbers, quarterNumbers, monthNumbers) ride the query string.
POST /api/ReceiptCompletenessPerformanceSummary/fetchby/dateRangeItemSiteSupplierFilters Returns receipt completeness performance computed from receipt history and bucketed into the requested time interval - one row per period with counts of complete, under-shipped, and over-shipped receipts plus a total. Post filters in the body to narrow by items, sites, suppliers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, SupplierCodes, ...).
POST /api/ReceiptDetail/fetchby/dateRangeItemSiteSupplierFilters Returns historical receipt lines (received incoming shipments), one row per supply order line per shipment, with the expected ship, dock, and receipt dates alongside the actual ones and an on-time/early/late classification. Narrow by items, sites, suppliers, or categories - by numeric ids or by business codes (ItemCodes, SiteCodes, ...) - and by a date range applied to the basis chosen with dateFilterOption.
POST /api/ReceiptPerformanceFrequency/fetchby/dateRangeItemSiteSupplierFilters Returns a histogram of receipts by the number of days they arrived early or late, measured against the chosen lead-time measure, for the receipts matching the posted filters. One row per days-early-or-late value with the count of receipts; gaps in the range are filled with zero-count rows. Narrow by items, sites, suppliers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SupplierCodes, ...). Returns an empty list when nothing matches.
POST /api/SafetyStockSummary/fetchby/itemSiteFilters Returns the safety stock summary (current safety stock levels, targets, and related alert status) for the item-sites matching the posted filters. Narrow by items, sites, suppliers, or categories - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/SalesOrderDetail/fetchby/salesOrderDetailFilters Returns sales order lines matching the posted filters. Narrow by items, sites, suppliers, customers, categories, order numbers, or a demand-date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...). When includeClosed is true, an unpaged request must be bounded by at least one filter or a date range; request paging to pull full closed history page by page.
GET /api/StagingTableImportSettings Lists the import settings for every staging table: whether the table is active for import, how many days of history are kept, and which date column drives incremental loads. Integrations that push data into the staging tables use these settings to agree with StockIQ on what gets imported.
POST /api/StagingTableImportSettings Creates or updates a staging table's import settings. WARNING: this changes how the nightly import treats that staging table (e.g. deactivating a table stops its data from being imported). Post the full settings object; include the id to update an existing row.
GET /api/StagingTableImportSettings/{id} Returns the import settings row with the given id.
DELETE /api/StagingTableImportSettings/{id} Deletes a staging table's import settings row. WARNING: the affected table reverts to default import behavior on the next refresh.
POST /api/StockOutsDetail/fetchby/itemSiteFilters Returns the current and recent stockout rows for the item-sites matching the posted filters - one row per stocked-out item-site with how many days it has been out, how many times it has stocked out recently, and projected back-in-stock information from the next expected supply order. Narrow by items, sites, suppliers, or categories - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/SupplierReceiptPerformanceOverview/fetchby/dateRangeItemSiteSupplierFilters Returns one scorecard row per supplier for the receipts matching the posted filters - order, line, and receipt counts, on-time/early/late counts, complete/under/over receipt counts, service levels, and average lead times and delays. Narrow by items, sites, suppliers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SupplierCodes, ...).
POST /api/SupplyOrderDetail/fetchby/supplyOrderDateRangeItemSiteFilters Returns supply order headers (purchase orders, transfers, and work orders) matching the posted filters, with per-order line counts, costs, weights, and cubes. Narrow by items, sites, suppliers, categories, order numbers, statuses, or an order-creation date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
POST /api/SupplyOrderLineDetail/fetchby/supplyOrderDateRangeItemSiteFilters Returns historical supply order lines (purchase orders, transfers, and work orders), one row per order line, including the planning snapshot captured when the order was created (on-hand, lead times, safety stock, suggested vs actual quantities, ...). Narrow by items, sites, suppliers, categories, order numbers, statuses, or supply types - by numeric ids or by business codes (ItemCodes, SiteCodes, ...) - and by an order-creation date range.
GET /api/SystemStatus Returns the instance's current system status: the status flag (e.g. ready, running extracts, calculating), the current calculate step, and when it last changed. Poll this to know when a data refresh has finished before pulling data.
POST /api/UnderforecastedPeriodDetail/fetchby/hierarchyNodeFilters Returns periods where actual demand materially exceeded the forecast, one row per hierarchy node per period, including forecast quantities, actuals, and forecast error measures. Post filters in the body to narrow by items, sites, customers, categories, or tags - by numeric ids or by business codes (ItemCodes, SiteCodes, ...). Period restrictions (startDate, endDate, yearNumbers, quarterNumbers, monthNumbers) ride the query string.

AlertCounts

POST /api/AlertCounts/fetchby/itemSiteFilters
Returns one row per alert type with its high, medium, and low priority alert counts, suspended count, and total value, respecting the posted filters. Narrow by items, sites, suppliers, or categories - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
Request Body (application/json)
Responses
CodeBodyDescription
200 IAlertCounts[] OK
400 ProblemDetails Bad Request

AlertDetail

POST /api/AlertDetail/fetchby/alertDetailFilters
Returns individual alert rows - item-site, supplier, hierarchy, and customer alerts - matching the posted filters, including each alert's message, priority, and state. Narrow by alert type/priority/state, items, sites, suppliers, customers, or categories - by numeric ids or by business codes (ItemCodes, SiteCodes, ...). Omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Paged: omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Query Parameters
NameTypeRequiredDescriptionNote
page integer (int32) no 1-based page to return. Supplying page or pageSize opts in to paging; an omitted page defaults to 1. This changes the return type to a paged envelope, see the description for more information.
pageSize integer (int32) no Rows per page. Defaults to the configured page size (1000) when omitted; bounds are configuration-enforced (1-10000 by default). This changes the return type to a paged envelope, see the description for more information.
Request Body (application/json)
Responses
CodeBodyDescription
200 IAlertDetail[] or IAlertDetailPagedResult OK
400 ProblemDetails Bad Request

Authenticate

POST /api/Authenticate
Exchanges an API token secret (the `siq_...` value, in the body or an `X-Api-Key` header) for a 1-hour bearer JWT used on all other API calls.
Request Body (application/json)
Responses
CodeBodyDescription
200 AuthenticateResponse OK
401 ProblemDetails Unauthorized

AverageLeadTime

POST /api/AverageLeadTime/fetchby/dateRangeItemSiteSupplierFilters
Returns the average observed lead times (admin, vendor, shipping, planning, and putaway) for supplier receipts, computed from receipt history and bucketed into the requested time interval - one row per period with a sample count. Post filters in the body to narrow by items, sites, suppliers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, SupplierCodes, ...).
Query Parameters
NameTypeRequiredDescription
interval TimeInterval no Time bucket grain to return (e.g. Weekly, Monthly).
Request Body (application/json)
Responses
CodeBodyDescription
200 AverageLeadTime[] OK
400 ProblemDetails Bad Request

BottomLevelForecastDetail

POST /api/BottomLevelForecastDetail/fetchby/dateRangeHierarchyNodeFilters
Returns forecast detail at the bottom level of the forecast hierarchy (the finest grain available, e.g. item-site-customer), one row per node per period, including forecast quantities, actuals, and forecast error measures. Post filters in the body to narrow by items, sites, customers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
Query Parameters
NameTypeRequiredDescription
interval TimeInterval no Forecast period grain to return.
demandForecastSeriesId integer (int32) no The forecast series to read, e.g. the operational forecast.
bomPositions integer (int32)[] no Restricts to items at the given bill-of-material positions.
Request Body (application/json)
Responses
CodeBodyDescription
200 object[] OK
400 ProblemDetails Bad Request

CurrentExcessDetail

POST /api/CurrentExcessDetail/fetchby/itemSiteFilters
Returns the current excess-inventory rows for the item-sites matching the posted filters - one row per item-site holding more inventory than its target, with the excess quantity and value. Narrow by items, sites, suppliers, or categories - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
Query Parameters
NameTypeRequiredDescription
includeOverStock boolean (default: False) no Also include item-sites that are currently over-stocked; these are excluded by default.
includePlannedOverStock boolean (default: False) no Also include item-sites projected to become over-stocked from planned receipts; these are excluded by default.
Request Body (application/json)
Responses
CodeBodyDescription
200 CurrentExcessDetail[] OK
400 ProblemDetails Bad Request

CustomerItemDueToBuyDetail

POST /api/CustomerItemDueToBuyDetail/fetchby/customerItemDueToBuyFilters
Returns the customer/item combinations that are due or overdue to reorder based on each combination's observed buying cadence, with the expected next purchase dates, purchase probability, and sales history facts. Narrow by items, customers, usage patterns, due-to-buy statuses, or item categories - by numeric ids or by business codes (ItemCodes, CustomerCodes, ...).
Request Body (application/json)
Responses
CodeBodyDescription
200 CustomerItemDueToBuyDetail[] OK
400 ProblemDetails Bad Request

CustomReportProducer

GET /api/CustomReportProducer
Runs a custom report, identified by id or by name, and returns its rows (the shape is defined by the report itself). Report parameter values are supplied as ordinary query-string keys alongside the identifier, e.g. api/CustomReportProducer?customReportId=5&itemCode=ABC&asOfDate=2026-07-13. Supplied keys are validated against the report's declared parameters (discoverable via GET /api/CustomReportProducer/parameters); omitted optional parameters use the report's defaults. Returns JSON by default, or CSV with an Accept: text/csv header.
Query Parameters
NameTypeRequiredDescription
customReportId integer (int32) no
customReportName string no
Responses
CodeBodyDescription
200 object[] OK
GET /api/CustomReportProducer/parameters
Lists the input parameters a custom report accepts (name, SQL type, whether required) - use this to discover what query-string keys to supply when running the report.
Query Parameters
NameTypeRequiredDescription
customReportId integer (int32) no
Responses
CodeBodyDescription
200 CustomReportParameter[] OK

DemandForecastSnapshotExportDetail

POST /api/DemandForecastSnapshotExportDetail/fetchby/demandForecastSnapshotFilters
Returns one page of demand forecast snapshot history as flat rows - one row per forecast series, hierarchy node, snapshot date, and forecast period date - ready to load into a database or spreadsheet for your own forecast accuracy analysis. Each row carries the snapshot header (name, date, error statistics), the hierarchy node identity with its business codes (HierarchyNodeId, NodeValue, ItemCode, SiteCode, ...), and one period's forecast values. Narrow with the posted filters: forecast series (by id or code), snapshot date range, forecast period date range, and the standard hierarchy dimensions - by numeric ids or by business codes (ItemCodes, SiteCodes, ...). Node filters match the node's own attributes; a dimension that does not appear on a node's hierarchy path does not exclude it. This endpoint is always paged: the row space is too large to return in one response, so an omitted page returns the first page, never the full set.
Query Parameters
NameTypeRequiredDescription
itemHierarchyId integer (int32) no Restrict to nodes in this forecast hierarchy. Omit for all hierarchies.
hierarchyLevel integer (int32) no Restrict to nodes at this hierarchy level (1 = top). Omit for all levels; each row carries its NodeLevel.
page integer (int32) no 1-based page to return. Supplying page or pageSize opts in to paging; an omitted page defaults to 1.
pageSize integer (int32) no Rows per page. Defaults to the configured page size (1000) when omitted; bounds are configuration-enforced (1-10000 by default).
Request Body (application/json)
Responses
CodeBodyDescription
200 DemandForecastSnapshotExportDetailPagedResult OK
400 ProblemDetails Bad Request

DiscontinuedItemDetail

POST /api/DiscontinuedItemDetail/fetchby/itemSiteFilters
Returns discontinued and obsolescing item-sites (remaining on-hand quantities and balances, projected depletion dates, and days until depleted) for the item-sites matching the posted filters. Narrow by items, sites, suppliers, or categories - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
Request Body (application/json)
Responses
CodeBodyDescription
200 DiscontinuedItemDetail[] OK
400 ProblemDetails Bad Request

FirmAndPlannedOrderDetail

POST /api/FirmAndPlannedOrderDetail/fetchby/dateRangeItemSiteSupplierFilters
Returns time-bucketed firm and planned order (release) quantities per item-site-supplier - one row per item-site, supplier, and period, with quantities, dollars, cubes, and weight split into firm (orders already placed) and planned (suggested) buckets. Narrow by items, sites, suppliers, or categories - by numeric ids or by business codes (ItemCodes, SiteCodes, ...) - and by a date range applied to the order release date. Omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Paged: omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Query Parameters
NameTypeRequiredDescriptionNote
interval TimeInterval no Period size for the buckets: Monthly or Weekly. No other interval is supported.
showLoadBalancedPlan boolean no When true, planned quantities for load-balanced item-sites reflect the load-balanced plan (split across the balanced suppliers); when false, the unbalanced plan is shown.
page integer (int32) no 1-based page to return. Supplying page or pageSize opts in to paging; an omitted page defaults to 1. This changes the return type to a paged envelope, see the description for more information.
pageSize integer (int32) no Rows per page. Defaults to the configured page size (1000) when omitted; bounds are configuration-enforced (1-10000 by default). This changes the return type to a paged envelope, see the description for more information.
Request Body (application/json)
Responses
CodeBodyDescription
200 FirmAndPlannedOrderDetail[] or FirmAndPlannedOrderDetailPagedResult OK
400 ProblemDetails Bad Request

FirmAndPlannedReceiptDetail

POST /api/FirmAndPlannedReceiptDetail/fetchby/dateRangeItemSiteSupplierFilters
Returns time-bucketed firm and planned receipt quantities per item-site-supplier - one row per item-site, supplier, and period, with quantities, dollars, cubes, and weight split into firm (orders already placed) and planned (suggested) buckets. Narrow by items, sites, suppliers, or categories - by numeric ids or by business codes (ItemCodes, SiteCodes, ...) - and by a date range applied to the expected receipt date. Omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Paged: omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Query Parameters
NameTypeRequiredDescriptionNote
interval TimeInterval no Period size for the buckets: Monthly or Weekly. No other interval is supported.
showLoadBalancedPlan boolean no When true, planned quantities for load-balanced item-sites reflect the load-balanced plan (split across the balanced suppliers); when false, the unbalanced plan is shown.
page integer (int32) no 1-based page to return. Supplying page or pageSize opts in to paging; an omitted page defaults to 1. This changes the return type to a paged envelope, see the description for more information.
pageSize integer (int32) no Rows per page. Defaults to the configured page size (1000) when omitted; bounds are configuration-enforced (1-10000 by default). This changes the return type to a paged envelope, see the description for more information.
Request Body (application/json)
Responses
CodeBodyDescription
200 FirmAndPlannedReceiptDetail[] or FirmAndPlannedReceiptDetailPagedResult OK
400 ProblemDetails Bad Request

FirmAndPlannedShipmentDetail

POST /api/FirmAndPlannedShipmentDetail/fetchby/dateRangeItemSiteSupplierFilters
Returns time-bucketed firm and planned shipment quantities per item-site-supplier - one row per item-site, supplier, and period, with quantities, dollars, cubes, and weight split into firm (orders already placed) and planned (suggested) buckets. Narrow by items, sites, suppliers, or categories - by numeric ids or by business codes (ItemCodes, SiteCodes, ...) - and by a date range applied to the expected ship date. Omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Paged: omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Query Parameters
NameTypeRequiredDescriptionNote
interval TimeInterval no Period size for the buckets: Monthly or Weekly. No other interval is supported.
showLoadBalancedPlan boolean no When true, planned quantities for load-balanced item-sites reflect the load-balanced plan (split across the balanced suppliers); when false, the unbalanced plan is shown.
page integer (int32) no 1-based page to return. Supplying page or pageSize opts in to paging; an omitted page defaults to 1. This changes the return type to a paged envelope, see the description for more information.
pageSize integer (int32) no Rows per page. Defaults to the configured page size (1000) when omitted; bounds are configuration-enforced (1-10000 by default). This changes the return type to a paged envelope, see the description for more information.
Request Body (application/json)
Responses
CodeBodyDescription
200 FirmAndPlannedShipmentDetail[] or FirmAndPlannedShipmentDetailPagedResult OK
400 ProblemDetails Bad Request

ForecastErrorsSummary

GET /api/ForecastErrorsSummary
Returns the forecast error summary for a single forecast hierarchy node and forecast series - error percent, mean absolute error, error value, and bias for the saved forecast, the statistical forecast, and a naive forecast, plus lead-time-ago comparison values when a matching forecast snapshot exists.
Query Parameters
NameTypeRequiredDescription
hierarchyNodeId integer (int32) no The hierarchy node whose error summary is returned.
demandForecastSeriesId integer (int32) no The forecast series whose error measures are returned.
Responses
CodeBodyDescription
200 ForecastErrorsSummary OK
POST /api/ForecastErrorsSummary/fetchby/hierarchyNodeFilters
Returns forecast error summaries across a forecast hierarchy, one row per hierarchy node, comparing the saved forecast, the statistical forecast, and a naive forecast against actual demand - error percent, mean absolute error, error value, and bias - plus lead-time-ago comparison values where forecast snapshots exist. Post filters in the body to narrow by items, sites, customers, categories, or tags - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
Query Parameters
NameTypeRequiredDescription
itemHierarchyId integer (int32) no The forecast hierarchy to read.
demandForecastSeriesId integer (int32) no The forecast series whose error measures are returned.
nodeLevel integer (int32) no Restricts the result to nodes at this hierarchy level (1 = top); omit for all levels.
Request Body (application/json)
Responses
CodeBodyDescription
200 ForecastErrorsSummary[] OK
400 ProblemDetails Bad Request

ForecastVsModelDetail

POST /api/ForecastVsModelDetail/fetchby/hierarchyNodeFilters
Returns forecast-vs-model variance rows, one per hierarchy node per period, highlighting where the working forecast deviates from the statistical model, with unit and dollar variance measures. Post filters in the body to narrow by items, sites, customers, categories, or tags - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
Query Parameters
NameTypeRequiredDescription
itemHierarchyId integer (int32) no The forecast hierarchy to read.
demandForecastSeriesId integer (int32) no The forecast series to compare against the statistical model, e.g. the operational forecast.
nodeLevel integer (int32) no Restricts the result to nodes at one hierarchy level (1 = top).
startDate string (date-time) no Earliest period date to include.
endDate string (date-time) no Latest period date to include.
yearNumbers integer (int32)[] no Restricts to periods in the given years.
quarterNumbers integer (int32)[] no Restricts to periods in the given quarters (1-4).
monthNumbers integer (int32)[] no Restricts to periods in the given months (1-12).
Request Body (application/json)
Responses
CodeBodyDescription
200 ForecastVsModelDetail[] OK
400 ProblemDetails Bad Request

FullRefresh

PUT /api/FullRefresh
Starts a data refresh batch run (the same operation as the Full Refresh button in the app). WARNING: this launches instance-wide batch processing that recalculates planning data and can run for an extended period; while it runs, most data endpoints reflect in-progress state. Typically used by integrations to trigger a refresh after pushing new data to the staging tables. Monitor progress via GET /api/SystemStatus.
Query Parameters
NameTypeRequiredDescription
refreshType RefreshType no Scope of the refresh: Full = 1, Partial = 2, OnHand = 4, Demand = 8, Supply = 16.
Responses
CodeBodyDescription
200 OK
DELETE /api/FullRefresh
Cancels a running data refresh. The refresh stops at the next safe point; check GET /api/SystemStatus for the resulting state.
Responses
CodeBodyDescription
200 OK

HierarchyLevelActualsExportDetail

POST /api/HierarchyLevelActualsExportDetail/fetchby/dateRangeHierarchyNodeFilters
Returns one page of demand history (actuals) aggregated to the nodes of one forecast hierarchy level - one row per node per period - ready to load into a database or spreadsheet, for example to compare against extracted forecast snapshots for your own forecast accuracy analysis. Each row carries the node identity with its business codes (HierarchyNodeId, NodeValue, ItemCode, SiteCode, ...) plus quantity sold, cost of goods, revenue, margin, hit counts, and the on-hand balance at standard cost where inventory history exists. Narrow with the posted filters - by numeric ids or by business codes (ItemCodes, SiteCodes, ...) - and a period date range. Most filters restrict which item-sites contribute to the aggregates; the ship-to-category and supplier-item-code filters match the node's own attributes, and the on-hand balance always reflects the node's full inventory history. This endpoint is always paged: the row space is too large to return in one response, so an omitted page returns the first page, never the full set.
Query Parameters
NameTypeRequiredDescription
interval TimeInterval no Period grain to aggregate to: Daily, Weekly, Monthly, Quarterly, or Yearly.
itemHierarchyId integer (int32) no The forecast hierarchy to read.
hierarchyLevel integer (int32) no The hierarchy level whose nodes are returned (1 = top).
demandSeriesId integer (int32) no The demand series to read. Supply this or demandSeriesCode, not both.
demandSeriesCode string no Code of the demand series to read. Supply this or demandSeriesId, not both.
hierarchyNodeId integer (int32) no Restrict to one node at the level. Omit for all nodes.
bomPositions integer (int32)[] no Restricts contribution to items at the given bill-of-material positions.
customerShipToStateIds integer (int32)[] no Restricts contribution to demand shipped to these state ids.
page integer (int32) no 1-based page to return. Supplying page or pageSize opts in to paging; an omitted page defaults to 1.
pageSize integer (int32) no Rows per page. Defaults to the configured page size (1000) when omitted; bounds are configuration-enforced (1-10000 by default).
Request Body (application/json)
Responses
CodeBodyDescription
200 HierarchyLevelActualsExportDetailPagedResult OK
400 ProblemDetails Bad Request

HierarchyLevelForecastDetail

POST /api/HierarchyLevelForecastDetail/fetchby/dateRangeHierarchyNodeFilters
Returns forecast detail aggregated to one level of a forecast hierarchy, one row per hierarchy node per period, including forecast quantities, actuals, and forecast error measures. Post filters in the body to narrow by items, sites, customers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
Query Parameters
NameTypeRequiredDescription
interval TimeInterval no Forecast period grain to return.
demandForecastSeriesId integer (int32) no The forecast series to read, e.g. the operational forecast.
itemHierarchyId integer (int32) no The forecast hierarchy to aggregate over.
hierarchyLevel integer (int32) no The level of the hierarchy to aggregate to (1 = top).
hierarchyNodeId integer (int32) no Restricts the result to a single hierarchy node.
bomPositions integer (int32)[] no Restricts to items at the given bill-of-material positions.
Request Body (application/json)
Responses
CodeBodyDescription
200 object[] OK
400 ProblemDetails Bad Request

HierarchyLevelServiceLevelDetail

POST /api/HierarchyLevelServiceLevelDetail/fetchby/dateRangeItemSiteFilters
Returns the achieved service level aggregated to one level of a forecast hierarchy, one row per hierarchy node per period - quantities ordered, filled, and filled on time, plus complete and on-time order-line counts (fill rates measured against demand) - alongside the average target service level of the contributing item-sites. Narrow by items, sites, suppliers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
Query Parameters
NameTypeRequiredDescription
interval TimeInterval no Period grain to return.
itemHierarchyId integer (int32) no The forecast hierarchy to aggregate over.
hierarchyLevel integer (int32) no The level of the hierarchy to aggregate to (1 = top).
Request Body (application/json)
Responses
CodeBodyDescription
200 HierarchyLevelServiceLevelDetail[] OK
400 ProblemDetails Bad Request

HierarchyLevelTurnsDetailOverTime

POST /api/HierarchyLevelTurnsDetailOverTime/fetchby/dateRangeHierarchyNodeFilters
Returns inventory turns aggregated to one level of a forecast hierarchy, one row per hierarchy node per period, combining historical inventory snapshots, average on-hand balances, and demand actuals (turns = cost of goods sold / average inventory value). Post filters in the body to narrow by items, sites, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
Query Parameters
NameTypeRequiredDescription
interval TimeInterval no Period grain to return.
itemHierarchyId integer (int32) no The forecast hierarchy to aggregate over.
hierarchyLevel integer (int32) no The level of the hierarchy to aggregate to (1 = top).
hierarchyNodeId integer (int32) no Restricts the result to a single hierarchy node.
Request Body (application/json)
Responses
CodeBodyDescription
200 HierarchyLevelTurnsDetail[] OK
400 ProblemDetails Bad Request

HierarchyNodeDetail

POST /api/HierarchyNodeDetail/fetchby/hierarchyNodeFilters
Returns forecast hierarchy nodes at the requested level, with forecast and actuals summary values per node. Narrow by items, sites, suppliers, customers, categories, or tags - by numeric ids or by business codes (ItemCodes, SiteCodes, ...). Omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Paged: omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Query Parameters
NameTypeRequiredDescriptionNote
itemHierarchyId integer (int32) no The forecast hierarchy to read; omit for the default hierarchy.
nodeLevel integer (int32) no The hierarchy level whose nodes are returned (1 = top).
nodeFilterOption ForecastSummaryNodeFilterOption no Whether to include nodes without forecasts.
page integer (int32) no 1-based page to return. Supplying page or pageSize opts in to paging; an omitted page defaults to 1. This changes the return type to a paged envelope, see the description for more information.
pageSize integer (int32) no Rows per page. Defaults to the configured page size (1000) when omitted; bounds are configuration-enforced (1-10000 by default). This changes the return type to a paged envelope, see the description for more information.
Request Body (application/json)
Responses
CodeBodyDescription
200 HierarchyNodeDetail[] or HierarchyNodeDetailPagedResult OK
400 ProblemDetails Bad Request

ItemSiteActualsDetail

POST /api/ItemSiteActualsDetail/fetchby/dateRangeHierarchyNodeFilters
Returns item-site level demand history (actuals), one row per item-site per period, including quantity sold, cost of goods, revenue, margin, and hit counts. Post filters in the body to narrow by items, sites, suppliers, customers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
Query Parameters
NameTypeRequiredDescription
interval TimeInterval no History period grain to return.
demandSeriesId integer (int32) no The demand series to read.
bomPositions integer (int32)[] no Restricts to items at the given bill-of-material positions.
Request Body (application/json)
Responses
CodeBodyDescription
200 object[] OK
400 ProblemDetails Bad Request

ItemSiteAttributes

POST /api/ItemSiteAttributes/fetchby/hierarchyNodeFilters
Returns item-site attributes (item, site, supplier, category, and planning attribute values) for the item-sites under one forecast hierarchy node, optionally narrowed by the posted filters - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
Query Parameters
NameTypeRequiredDescription
hierarchyNodeId integer (int32) no The forecast hierarchy node whose item-sites are returned.
Request Body (application/json)
Responses
CodeBodyDescription
200 ItemSiteAttributes[] OK
400 ProblemDetails Bad Request

ItemSiteDaysOfSupply

POST /api/ItemSiteDaysOfSupply/fetchby/dateRangeItemSiteFilters
Returns the days, weeks, and months of supply for each item-site matching the posted filters, together with a one-year burn-down projection (projected on-hand quantity and value after twelve months of expected usage). Supply is measured against the inventory quantity chosen via referenceQuantity. Narrow by items, sites, suppliers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
Query Parameters
NameTypeRequiredDescription
referenceQuantity InventoryPositionQuantity no The inventory quantity the supply measures are calculated against: 1 = on-hand quantity, 2 = available quantity, 3 = firm supply and demand (on-hand plus on-order minus on-demand).
Request Body (application/json)
Responses
CodeBodyDescription
200 ItemSiteDaysOfSupply[] OK
400 ProblemDetails Bad Request

ItemSiteDetail

POST /api/ItemSiteDetail/fetchby/hierarchyNodeFilters
Returns item-site master detail (item, site, buyer, category, status, and planning attributes) for the item-sites matching the posted filters. Narrow by items, sites, suppliers, categories, or tags - by numeric ids or by business codes (ItemCodes, SiteCodes, ...). Omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Paged: omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Query Parameters
NameTypeRequiredDescriptionNote
page integer (int32) no 1-based page to return. Supplying page or pageSize opts in to paging; an omitted page defaults to 1. This changes the return type to a paged envelope, see the description for more information.
pageSize integer (int32) no Rows per page. Defaults to the configured page size (1000) when omitted; bounds are configuration-enforced (1-10000 by default). This changes the return type to a paged envelope, see the description for more information.
Request Body (application/json)
Responses
CodeBodyDescription
200 ItemSiteDetail[] or ItemSiteDetailPagedResult OK
400 ProblemDetails Bad Request

ItemSiteForecastDetail

POST /api/ItemSiteForecastDetail/fetchby/dateRangeHierarchyNodeFilters
Returns item-site level forecast detail (one row per item-site per period), including forecast quantities, actuals, and forecast error measures. Post filters in the body to narrow by items, sites, suppliers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
Query Parameters
NameTypeRequiredDescription
interval TimeInterval no Forecast period grain to return.
demandForecastSeriesId integer (int32) no The forecast series to read, e.g. the operational forecast.
bomPositions integer (int32)[] no Restricts to items at the given bill-of-material positions.
Request Body (application/json)
Responses
CodeBodyDescription
200 object[] OK
400 ProblemDetails Bad Request

ItemSiteHistoryDetail

POST /api/ItemSiteHistoryDetail/fetchby/dateRangeItemSiteFilters
Returns the daily inventory history for each item-site matching the posted filters - one row per item-site per captured day, carrying that day's on-hand and available quantities, the safety stock, target stock, and max stock levels in force, the costs and price, and the ABC/XYZ classes, usage pattern, and inventory position as they stood on that day. Narrow by items, sites, suppliers, categories, or a capture-date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...). Omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Paged: omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Query Parameters
NameTypeRequiredDescriptionNote
page integer (int32) no 1-based page to return. Supplying page or pageSize opts in to paging; an omitted page defaults to 1. This changes the return type to a paged envelope, see the description for more information.
pageSize integer (int32) no Rows per page. Defaults to the configured page size (1000) when omitted; bounds are configuration-enforced (1-10000 by default). This changes the return type to a paged envelope, see the description for more information.
Request Body (application/json)
Responses
CodeBodyDescription
200 ItemSiteHistoryDetail[] or ItemSiteHistoryDetailPagedResult OK
400 ProblemDetails Bad Request

ItemSiteInventorySnapshot

POST /api/ItemSiteInventorySnapshot/fetchby/dateRangeItemSiteFilters
Returns the inventory snapshot series for each item-site matching the posted filters - one row per item-site per period, carrying the on-hand and available quantities, the safety stock, target stock, and max stock levels, their standard-cost balances, and cube/pallet measures. The showCurrentValues, showHistoricalValues, and showProjectedValues switches choose which of today's values, captured history, and projected future inventory are included; any combination may be requested. Narrow by items, sites, suppliers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...). The response is an envelope: `Snapshots` holds the snapshot rows (CaptureDate is the period date, or the current date for current-value rows), and `ConstantLines` holds chart constant-line markers (for example the line separating history from projection) for callers rendering the series as a chart.
Query Parameters
NameTypeRequiredDescription
timeInterval TimeInterval no Period grain for historical and projected rows: 1 = Daily, 2 = Weekly, 4 = Monthly, 8 = Quarterly, 32 = Yearly. Projected values support Weekly and coarser (no Daily).
showCurrentValues boolean no Include one row per item-site holding today's values.
showHistoricalValues boolean no Include captured history rows at the chosen interval.
showProjectedValues boolean no Include projected future rows at the chosen interval.
Request Body (application/json)
Responses
CodeBodyDescription
200 ItemSiteInventorySnapshots OK
400 ProblemDetails Bad Request

ItemSiteServiceLevelDetail

POST /api/ItemSiteServiceLevelDetail/fetchby/dateRangeItemSiteFilters
Returns the achieved service level for each item-site per period - quantities ordered, filled, and filled on time, plus complete and on-time order-line counts (fill rates measured against demand) - alongside the item-site's target service level. Narrow by items, sites, suppliers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
Query Parameters
NameTypeRequiredDescription
interval TimeInterval no Period grain to return.
Request Body (application/json)
Responses
CodeBodyDescription
200 ItemSiteServiceLevelDetail[] OK
400 ProblemDetails Bad Request

ItemSiteSupplierDetail

POST /api/ItemSiteSupplierDetail/fetchby/itemSiteSupplierFilters
Returns one row per item-site-supplier relationship matching the posted filters, carrying that relationship's lead times (ERP, calculated, and active), minimum order quantity and order multiples, costs, and sourcing settings - the Lead Time Viewer data. Narrow by items, sites, suppliers (any relationship via SupplierIds/ SupplierCodes, or the primary one via PrimarySupplierIds/PrimarySupplierCodes), supplier levels, supplier item categories, or item-site categories - by numeric ids or by business codes (ItemCodes, SiteCodes, SupplierCodes, ...). The MultiHubFilter field is not applied by this endpoint: SupplierLevels always matches exactly, which is the ShowPrimaryHubOnly behavior. Omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Paged: omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Query Parameters
NameTypeRequiredDescriptionNote
page integer (int32) no 1-based page to return. Supplying page or pageSize opts in to paging; an omitted page defaults to 1. This changes the return type to a paged envelope, see the description for more information.
pageSize integer (int32) no Rows per page. Defaults to the configured page size (1000) when omitted; bounds are configuration-enforced (1-10000 by default). This changes the return type to a paged envelope, see the description for more information.
Request Body (application/json)
Responses
CodeBodyDescription
200 ItemSiteSupplierDetail[] or ItemSiteSupplierDetailPagedResult OK
400 ProblemDetails Bad Request

ItemSiteTurnsDetailOverTime

POST /api/ItemSiteTurnsDetailOverTime/fetchby/dateRangeItemSiteFilters
Returns the inventory turns detail for each item-site matching the posted filters - one row per item-site per period, combining that period's on-hand inventory history, average on-hand quantities and balances, and demand actuals (quantity sold and cost of goods sold, direct and dependent) into turns measures. Narrow by items, sites, suppliers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
Query Parameters
NameTypeRequiredDescription
interval TimeInterval no Period grain: 2 = Weekly, 4 = Monthly, 8 = Quarterly, 32 = Yearly.
Request Body (application/json)
Responses
CodeBodyDescription
200 ItemSiteTurnsDetail[] OK
400 ProblemDetails Bad Request

LostSalesDetail

POST /api/LostSalesDetail/fetchby/hierarchyNodeFilters
Returns lost sales per hierarchy node per period - the demand StockIQ estimates was missed while an item was out of stock, in units, cost, and revenue. Post filters in the body to narrow by items, sites, customers, categories, and more - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
Query Parameters
NameTypeRequiredDescription
interval TimeInterval no Period grain to return; only Weekly and Monthly are supported.
fillInMissingPeriods boolean no When true, periods with no lost sales are synthesized as zero rows so each node has a continuous series.
hierarchyNodeId integer (int32) no Restricts the result to a single hierarchy node.
nodeLevel integer (int32) no The hierarchy level to report at (1 = top).
Request Body (application/json)
Responses
CodeBodyDescription
200 LostSalesDetail[] OK
400 ProblemDetails Bad Request

ManualForecastDetail

POST /api/ManualForecastDetail/fetchby/hierarchyNodeFilters
Returns the manual forecast override settings per forecast hierarchy node - which nodes have their forecast under manual control, who last updated them and when, any auto-forecast reactivation date, and notes. Set showInheritedSettings to also include nodes that inherit manual control from a level above them. Post filters in the body to narrow by items, sites, customers, categories, or tags - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
Query Parameters
NameTypeRequiredDescription
itemHierarchyId integer (int32) no The forecast hierarchy to read.
nodeLevel integer (int32) no Restricts the result to nodes at this hierarchy level (1 = top); omit for all levels.
demandForecastSeriesId integer (int32) no The forecast series whose manual override settings are returned.
showInheritedSettings boolean (default: False) no True to also include rows inherited from a parent node; false (default) returns only nodes where the setting is applied directly.
Request Body (application/json)
Responses
CodeBodyDescription
200 ManualForecastDetail[] OK
400 ProblemDetails Bad Request

NewItemDetail

POST /api/NewItemDetail/fetchby/itemSiteFilters
Returns recently added item-sites (item age, early-life demand, on-hand and usage facts, and related alert status) for the item-sites matching the posted filters. Narrow by items, sites, suppliers, or categories - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
Request Body (application/json)
Responses
CodeBodyDescription
200 NewItemDetail[] OK
400 ProblemDetails Bad Request

OnTimePerformanceSummary

POST /api/OnTimePerformanceSummary/fetchby/dateRangeItemSiteSupplierFilters
Returns a per-period on-time delivery summary for each supplier relationship matching the posted filters - counts of receipts that arrived within the configured on-time tolerance, early, or late. Narrow by items, sites, suppliers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SupplierCodes, ...).
Query Parameters
NameTypeRequiredDescription
interval TimeInterval no Time period grain to summarize by (e.g. monthly).
leadTimeType LeadTimeType no Which lead-time measure to judge on-time performance against.
dateFilterOption ReceiptDetailDateFilter no Which date the date-range filters apply to: order creation date or receipt date.
Request Body (application/json)
Responses
CodeBodyDescription
200 OnTimePerformanceSummary[] OK
400 ProblemDetails Bad Request

OpenSupplyOrderLineDetail

POST /api/OpenSupplyOrderLineDetail/fetchby/dateRangeItemSiteFilters
Returns open supply order lines (purchase order, transfer, and work order lines not yet fully received) matching the posted filters. Narrow by items, sites, suppliers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...). Omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Paged: omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Query Parameters
NameTypeRequiredDescriptionNote
orderDateType FirmAndPlannedType no Which order date the date-range and period filters apply to.
page integer (int32) no 1-based page to return. Supplying page or pageSize opts in to paging; an omitted page defaults to 1. This changes the return type to a paged envelope, see the description for more information.
pageSize integer (int32) no Rows per page. Defaults to the configured page size (1000) when omitted; bounds are configuration-enforced (1-10000 by default). This changes the return type to a paged envelope, see the description for more information.
Request Body (application/json)
Responses
CodeBodyDescription
200 OpenSupplyOrderLineDetail[] or OpenSupplyOrderLineDetailPagedResult OK
400 ProblemDetails Bad Request

OrderScheduleHeader

POST /api/OrderScheduleHeader/fetchby/itemSiteSupplierFilters
Returns the order schedule headers - one row per item-site-supplier relationship on a scheduled ordering cadence, with its order cycle, next expected ship and dock dates, inventory position, and schedule lock status. Narrow by items, sites, suppliers (any relationship via SupplierIds/SupplierCodes, or the primary one via PrimarySupplierIds/ PrimarySupplierCodes), supplier levels, supplier item categories, or item-site categories - by numeric ids or by business codes (ItemCodes, SiteCodes, SupplierCodes, ...). The MultiHubFilter field is not applied by this endpoint: SupplierLevels always matches exactly, which is the ShowPrimaryHubOnly behavior.
Request Body (application/json)
Responses
CodeBodyDescription
200 OrderScheduleHeader[] OK
400 ProblemDetails Bad Request

OverforecastedPeriodDetail

POST /api/OverforecastedPeriodDetail/fetchby/hierarchyNodeFilters
Returns periods where the forecast materially exceeded actual demand, one row per hierarchy node per period, including forecast quantities, actuals, and forecast error measures. Post filters in the body to narrow by items, sites, customers, categories, or tags - by numeric ids or by business codes (ItemCodes, SiteCodes, ...). Period restrictions (startDate, endDate, yearNumbers, quarterNumbers, monthNumbers) ride the query string.
Query Parameters
NameTypeRequiredDescription
itemHierarchyId integer (int32) no The forecast hierarchy to evaluate.
demandForecastSeriesId integer (int32) no The forecast series to read, e.g. the operational forecast.
nodeLevel integer (int32) no Restricts the result to nodes at one level of the hierarchy (1 = top).
startDate string (date-time) no Earliest period date to include.
endDate string (date-time) no Latest period date to include.
yearNumbers integer (int32)[] no Restricts to periods in the given years.
quarterNumbers integer (int32)[] no Restricts to periods in the given quarters (1-4).
monthNumbers integer (int32)[] no Restricts to periods in the given months (1-12).
Request Body (application/json)
Responses
CodeBodyDescription
200 OverforecastedPeriodDetail[] OK
400 ProblemDetails Bad Request

ReceiptCompletenessPerformanceSummary

POST /api/ReceiptCompletenessPerformanceSummary/fetchby/dateRangeItemSiteSupplierFilters
Returns receipt completeness performance computed from receipt history and bucketed into the requested time interval - one row per period with counts of complete, under-shipped, and over-shipped receipts plus a total. Post filters in the body to narrow by items, sites, suppliers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SiteCodes, SupplierCodes, ...).
Query Parameters
NameTypeRequiredDescription
interval TimeInterval no Time bucket grain to return (e.g. Weekly, Monthly).
Request Body (application/json)
Responses
CodeBodyDescription
200 ReceiptCompletenessPerformanceSummary[] OK
400 ProblemDetails Bad Request

ReceiptDetail

POST /api/ReceiptDetail/fetchby/dateRangeItemSiteSupplierFilters
Returns historical receipt lines (received incoming shipments), one row per supply order line per shipment, with the expected ship, dock, and receipt dates alongside the actual ones and an on-time/early/late classification. Narrow by items, sites, suppliers, or categories - by numeric ids or by business codes (ItemCodes, SiteCodes, ...) - and by a date range applied to the basis chosen with dateFilterOption. Omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Paged: omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Query Parameters
NameTypeRequiredDescriptionNote
dateFilterOption ReceiptDetailDateFilter no Which date the StartDate/EndDate and year/quarter/month filters apply to: OrderCreationDate or ReceiptDate.
page integer (int32) no 1-based page to return. Supplying page or pageSize opts in to paging; an omitted page defaults to 1. This changes the return type to a paged envelope, see the description for more information.
pageSize integer (int32) no Rows per page. Defaults to the configured page size (1000) when omitted; bounds are configuration-enforced (1-10000 by default). This changes the return type to a paged envelope, see the description for more information.
Request Body (application/json)
Responses
CodeBodyDescription
200 ReceiptDetail[] or ReceiptDetailPagedResult OK
400 ProblemDetails Bad Request

ReceiptPerformanceFrequency

POST /api/ReceiptPerformanceFrequency/fetchby/dateRangeItemSiteSupplierFilters
Returns a histogram of receipts by the number of days they arrived early or late, measured against the chosen lead-time measure, for the receipts matching the posted filters. One row per days-early-or-late value with the count of receipts; gaps in the range are filled with zero-count rows. Narrow by items, sites, suppliers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SupplierCodes, ...). Returns an empty list when nothing matches.
Query Parameters
NameTypeRequiredDescription
leadTimeType LeadTimeType no Which lead-time measure to compute the early/late days against.
dateFilterOption ReceiptDetailDateFilter no Which date the date-range filters apply to: order creation date or receipt date.
Request Body (application/json)
Responses
CodeBodyDescription
200 ReceiptPerformanceFrequency[] OK
400 ProblemDetails Bad Request

SafetyStockSummary

POST /api/SafetyStockSummary/fetchby/itemSiteFilters
Returns the safety stock summary (current safety stock levels, targets, and related alert status) for the item-sites matching the posted filters. Narrow by items, sites, suppliers, or categories - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
Request Body (application/json)
Responses
CodeBodyDescription
200 SafetyStockSummary[] OK
400 ProblemDetails Bad Request

SalesOrderDetail

POST /api/SalesOrderDetail/fetchby/salesOrderDetailFilters
Returns sales order lines matching the posted filters. Narrow by items, sites, suppliers, customers, categories, order numbers, or a demand-date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...). When includeClosed is true, an unpaged request must be bounded by at least one filter or a date range; request paging to pull full closed history page by page. Omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Paged: omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Query Parameters
NameTypeRequiredDescriptionNote
demandSeriesId integer (int32) no Restricts results to one demand series; omit for all.
includeClosed boolean (default: False) no Include closed and fulfilled lines (default: open and on-hold lines only).
bomPositions integer (int32)[] no Restricts to items at the given bill-of-material positions.
page integer (int32) no 1-based page to return. Supplying page or pageSize opts in to paging; an omitted page defaults to 1. This changes the return type to a paged envelope, see the description for more information.
pageSize integer (int32) no Rows per page. Defaults to the configured page size (1000) when omitted; bounds are configuration-enforced (1-10000 by default). This changes the return type to a paged envelope, see the description for more information.
Request Body (application/json)
Responses
CodeBodyDescription
200 SalesOrderDetail[] or SalesOrderDetailPagedResult OK
400 ProblemDetails Bad Request

StagingTableImportSettings

GET /api/StagingTableImportSettings
Lists the import settings for every staging table: whether the table is active for import, how many days of history are kept, and which date column drives incremental loads. Integrations that push data into the staging tables use these settings to agree with StockIQ on what gets imported.
Responses
CodeBodyDescription
200 StagingTableImportSettings[] OK
POST /api/StagingTableImportSettings
Creates or updates a staging table's import settings. WARNING: this changes how the nightly import treats that staging table (e.g. deactivating a table stops its data from being imported). Post the full settings object; include the id to update an existing row.
Request Body (application/json)
Responses
CodeBodyDescription
200 StagingTableImportSettings OK
GET /api/StagingTableImportSettings/{id}
Returns the import settings row with the given id.
Query Parameters
NameTypeRequiredDescription
id integer (int32) yes
Responses
CodeBodyDescription
200 StagingTableImportSettings OK
DELETE /api/StagingTableImportSettings/{id}
Deletes a staging table's import settings row. WARNING: the affected table reverts to default import behavior on the next refresh.
Query Parameters
NameTypeRequiredDescription
id integer (int32) yes
Responses
CodeBodyDescription
200 OK

StockOutsDetail

POST /api/StockOutsDetail/fetchby/itemSiteFilters
Returns the current and recent stockout rows for the item-sites matching the posted filters - one row per stocked-out item-site with how many days it has been out, how many times it has stocked out recently, and projected back-in-stock information from the next expected supply order. Narrow by items, sites, suppliers, or categories - by numeric ids or by business codes (ItemCodes, SiteCodes, ...).
Query Parameters
NameTypeRequiredDescription
includeNonStockPolicies boolean (default: False) no Include item-sites with a non-stocking order policy; these are excluded by default.
includeItemsWithZeroSafetyStock boolean (default: False) no Include item-sites whose safety stock is zero; these are excluded by default since carrying no stock is intentional.
includeReplacedItems boolean (default: False) no Include item-sites that have been replaced by another item; these are excluded by default.
numberOfDaysToCheckForRecentStockouts integer (int32) (default: 90) no Look-back window, in days, used to count each item-site's recent stockouts. Defaults to 90.
Request Body (application/json)
Responses
CodeBodyDescription
200 StockOutsDetail[] OK
400 ProblemDetails Bad Request

SupplierReceiptPerformanceOverview

POST /api/SupplierReceiptPerformanceOverview/fetchby/dateRangeItemSiteSupplierFilters
Returns one scorecard row per supplier for the receipts matching the posted filters - order, line, and receipt counts, on-time/early/late counts, complete/under/over receipt counts, service levels, and average lead times and delays. Narrow by items, sites, suppliers, categories, or a date range - by numeric ids or by business codes (ItemCodes, SupplierCodes, ...).
Query Parameters
NameTypeRequiredDescription
leadTimeType LeadTimeType no Which lead-time measure to judge on-time performance against.
dateFilterOption ReceiptDetailDateFilter no Which date the date-range filters apply to: order creation date or receipt date.
Request Body (application/json)
Responses
CodeBodyDescription
200 SupplierReceiptPerformanceOverview[] OK
400 ProblemDetails Bad Request

SupplyOrderDetail

POST /api/SupplyOrderDetail/fetchby/supplyOrderDateRangeItemSiteFilters
Returns supply order headers (purchase orders, transfers, and work orders) matching the posted filters, with per-order line counts, costs, weights, and cubes. Narrow by items, sites, suppliers, categories, order numbers, statuses, or an order-creation date range - by numeric ids or by business codes (ItemCodes, SiteCodes, ...). Omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Paged: omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Query Parameters
NameTypeRequiredDescriptionNote
hasBuyerEditedQuantity boolean (default: False) no Restricts to orders with at least one line whose quantity a buyer edited.
page integer (int32) no 1-based page to return. Supplying page or pageSize opts in to paging; an omitted page defaults to 1. This changes the return type to a paged envelope, see the description for more information.
pageSize integer (int32) no Rows per page. Defaults to the configured page size (1000) when omitted; bounds are configuration-enforced (1-10000 by default). This changes the return type to a paged envelope, see the description for more information.
Request Body (application/json)
Responses
CodeBodyDescription
200 SupplyOrderDetail[] or SupplyOrderDetailPagedResult OK
400 ProblemDetails Bad Request

SupplyOrderLineDetail

POST /api/SupplyOrderLineDetail/fetchby/supplyOrderDateRangeItemSiteFilters
Returns historical supply order lines (purchase orders, transfers, and work orders), one row per order line, including the planning snapshot captured when the order was created (on-hand, lead times, safety stock, suggested vs actual quantities, ...). Narrow by items, sites, suppliers, categories, order numbers, statuses, or supply types - by numeric ids or by business codes (ItemCodes, SiteCodes, ...) - and by an order-creation date range. Omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Paged: omit page/pageSize to receive the complete result set as a plain JSON array; supply either to receive one page in a PagedResult envelope.
Query Parameters
NameTypeRequiredDescriptionNote
hasBuyerEditedQuantity boolean (default: False) no Restricts to lines whose quantity a buyer edited.
page integer (int32) no 1-based page to return. Supplying page or pageSize opts in to paging; an omitted page defaults to 1. This changes the return type to a paged envelope, see the description for more information.
pageSize integer (int32) no Rows per page. Defaults to the configured page size (1000) when omitted; bounds are configuration-enforced (1-10000 by default). This changes the return type to a paged envelope, see the description for more information.
Request Body (application/json)
Responses
CodeBodyDescription
200 SupplyOrderLineDetail[] or SupplyOrderLineDetailPagedResult OK
400 ProblemDetails Bad Request

SystemStatus

GET /api/SystemStatus
Returns the instance's current system status: the status flag (e.g. ready, running extracts, calculating), the current calculate step, and when it last changed. Poll this to know when a data refresh has finished before pulling data.
Responses
CodeBodyDescription
200 SystemStatus[] OK

UnderforecastedPeriodDetail

POST /api/UnderforecastedPeriodDetail/fetchby/hierarchyNodeFilters
Returns periods where actual demand materially exceeded the forecast, one row per hierarchy node per period, including forecast quantities, actuals, and forecast error measures. Post filters in the body to narrow by items, sites, customers, categories, or tags - by numeric ids or by business codes (ItemCodes, SiteCodes, ...). Period restrictions (startDate, endDate, yearNumbers, quarterNumbers, monthNumbers) ride the query string.
Query Parameters
NameTypeRequiredDescription
itemHierarchyId integer (int32) no The forecast hierarchy to evaluate.
demandForecastSeriesId integer (int32) no The forecast series to read, e.g. the operational forecast.
nodeLevel integer (int32) no Restricts the result to nodes at one level of the hierarchy (1 = top).
startDate string (date-time) no Earliest period date to include.
endDate string (date-time) no Latest period date to include.
yearNumbers integer (int32)[] no Restricts to periods in the given years.
quarterNumbers integer (int32)[] no Restricts to periods in the given quarters (1-4).
monthNumbers integer (int32)[] no Restricts to periods in the given months (1-12).
Request Body (application/json)
Responses
CodeBodyDescription
200 UnderforecastedPeriodDetail[] OK
400 ProblemDetails Bad Request

Schemas

AlertDetailFilters

Filters for alert detail queries: the full hierarchy-node filter set plus the alert-specific dimensions (type, priority, state).
PropertyTypeNullableDescription
AlertTypes AlertType[] yes Restrict to these alert types.
AlertPriorities AlertPriority[] yes Restrict to these alert priorities.
AlertStates AlertState[] yes Restrict to alerts in these states (e.g. active, suspended).
SupplierItemCode string[] yes Restrict to items whose supplier item code contains one of these values (substring match).
ItemIds integer (int32)[] yes Restrict to these item ids.
ItemTagIds integer (int32)[] yes Restrict to items carrying any of these item tag ids.
SiteIds integer (int32)[] yes Restrict to these site ids.
CustomerShipToCategory1Ids integer (int32)[] yes Restrict to these customer ship-to category 1 ids.
CustomerShipToCategory2Ids integer (int32)[] yes Restrict to these customer ship-to category 2 ids.
CustomerShipToCategory3Ids integer (int32)[] yes Restrict to these customer ship-to category 3 ids.
CustomerIds integer (int32)[] yes Restrict to these customer ids.
CustomerShipToIds integer (int32)[] yes Restrict to these customer ship-to ids.
PrimarySupplierIds integer (int32)[] yes Restrict to item-sites whose primary supplier is one of these supplier ids.
BuyerIds integer (int32)[] yes Restrict to these buyer ids.
AbcClasses string[] yes Restrict to these ABC classes (e.g. A, B, C).
XyzClasses string[] yes Restrict to these XYZ classes.
OrderPolicies integer (int32)[] yes Restrict to item-sites using these replenishment order policies.
ItemStatuses integer (int32)[] yes Restrict to items with these item statuses.
ShipperIds integer (int32)[] yes Restrict to these shipper (owning company) ids.
ItemSiteCategory1Ids integer (int32)[] yes Restrict to these item-site category 1 ids.
ItemSiteCategory2Ids integer (int32)[] yes Restrict to these item-site category 2 ids.
ItemSiteCategory3Ids integer (int32)[] yes Restrict to these item-site category 3 ids.
ItemSiteCategory4Ids integer (int32)[] yes Restrict to these item-site category 4 ids.
ItemSiteCategory5Ids integer (int32)[] yes Restrict to these item-site category 5 ids.
ItemSiteCategory6Ids integer (int32)[] yes Restrict to these item-site category 6 ids.
ItemSiteCategory7Ids integer (int32)[] yes Restrict to these item-site category 7 ids.
ItemSiteCategory8Ids integer (int32)[] yes Restrict to these item-site category 8 ids.
ItemCodes string[] yes Restrict to items with these item codes. Codes are resolved server-side; any unknown code fails the request with a 400 listing it.
SiteCodes string[] yes Restrict to sites with these site codes. Unknown codes fail the request with a 400.
PrimarySupplierCodes string[] yes Restrict to item-sites whose primary supplier has one of these supplier codes. Unknown codes fail the request with a 400.
BuyerCodes string[] yes Restrict to buyers with these buyer codes. Unknown codes fail the request with a 400.
ShipperCodes string[] yes Restrict to shippers with these shipper codes. Unknown codes fail the request with a 400.
CustomerCodes string[] yes Restrict to customers with these customer codes. Unknown codes fail the request with a 400.
CustomerShipToCodes string[] yes Restrict to customer ship-tos with these ship-to codes. Unknown codes fail the request with a 400.
ItemSiteCategory1Codes string[] yes Restrict to item-site category 1 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory2Codes string[] yes Restrict to item-site category 2 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory3Codes string[] yes Restrict to item-site category 3 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory4Codes string[] yes Restrict to item-site category 4 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory5Codes string[] yes Restrict to item-site category 5 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory6Codes string[] yes Restrict to item-site category 6 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory7Codes string[] yes Restrict to item-site category 7 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory8Codes string[] yes Restrict to item-site category 8 entries with these codes. Unknown codes fail the request with a 400.

AlertPrimaryIdProperty

Values: 1 = ItemSiteId; 2 = ItemSiteSupplierId; 3 = HierarchyNodeId; 4 = ItemId.
Enum values: 1, 2, 3, 4

AlertPriority

Values: 0 = None; 1 = Low; 2 = Medium; 4 = High.
Enum values: 0, 1, 2, 4

AlertState

Values: 0 = None; 1 = Active; 2 = Suspended; 4 = Ignored.
Enum values: 0, 1, 2, 4

AlertType

Values: 1 = StockOut; 2 = SlowMover; 3 = DeadStock; 4 = ItemSiteServiceLevel; 5 = Backorders; 6 = LateSupplyOrder; 7 = InventoryExpiration; 8 = UnderForecast; 9 = OverForecast; 10 = ForecastError; 11 = ForecastVsModel; 12 = CurrentExcess; 13 = NewItem; 14 = UnusualSales; 15 = PlanAtRisk; 16 = SafetyStock; 17 = CriticalOrder; 18 = PromotionFrequency; 19 = PromotionDepth; 20 = PromotionLength; 21 = OrderStatus; 22 = ProjectedStockOut; 23 = ProjectedExcess; 24 = LargeMinMult; 25 = OverdueToBuy.
Enum values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25

AlternateOrderTargetQuantity

Values: 0 = Any; 1 = OnHand; 2 = CurrentAvailable; 4 = ProjectedAvailable; 6 = PlannedOverstock; 7 = Overstock; 8 = Excess; 128 = Disabled.
Enum values: 0, 1, 2, 4, 6, 7, 8, 128

AuthenticateRequest

PropertyTypeNullableDescription
token string yes The API token secret issued at creation (the `siq_...` value).

AuthenticateResponse

PropertyTypeNullableDescription
access_token string yes
token_type string yes
expires_in integer (int32) no

AverageLeadTime

PropertyTypeNullableDescription
PeriodDate string (date-time) no
AdminLeadTime integer (int32) yes
VendorLeadTime integer (int32) yes
ShippingLeadTime integer (int32) yes
PlanningLeadTime integer (int32) yes
PutawayLeadTime integer (int32) yes
SampleCount integer (int32) yes

BlanketPurchaseOrderLineDetail

PropertyTypeNullableDescription
ErrorMessages OrderLineErrorMessage[] yes
Guid string yes
ItemSiteIds integer (int32)[] yes
ItemSiteSupplierIds integer (int32)[] yes
IsInOrder boolean no
IsEditingAllowed boolean no
IsUnderMinOrderQuantity boolean no
IsOverMaxOrderQuantity boolean no
ViolatesOrderMultipleQuantity boolean no
IsUnderSupplierMinimum boolean no
IsUnderSupplierItemMinimum boolean yes
HasExpectedShipDateProblem boolean no
UserEditedPurchaseCost boolean no
HasPlannedFirstShipDateProblem boolean no
SiteId integer (int32) no
ActiveOrderPolicy ReplenishmentOrderPolicy no
SiteCode string yes
ReleaseNumber integer (int32) yes
PlannedReceiptDate string (date-time) no
CurrentExcessThreshold number (double) no
RawReleaseQuantity number (double) yes
BuyerId integer (int32) yes
AbcClass string yes
XyzClass string yes
ItemSiteCategory1Id integer (int32) yes
ItemSiteCategory2Id integer (int32) yes
ItemSiteCategory3Id integer (int32) yes
ItemSiteCategory4Id integer (int32) yes
ItemSiteCategory5Id integer (int32) yes
ItemSiteCategory6Id integer (int32) yes
ItemSiteCategory7Id integer (int32) yes
ItemSiteCategory8Id integer (int32) yes
ShipperId integer (int32) yes
ResolvedItemStatus ItemStatus no
ActiveSupplierLevel integer (int32) no
HubCount integer (int32) yes
ItemSiteId integer (int32) no
ItemSiteSupplierId integer (int32) no
RemainingBlanketPoQuantity number (double) no
LinePurchaseCost number (double) yes
EstimatedReceivingCost number (double) yes
EstimatedCostOfOrdering number (double) yes
LineSupplierCost number (double) yes
StockIqSuggestedReleaseQuantity number (double) yes
ReleaseQuantity number (double) no Release/Order quantity, expressed in StockingUoM
PurchaseQuantity number (double) yes
ReleaseQuantityBeforePricebreakModifications number (double) yes
PurchaseQuantityCost number (double) yes
UnitCubes number (double) yes
HistoricalMonthlyUsage number (double) yes
ForecastedMonthlyUsage number (double) yes
MonthlyUsageAtLeadTime number (double) yes
LineWeight number (double) yes
LineCubes number (double) yes
LinePallets number (double) yes
LineEquivalencyUnits number (double) yes
OrderDaysOfSupply number (double) yes
ProjectedActualAvailableAtLeadTime number (double) yes
ProjectedAvailableAtLeadTimeWithoutOrderSuggestion number (double) yes
DaysUntilNextCostChange integer (int32) yes
UsagePattern UsagePattern no
InventoryPosition InventoryPosition no
StandardPrice number (double) no
StandardPriceCurrency string yes
DateCreated string (date-time) no
DateUpdated string (date-time) no
ProjectedDaysOfSupplyOnArrival number (double) yes
ProjectedOnHandQuantity number (double) yes how many will we have when this arrives a lead time from today?
ProjectedDaysCycleStockOnArrival number (double) yes
OnBlanketOrderQty number (double) yes
BlanketPurchaseOrderId integer (int32) no
BlanketPurchaseOrderLineId integer (int32) no
SupplierId integer (int32) no
SupplierCode string yes
SupplierName string yes
ErpBlanketOrderNumber string yes
StockIqBlanketOrderNumber string yes
ReleasesSkipManufacturingLeadTime boolean no
OrderCreationDate string (date-time) yes
InternalNote string yes
ExternalNote string yes
CreatedByUserId integer (int32) yes
UpdatedByUserId integer (int32) yes
SupplierItemCategoryId integer (int32) yes
SupplierItemCategoryName string yes
SupplierLocationId integer (int32) yes
SupplierLocationName string yes
SupplierItemCode string yes
ItemId integer (int32) no
ItemCode string yes
ItemDescription string yes
Upc string yes
UnitHeight number (double) yes
UnitLength number (double) yes
UnitWidth number (double) yes
UnitWeight number (double) yes
EquivalencyUnits number (double) yes
SizeUnits SizeUnits no
UnitsPerPallet number (double) yes
ItemErpNotes string yes
SyncStatus BlanketPurchaseOrderSyncStatus no
ErpBlanketOrderLineNumber number (double) yes
StockIqBlanketOrderLineNumber number (double) yes
ContainerNumber string yes
BlanketPoLineStatus BlanketPurchaseOrderLineStatus no
BlanketPoQuantity number (double) no
OriginalBlanketPoQuantity number (double) yes
PurchaseCost number (double) no
PurchaseCostCurrency string yes
ExpectedShipDate string (date-time) yes
InternalLineComment string yes
ExternalLineComment string yes
UserEditedReleaseQuantity boolean no
UserEditedShipDate boolean no
PurchaseCostStatus PurchaseCostStatus no
StockIqSuggestedBlanketPoQuantity number (double) yes
SupplierCost number (double) no
SupplierCostCurrency string yes
MinimumOrderQuantity integer (int32) yes
OrderMultipleQuantity integer (int32) yes
MaxOrderQuantity integer (int32) yes
YieldPercentage number (double) yes
UnitOfMeasure string yes
PurchaseUnitOfMeasure string yes
StockingUnitsPerPurchaseUnits number (double) yes
SupplierOnHand number (double) yes
ActiveAdminLeadTime integer (int32) yes
ActiveManufacturingLeadTime integer (int32) yes
TotalOnHandQuantity number (double) yes
ReplacedOnHandQuantity number (double) yes
TotalOnDemandOrderQuantity number (double) yes
TotalAvailableQuantity number (double) yes
TotalAvailableQuantityAtLeadTime number (double) yes
TotalOnOrderQuantity number (double) yes
TotalInTransitQuantity number (double) yes
HistoricalDailyUsage number (double) yes
ForecastedDailyUsage number (double) yes
DailyUsageAtLeadTime number (double) yes
ActivePanicPoint number (double) yes
ActiveSafetyStock number (double) yes
ActiveTargetStock number (double) no
ActiveMaxStock number (double) yes
NextSupplierCost number (double) yes
NextSupplierCostDate string (date-time) yes
OriginalExpectedShipDate string (date-time) yes
ApprovedByUserId integer (int32) yes
ReleasedQuantity number (double) yes
ItemSiteCategory1Name string yes
ItemSiteCategory2Name string yes
ItemSiteCategory3Name string yes
ItemSiteCategory4Name string yes
ItemSiteCategory5Name string yes
ItemSiteCategory6Name string yes
ItemSiteCategory7Name string yes
ItemSiteCategory8Name string yes

BlanketPurchaseOrderLineStatus

Values: 0 = NotSet; 1 = Created; 2 = Review; 3 = Open; 4 = Canceled; 5 = Closed; 128 = Error.
Enum values: 0, 1, 2, 3, 4, 5, 128

BlanketPurchaseOrderSyncStatus

Values: 1 = NeedsInitialSync; 2 = Sent; 4 = Synced; 8 = NeedsReSync; 16 = NotApplicable.
Enum values: 1, 2, 4, 8, 16

BoMPosition

Values: 0 = None; 1 = Bottom; 2 = Middle; 4 = Top.
Enum values: 0, 1, 2, 4

ChartConstantLine

PropertyTypeNullableDescription
PeriodDate string (date-time) no
Label string yes
LineType ChartConstantLineType no

ChartConstantLineType

Values: 1 = YearMarker; 2 = CurrentPeriod; 3 = LeadTimePeriod; 4 = SawtoothUnlockDate.
Enum values: 1, 2, 3, 4

CurrentExcessDetail

PropertyTypeNullableDescription
AlertKeyId integer (int64) no
AlertType AlertType no
PrimaryId integer (int32) no
PrimaryIdProperty AlertPrimaryIdProperty no
MarginPercent number (double) yes
ExcessDays number (double) yes
SiteGroupExcessDays number (double) yes
CurrentDaysOfSupply number (double) yes
PreferredExcessThreshold number (double) yes
PreferredExcessQuantity number (double) yes
ItemSiteId integer (int32) no
DateCreated string (date-time) yes
DateFirstStocked string (date-time) yes
ItemSiteErpNotes string yes
ShipperId integer (int32) yes
ItemId integer (int32) no
SiteId integer (int32) no
BuyerId integer (int32) yes
PrimarySupplierId integer (int32) yes
ItemSiteCategory1Id integer (int32) yes
ItemSiteCategory2Id integer (int32) yes
ItemSiteCategory3Id integer (int32) yes
ItemSiteCategory4Id integer (int32) yes
ItemSiteCategory5Id integer (int32) yes
ItemSiteCategory6Id integer (int32) yes
ItemSiteCategory7Id integer (int32) yes
ItemSiteCategory8Id integer (int32) yes
ItemCode string yes
SiteCode string yes
SiteGroupName string yes
PrimarySupplierName string yes
BuyerName string yes
ItemDescription string yes
ActiveOrderPolicy ReplenishmentOrderPolicy no
ResolvedItemStatus ItemStatus no
UsagePattern UsagePattern no
InventoryPosition InventoryPosition no
AbcClass string yes
XyzClass string yes
CurrentCost number (double) no
StandardCost number (double) no
TotalOnHandQuantity number (double) no
ReplacedOnHandQuantity number (double) yes
StandardPrice number (double) no
OnHandBalance number (double) no
TotalOnOrderQuantity number (double) yes
TotalAvailableQuantity number (double) yes
TotalAvailableQuantityAtLeadTime number (double) yes
CurrentExcessThreshold number (double) yes
ExcessQuantity number (double) yes
BoMPosition integer (int32) yes
ExcessBalance number (double) yes
TotalForecastedDailyUsage number (double) yes
TotalDailyUsageAtLeadTime number (double) yes
SupplierItemCode string yes
MinimumOrderQuantity integer (int32) no
OrderMultipleQuantity integer (int32) no
OnHandCubes number (double) yes
ExcessCubes number (double) yes
CustomerShipToCount integer (int32) yes
CustomerCount integer (int32) yes
FirstSaleDate string (date-time) yes
LastSaleDate string (date-time) yes
NumberOfOpenSupplies integer (int32) yes
NextOrderRemainingReleaseQuantity number (double) yes
NextExpectedDockDate string (date-time) yes
NextErpOrderNumber string yes
NextPlannedReceiptDate string (date-time) yes
LastOrderedDate string (date-time) yes
LastReceiptDate string (date-time) yes
InventoryPositionAtLeadTime integer (int32) no
ItemSiteCategory1Name string yes
ItemSiteCategory2Name string yes
ItemSiteCategory3Name string yes
ItemSiteCategory4Name string yes
ItemSiteCategory5Name string yes
ItemSiteCategory6Name string yes
ItemSiteCategory7Name string yes
ItemSiteCategory8Name string yes
ItemSiteNotes string yes
DateNoteUpdated string (date-time) yes
SiteGroupInventoryPosition InventoryPosition no
SiteGroupUsagePattern UsagePattern no
SiteGroupCurrentExcessQuantity number (double) yes
SiteGroupCurrentExcessThreshold number (double) yes
SiteGroupTotalForecastedDailyUsage number (double) yes
ActivePreferredMaxStock number (double) yes
ActiveMaxStock number (double) no
CountryOfOrigin string yes
TotalOnDemandOrderQuantity number (double) yes
LastErpOrderNumber string yes
LastStockIqOrderNumber string yes
AlertSummaryId integer (int32) no
AMsg string yes
DateUpdated string (date-time) no
UpdatedByUserId integer (int32) yes
AssignedToUserId integer (int32) yes
ASt AlertState no
APri AlertPriority no
Rank integer (int32) yes
SuspendedByUserId integer (int32) yes
SuspendedByUserName string yes
DateSuspended string (date-time) yes
ReactivationDate string (date-time) yes
IsReactivateEnabled boolean yes
AlertNote string yes
AlertTypeName string yes
CustomerShipToCategory1Value string yes Virtual property to satisfy implementing IAlertDetail, specifically so that we can be able to tell the difference between item-site and item-site-CSC1 level alerts in alert tests in our tests.
CustomerShipToCategory2Value string yes
CustomerShipToCategory3Value string yes

CustomReportParameter

A single input parameter of a custom report's cust-schema stored procedure, discovered by introspecting sys.parameters (cnfg.CustomReportParameterSelectByStoredProcedureName) rather than stored configuration — so the definition can never drift from the sproc itself.
PropertyTypeNullableDescription
Name string yes
SqlTypeName string yes
Type string yes Client-facing type discriminator derived from SqlTypeName — one of StockIQ.Entities.Cnfg.CustomReportParameterTypes.
IsRequired boolean no True when the parameter declares no default in the procedure header, so SQL Server will fail if it is not supplied.

CustomerItemDueToBuyDetail

PropertyTypeNullableDescription
DaysSinceLastPurchase integer (int32) yes
OverdueByDays integer (int32) yes
ProbabilityOfPurchase number (double) yes
LostCustomerItemRecordExists boolean no
Last6MonthsHits number (double) no
Last6MonthsQuantitySold number (double) no
Last6MonthsCogs number (double) no
Last6MonthsRevenue number (double) no
Last6MonthsMargin number (double) no
AverageSaleQuantity number (double) yes
AllWarehousesOnOrderQuantity number (double) yes
AllWarehousesOnHandQuantity number (double) yes
ShipperId integer (int32) yes
SiteId integer (int32) no
BuyerId integer (int32) yes
SiteCode string yes
PrimarySupplierName string yes
AbcClass string yes
XyzClass string yes
ActiveOrderPolicy ReplenishmentOrderPolicy no
ResolvedItemStatus ItemStatus no
BuyerName string yes
ItemSiteCategory1Name string yes
ItemSiteCategory2Name string yes
ItemSiteCategory3Name string yes
ItemSiteCategory4Name string yes
ItemSiteCategory5Name string yes
ItemSiteCategory6Name string yes
ItemSiteCategory7Name string yes
ItemSiteCategory8Name string yes
AlertKeyId integer (int64) no
AlertType AlertType no
PrimaryId integer (int32) no
PrimaryIdProperty AlertPrimaryIdProperty no
CustomerId integer (int32) no
CustomerCode string yes
CustomerName string yes
ItemId integer (int32) no
ItemCode string yes
ItemDescription string yes
ItemSiteCategory1Id integer (int32) no
ItemSiteCategory2Id integer (int32) no
ItemSiteCategory3Id integer (int32) no
ItemSiteCategory4Id integer (int32) no
ItemSiteCategory5Id integer (int32) no
ItemSiteCategory6Id integer (int32) no
ItemSiteCategory7Id integer (int32) no
ItemSiteCategory8Id integer (int32) no
ISC1 string yes
ISC2 string yes
ISC3 string yes
ISC4 string yes
ISC5 string yes
ISC6 string yes
ISC7 string yes
ISC8 string yes
MeanInterarrivalDays integer (int32) no
MaxOnTimeInterarrivalDays integer (int32) no
GeometricParameter number (double) no
CustomerItemStatus CustomerItemStatus no
CustomerItemUsagePattern integer (int32) no
ExpectedNextPurchaseDate string (date-time) yes
LatestExpectedNextPurchaseDate string (date-time) yes
FirstPurchaseDate string (date-time) yes
LastPurchaseDate string (date-time) yes
LastOrderNumber string yes
LifetimeQuantitySold number (double) no
LifetimeHits number (double) no
LifetimeCogs number (double) no
LifetimeRevenue number (double) no
LifetimeMargin number (double) no
YTDQuantitySold number (double) no
YTDHits number (double) no
YTDCogs number (double) no
YTDRevenue number (double) no
YTDMargin number (double) no
LostItemCustomerId integer (int32) no
TypicalOrderQuantity number (double) no
TypicalOrderValue number (double) no
ItemLastInStockDate string (date-time) yes
AlertSummaryId integer (int32) no
AMsg string yes
DateCreated string (date-time) no
DateUpdated string (date-time) no
UpdatedByUserId integer (int32) yes
AssignedToUserId integer (int32) yes
ASt AlertState no
APri AlertPriority no
Rank integer (int32) yes
SuspendedByUserId integer (int32) yes
SuspendedByUserName string yes
DateSuspended string (date-time) yes
ReactivationDate string (date-time) yes
IsReactivateEnabled boolean yes
AlertNote string yes
AlertTypeName string yes
CustomerShipToCategory1Value string yes Virtual property to satisfy implementing IAlertDetail, specifically so that we can be able to tell the difference between item-site and item-site-CSC1 level alerts in alert tests in our tests.
CustomerShipToCategory2Value string yes
CustomerShipToCategory3Value string yes

CustomerItemDueToBuyFilters

Filters for the customer/item "due to buy" query. This data is customer-and-item grain (no site or supplier dimension), so it has its own slim filter set.
PropertyTypeNullableDescription
ItemIds integer (int32)[] yes Restrict to these item ids.
ItemTagIds integer (int32)[] yes Restrict to items carrying any of these item tag ids.
CustomerIds integer (int32)[] yes Restrict to these customer ids.
UsagePatterns UsagePattern[] yes Restrict to these usage patterns.
ItemStatuses CustomerItemStatus[] yes Restrict to customer/item combinations in these due-to-buy statuses (e.g. DueToBuy, Overdue).
ItemSiteCategory1Ids integer (int32)[] yes Restrict to these item-site category 1 ids.
ItemSiteCategory2Ids integer (int32)[] yes Restrict to these item-site category 2 ids.
ItemSiteCategory3Ids integer (int32)[] yes Restrict to these item-site category 3 ids.
ItemSiteCategory4Ids integer (int32)[] yes Restrict to these item-site category 4 ids.
ItemSiteCategory5Ids integer (int32)[] yes Restrict to these item-site category 5 ids.
ItemSiteCategory6Ids integer (int32)[] yes Restrict to these item-site category 6 ids.
ItemSiteCategory7Ids integer (int32)[] yes Restrict to these item-site category 7 ids.
ItemSiteCategory8Ids integer (int32)[] yes Restrict to these item-site category 8 ids.
ItemCodes string[] yes Restrict to items with these item codes. Unknown codes fail the request with a 400.
CustomerCodes string[] yes Restrict to customers with these customer codes. Unknown codes fail the request with a 400.
ItemSiteCategory1Codes string[] yes Restrict to item-site category 1 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory2Codes string[] yes Restrict to item-site category 2 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory3Codes string[] yes Restrict to item-site category 3 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory4Codes string[] yes Restrict to item-site category 4 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory5Codes string[] yes Restrict to item-site category 5 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory6Codes string[] yes Restrict to item-site category 6 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory7Codes string[] yes Restrict to item-site category 7 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory8Codes string[] yes Restrict to item-site category 8 entries with these codes. Unknown codes fail the request with a 400.

CustomerItemStatus

Values: 0 = Unknown; 1 = SingleBuy; 2 = OK; 3 = DueToBuy; 4 = Overdue.
Enum values: 0, 1, 2, 3, 4

DateRangeHierarchyNodeFilters

PropertyTypeNullableDescription
StartDate string (date-time) yes Earliest date included, inclusive. Omit for no lower bound.
EndDate string (date-time) yes Latest date included, inclusive. Omit for no upper bound.
YearNumbers integer (int32)[] yes Restrict to these calendar year numbers (e.g. 2026).
QuarterNumbers integer (int32)[] yes Restrict to these quarter numbers (1-4).
MonthNumbers integer (int32)[] yes Restrict to these month numbers (1-12).
SupplierItemCode string[] yes Restrict to items whose supplier item code contains one of these values (substring match).
ItemIds integer (int32)[] yes Restrict to these item ids.
ItemTagIds integer (int32)[] yes Restrict to items carrying any of these item tag ids.
SiteIds integer (int32)[] yes Restrict to these site ids.
CustomerShipToCategory1Ids integer (int32)[] yes Restrict to these customer ship-to category 1 ids.
CustomerShipToCategory2Ids integer (int32)[] yes Restrict to these customer ship-to category 2 ids.
CustomerShipToCategory3Ids integer (int32)[] yes Restrict to these customer ship-to category 3 ids.
CustomerIds integer (int32)[] yes Restrict to these customer ids.
CustomerShipToIds integer (int32)[] yes Restrict to these customer ship-to ids.
PrimarySupplierIds integer (int32)[] yes Restrict to item-sites whose primary supplier is one of these supplier ids.
BuyerIds integer (int32)[] yes Restrict to these buyer ids.
AbcClasses string[] yes Restrict to these ABC classes (e.g. A, B, C).
XyzClasses string[] yes Restrict to these XYZ classes.
OrderPolicies integer (int32)[] yes Restrict to item-sites using these replenishment order policies.
ItemStatuses integer (int32)[] yes Restrict to items with these item statuses.
ShipperIds integer (int32)[] yes Restrict to these shipper (owning company) ids.
ItemSiteCategory1Ids integer (int32)[] yes Restrict to these item-site category 1 ids.
ItemSiteCategory2Ids integer (int32)[] yes Restrict to these item-site category 2 ids.
ItemSiteCategory3Ids integer (int32)[] yes Restrict to these item-site category 3 ids.
ItemSiteCategory4Ids integer (int32)[] yes Restrict to these item-site category 4 ids.
ItemSiteCategory5Ids integer (int32)[] yes Restrict to these item-site category 5 ids.
ItemSiteCategory6Ids integer (int32)[] yes Restrict to these item-site category 6 ids.
ItemSiteCategory7Ids integer (int32)[] yes Restrict to these item-site category 7 ids.
ItemSiteCategory8Ids integer (int32)[] yes Restrict to these item-site category 8 ids.
ItemCodes string[] yes Restrict to items with these item codes. Codes are resolved server-side; any unknown code fails the request with a 400 listing it.
SiteCodes string[] yes Restrict to sites with these site codes. Unknown codes fail the request with a 400.
PrimarySupplierCodes string[] yes Restrict to item-sites whose primary supplier has one of these supplier codes. Unknown codes fail the request with a 400.
BuyerCodes string[] yes Restrict to buyers with these buyer codes. Unknown codes fail the request with a 400.
ShipperCodes string[] yes Restrict to shippers with these shipper codes. Unknown codes fail the request with a 400.
CustomerCodes string[] yes Restrict to customers with these customer codes. Unknown codes fail the request with a 400.
CustomerShipToCodes string[] yes Restrict to customer ship-tos with these ship-to codes. Unknown codes fail the request with a 400.
ItemSiteCategory1Codes string[] yes Restrict to item-site category 1 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory2Codes string[] yes Restrict to item-site category 2 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory3Codes string[] yes Restrict to item-site category 3 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory4Codes string[] yes Restrict to item-site category 4 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory5Codes string[] yes Restrict to item-site category 5 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory6Codes string[] yes Restrict to item-site category 6 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory7Codes string[] yes Restrict to item-site category 7 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory8Codes string[] yes Restrict to item-site category 8 entries with these codes. Unknown codes fail the request with a 400.

DateRangeItemSiteFilters

PropertyTypeNullableDescription
StartDate string (date-time) yes Earliest date included, inclusive. Omit for no lower bound.
EndDate string (date-time) yes Latest date included, inclusive. Omit for no upper bound.
YearNumbers integer (int32)[] yes Restrict to these calendar year numbers (e.g. 2026).
QuarterNumbers integer (int32)[] yes Restrict to these quarter numbers (1-4).
MonthNumbers integer (int32)[] yes Restrict to these month numbers (1-12).
ItemIds integer (int32)[] yes Restrict to these item ids.
SiteIds integer (int32)[] yes Restrict to these site ids.
PrimarySupplierIds integer (int32)[] yes Restrict to item-sites whose primary supplier is one of these supplier ids.
BuyerIds integer (int32)[] yes Restrict to these buyer ids.
AbcClasses string[] yes Restrict to these ABC classes (e.g. A, B, C).
XyzClasses string[] yes Restrict to these XYZ classes.
OrderPolicies ReplenishmentOrderPolicy[] yes Restrict to item-sites using these replenishment order policies.
ItemStatuses ItemStatus[] yes Restrict to items with these item statuses.
ShipperIds integer (int32)[] yes Restrict to these shipper (owning company) ids.
BoMPositions integer (int32)[] yes Restrict to items at these bill-of-material positions.
ItemTagIds integer (int32)[] yes Restrict to items carrying any of these item tag ids.
SupplierItemCode string[] yes Restrict by supplier item code (exact match). On item-site level endpoints this matches the primary supplier's item code; on supplier-relationship level endpoints (receipts, lead times) it matches the code on the returned relationship.
ItemSiteCategory1Ids integer (int32)[] yes Restrict to these item-site category 1 ids.
ItemSiteCategory2Ids integer (int32)[] yes Restrict to these item-site category 2 ids.
ItemSiteCategory3Ids integer (int32)[] yes Restrict to these item-site category 3 ids.
ItemSiteCategory4Ids integer (int32)[] yes Restrict to these item-site category 4 ids.
ItemSiteCategory5Ids integer (int32)[] yes Restrict to these item-site category 5 ids.
ItemSiteCategory6Ids integer (int32)[] yes Restrict to these item-site category 6 ids.
ItemSiteCategory7Ids integer (int32)[] yes Restrict to these item-site category 7 ids.
ItemSiteCategory8Ids integer (int32)[] yes Restrict to these item-site category 8 ids.
ItemCodes string[] yes Restrict to items with these item codes. Codes are resolved server-side; any unknown code fails the request with a 400 listing it.
SiteCodes string[] yes Restrict to sites with these site codes. Unknown codes fail the request with a 400.
PrimarySupplierCodes string[] yes Restrict to item-sites whose primary supplier has one of these supplier codes. Unknown codes fail the request with a 400.
BuyerCodes string[] yes Restrict to buyers with these buyer codes. Unknown codes fail the request with a 400.
ShipperCodes string[] yes Restrict to shippers with these shipper codes. Unknown codes fail the request with a 400.
ItemSiteCategory1Codes string[] yes Restrict to item-site category 1 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory2Codes string[] yes Restrict to item-site category 2 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory3Codes string[] yes Restrict to item-site category 3 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory4Codes string[] yes Restrict to item-site category 4 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory5Codes string[] yes Restrict to item-site category 5 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory6Codes string[] yes Restrict to item-site category 6 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory7Codes string[] yes Restrict to item-site category 7 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory8Codes string[] yes Restrict to item-site category 8 entries with these codes. Unknown codes fail the request with a 400.

DateRangeItemSiteSupplierFilters

PropertyTypeNullableDescription
StartDate string (date-time) yes Earliest date included, inclusive. Omit for no lower bound.
EndDate string (date-time) yes Latest date included, inclusive. Omit for no upper bound.
YearNumbers integer (int32)[] yes Restrict to these calendar year numbers (e.g. 2026).
QuarterNumbers integer (int32)[] yes Restrict to these quarter numbers (1-4).
MonthNumbers integer (int32)[] yes Restrict to these month numbers (1-12).
SupplierIds integer (int32)[] yes Restrict to item-site-supplier relationships with these supplier ids (any supplier relationship, not just the primary one - contrast with the inherited PrimarySupplierIds).
SupplierLevels integer (int32)[] yes Restrict to these supplier levels (1 = the item-site's primary supplier).
SupplierItemCategories integer (int32)[] yes Restrict to these supplier item category ids.
MultiHubFilter MultiHubFilter no
SupplierCodes string[] yes Restrict to suppliers with these supplier codes (any supplier relationship). Unknown codes fail the request with a 400.
AreEmptyOtherThanSupplierLevel boolean no
ItemIds integer (int32)[] yes Restrict to these item ids.
SiteIds integer (int32)[] yes Restrict to these site ids.
PrimarySupplierIds integer (int32)[] yes Restrict to item-sites whose primary supplier is one of these supplier ids.
BuyerIds integer (int32)[] yes Restrict to these buyer ids.
AbcClasses string[] yes Restrict to these ABC classes (e.g. A, B, C).
XyzClasses string[] yes Restrict to these XYZ classes.
OrderPolicies ReplenishmentOrderPolicy[] yes Restrict to item-sites using these replenishment order policies.
ItemStatuses ItemStatus[] yes Restrict to items with these item statuses.
ShipperIds integer (int32)[] yes Restrict to these shipper (owning company) ids.
BoMPositions integer (int32)[] yes Restrict to items at these bill-of-material positions.
ItemTagIds integer (int32)[] yes Restrict to items carrying any of these item tag ids.
SupplierItemCode string[] yes Restrict by supplier item code (exact match). On item-site level endpoints this matches the primary supplier's item code; on supplier-relationship level endpoints (receipts, lead times) it matches the code on the returned relationship.
ItemSiteCategory1Ids integer (int32)[] yes Restrict to these item-site category 1 ids.
ItemSiteCategory2Ids integer (int32)[] yes Restrict to these item-site category 2 ids.
ItemSiteCategory3Ids integer (int32)[] yes Restrict to these item-site category 3 ids.
ItemSiteCategory4Ids integer (int32)[] yes Restrict to these item-site category 4 ids.
ItemSiteCategory5Ids integer (int32)[] yes Restrict to these item-site category 5 ids.
ItemSiteCategory6Ids integer (int32)[] yes Restrict to these item-site category 6 ids.
ItemSiteCategory7Ids integer (int32)[] yes Restrict to these item-site category 7 ids.
ItemSiteCategory8Ids integer (int32)[] yes Restrict to these item-site category 8 ids.
ItemCodes string[] yes Restrict to items with these item codes. Codes are resolved server-side; any unknown code fails the request with a 400 listing it.
SiteCodes string[] yes Restrict to sites with these site codes. Unknown codes fail the request with a 400.
PrimarySupplierCodes string[] yes Restrict to item-sites whose primary supplier has one of these supplier codes. Unknown codes fail the request with a 400.
BuyerCodes string[] yes Restrict to buyers with these buyer codes. Unknown codes fail the request with a 400.
ShipperCodes string[] yes Restrict to shippers with these shipper codes. Unknown codes fail the request with a 400.
ItemSiteCategory1Codes string[] yes Restrict to item-site category 1 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory2Codes string[] yes Restrict to item-site category 2 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory3Codes string[] yes Restrict to item-site category 3 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory4Codes string[] yes Restrict to item-site category 4 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory5Codes string[] yes Restrict to item-site category 5 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory6Codes string[] yes Restrict to item-site category 6 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory7Codes string[] yes Restrict to item-site category 7 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory8Codes string[] yes Restrict to item-site category 8 entries with these codes. Unknown codes fail the request with a 400.

DaysCoverageMode

Values: 1 = ReleaseDate; 2 = ShipDate.
Enum values: 1, 2

DemandForecastControl

Values: 0 = NotForecasted; 1 = Auto; 2 = Manual.
Enum values: 0, 1, 2

DemandForecastSnapshotExportDetail

One flattened demand forecast snapshot period row for bulk extraction: the snapshot header, the forecast hierarchy node it was taken on (with business codes for easy joining), and one forecast period's values. Grain: series x node x snapshot date x period date.
PropertyTypeNullableDescription
DemandForecastSnapshotId integer (int32) no Identifier of the snapshot this period row belongs to.
DemandForecastSeriesId integer (int32) no Identifier of the demand forecast series the snapshot was taken from.
DemandForecastSeriesCode string yes Code of the demand forecast series.
DemandForecastSeriesName string yes Display name of the demand forecast series.
SnapshotDate string (date-time) no Date the snapshot was taken.
SnapshotName string yes Name assigned to the snapshot when it was taken.
Interval TimeInterval no
UnitOfMeasure TimeSeriesUnitOfMeasure no
IsSystemGenerated boolean no True when the snapshot was taken automatically; false when a user saved it.
MeanAbsoluteError number (double) yes Mean absolute error of the forecast at the time the snapshot was taken.
RootMeanSquaredError number (double) yes Root mean squared error of the forecast at the time the snapshot was taken.
AverageUsage number (double) yes Average per-period usage observed at the time the snapshot was taken.
AverageForecast number (double) yes Average per-period forecast quantity at the time the snapshot was taken.
NumErrorSamples integer (int32) yes Number of periods sampled for the snapshot's error statistics.
HierarchyNodeId integer (int32) no Identifier of the forecast hierarchy node the snapshot was taken on. Stable join key across API calls.
NodeLevel integer (int32) no Hierarchy level of the node (1 = top; larger numbers are deeper).
NodeValue string yes The node's own value at its level (for example the item code on an item-level node).
NodeTitle string yes Full display path of the node within the hierarchy.
HierarchyProperty HierarchyProperty no
LevelName string yes Display name of the node's hierarchy level, using your configured category names.
ItemCode string yes Item code, when an item is on the node's hierarchy path.
ItemDescription string yes Item description, when an item is on the node's hierarchy path.
SiteCode string yes Site code, when a site is on the node's hierarchy path.
ShipperCode string yes Shipper code, when a shipper is on the node's hierarchy path.
CustomerCode string yes Customer code, when a customer is on the node's hierarchy path.
CustomerShipToCode string yes Customer ship-to code, when a ship-to is on the node's hierarchy path.
PrimarySupplierCode string yes Primary supplier code, when the node resolves to a single item-site.
ItemSiteCategory1Code string yes Item-site category 1 code, when on the node's hierarchy path.
ItemSiteCategory2Code string yes Item-site category 2 code, when on the node's hierarchy path.
ItemSiteCategory3Code string yes Item-site category 3 code, when on the node's hierarchy path.
ItemSiteCategory4Code string yes Item-site category 4 code, when on the node's hierarchy path.
ItemSiteCategory5Code string yes Item-site category 5 code, when on the node's hierarchy path.
ItemSiteCategory6Code string yes Item-site category 6 code, when on the node's hierarchy path.
ItemSiteCategory7Code string yes Item-site category 7 code, when on the node's hierarchy path.
ItemSiteCategory8Code string yes Item-site category 8 code, when on the node's hierarchy path.
CustomerShipToCategory1Code string yes Customer ship-to category 1 code, when on the node's hierarchy path.
CustomerShipToCategory2Code string yes Customer ship-to category 2 code, when on the node's hierarchy path.
CustomerShipToCategory3Code string yes Customer ship-to category 3 code, when on the node's hierarchy path.
PeriodDate string (date-time) no Forecast period this row's values apply to (a week or month sentinel date, per Interval).
Quantity number (double) no Forecast quantity for the period, excluding replaced-item demand.
Cogs number (double) no Forecast cost of goods for the period, excluding replaced-item demand.
Revenue number (double) no Forecast revenue for the period, excluding replaced-item demand.
Margin number (double) no Forecast margin for the period, excluding replaced-item demand.
AverageCost number (double) no Average unit cost used to value the period.
AveragePrice number (double) no Average unit price used to value the period.
ReplacedQuantity number (double) yes Forecast quantity carried over from replaced items, when replacements exist.
ReplacedCogs number (double) yes Forecast cost of goods carried over from replaced items, when replacements exist.
ReplacedRevenue number (double) yes Forecast revenue carried over from replaced items, when replacements exist.
ReplacedMargin number (double) yes Forecast margin carried over from replaced items, when replacements exist.
TotalQuantity number (double) no Total forecast quantity for the period: Quantity plus ReplacedQuantity.
TotalCogs number (double) no Total forecast cost of goods for the period: Cogs plus ReplacedCogs.
TotalRevenue number (double) no Total forecast revenue for the period: Revenue plus ReplacedRevenue.
TotalMargin number (double) no Total forecast margin for the period: Margin plus ReplacedMargin.

DemandForecastSnapshotExportDetailPagedResult

The response envelope for a paged request: one page of data plus the navigation metadata a consumer needs to walk the full result set.
PropertyTypeNullableDescription
CurrentPage integer (int32) no
NextPage integer (int32) yes The page to request next, or null when StockIQ.Utils.Paging.PagedResult`1.CurrentPage is at (or past) the end. Consumers walk the data by re-sending the same request with `?page=NextPage` until null.
PreviousPage integer (int32) yes The page before StockIQ.Utils.Paging.PagedResult`1.CurrentPage, or null from page 1 (or when there is no data). Clamped to StockIQ.Utils.Paging.PagedResult`1.TotalPages so a request past the end points back at the last real page.
PageSize integer (int32) no
TotalPages integer (int32) no
TotalRecords integer (int32) no
Data DemandForecastSnapshotExportDetail[] yes

DemandForecastSnapshotFilters

Body for POST api/DemandForecastSnapshotExportDetail/fetchby/demandForecastSnapshotFilters. Extends the hierarchy filter set with the snapshot dimensions: which forecast series, the snapshot-date range, and the forecast-period-date range. The two date ranges are deliberately named (Snapshot* / Period*) because a snapshot row has both a taken-on date and forecast period dates.
PropertyTypeNullableDescription
SnapshotStartDate string (date-time) yes Earliest snapshot date included, inclusive. Omit for no lower bound.
SnapshotEndDate string (date-time) yes Latest snapshot date included, inclusive. Omit for no upper bound.
PeriodStartDate string (date-time) yes Earliest forecast period date included, inclusive. Omit for no lower bound.
PeriodEndDate string (date-time) yes Latest forecast period date included, inclusive. Omit for no upper bound.
DemandForecastSeriesIds integer (int32)[] yes Restrict to these demand forecast series ids. Empty = all series.
DemandForecastSeriesCodes string[] yes Restrict to these demand forecast series codes. Empty = all series.
SupplierItemCode string[] yes Restrict to items whose supplier item code contains one of these values (substring match).
ItemIds integer (int32)[] yes Restrict to these item ids.
ItemTagIds integer (int32)[] yes Restrict to items carrying any of these item tag ids.
SiteIds integer (int32)[] yes Restrict to these site ids.
CustomerShipToCategory1Ids integer (int32)[] yes Restrict to these customer ship-to category 1 ids.
CustomerShipToCategory2Ids integer (int32)[] yes Restrict to these customer ship-to category 2 ids.
CustomerShipToCategory3Ids integer (int32)[] yes Restrict to these customer ship-to category 3 ids.
CustomerIds integer (int32)[] yes Restrict to these customer ids.
CustomerShipToIds integer (int32)[] yes Restrict to these customer ship-to ids.
PrimarySupplierIds integer (int32)[] yes Restrict to item-sites whose primary supplier is one of these supplier ids.
BuyerIds integer (int32)[] yes Restrict to these buyer ids.
AbcClasses string[] yes Restrict to these ABC classes (e.g. A, B, C).
XyzClasses string[] yes Restrict to these XYZ classes.
OrderPolicies integer (int32)[] yes Restrict to item-sites using these replenishment order policies.
ItemStatuses integer (int32)[] yes Restrict to items with these item statuses.
ShipperIds integer (int32)[] yes Restrict to these shipper (owning company) ids.
ItemSiteCategory1Ids integer (int32)[] yes Restrict to these item-site category 1 ids.
ItemSiteCategory2Ids integer (int32)[] yes Restrict to these item-site category 2 ids.
ItemSiteCategory3Ids integer (int32)[] yes Restrict to these item-site category 3 ids.
ItemSiteCategory4Ids integer (int32)[] yes Restrict to these item-site category 4 ids.
ItemSiteCategory5Ids integer (int32)[] yes Restrict to these item-site category 5 ids.
ItemSiteCategory6Ids integer (int32)[] yes Restrict to these item-site category 6 ids.
ItemSiteCategory7Ids integer (int32)[] yes Restrict to these item-site category 7 ids.
ItemSiteCategory8Ids integer (int32)[] yes Restrict to these item-site category 8 ids.
ItemCodes string[] yes Restrict to items with these item codes. Codes are resolved server-side; any unknown code fails the request with a 400 listing it.
SiteCodes string[] yes Restrict to sites with these site codes. Unknown codes fail the request with a 400.
PrimarySupplierCodes string[] yes Restrict to item-sites whose primary supplier has one of these supplier codes. Unknown codes fail the request with a 400.
BuyerCodes string[] yes Restrict to buyers with these buyer codes. Unknown codes fail the request with a 400.
ShipperCodes string[] yes Restrict to shippers with these shipper codes. Unknown codes fail the request with a 400.
CustomerCodes string[] yes Restrict to customers with these customer codes. Unknown codes fail the request with a 400.
CustomerShipToCodes string[] yes Restrict to customer ship-tos with these ship-to codes. Unknown codes fail the request with a 400.
ItemSiteCategory1Codes string[] yes Restrict to item-site category 1 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory2Codes string[] yes Restrict to item-site category 2 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory3Codes string[] yes Restrict to item-site category 3 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory4Codes string[] yes Restrict to item-site category 4 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory5Codes string[] yes Restrict to item-site category 5 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory6Codes string[] yes Restrict to item-site category 6 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory7Codes string[] yes Restrict to item-site category 7 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory8Codes string[] yes Restrict to item-site category 8 entries with these codes. Unknown codes fail the request with a 400.

DemandType

Values: 1 = SalesOrder; 2 = TransferOrder; 4 = WorkOrder; 16 = ActualAdjustment; 32 = Estimate.
Enum values: 1, 2, 4, 16, 32

DiscontinuedItemDetail

PropertyTypeNullableDescription
DaysUntilDepleted integer (int32) yes
ItemSiteId integer (int32) no
ItemSiteErpNotes string yes
ShipperId integer (int32) yes
ItemId integer (int32) no
SiteId integer (int32) no
PrimarySupplierId integer (int32) yes
ItemCode string yes
SiteCode string yes
BuyerName string yes
ItemDescription string yes
ResolvedItemStatus integer (int32) no
DiscontinuedReason integer (int32) yes
ActiveOrderPolicy integer (int32) yes
PrimarySupplierCode string yes
SupplierName string yes
AbcClass string yes
XyzClass string yes
CurrentCost number (double) no
StandardCost number (double) no
OnHandQuantity number (double) no
TotalOnOrderQuantity number (double) yes
TotalAvailableQuantity number (double) yes
TotalAvailableQuantityAtLeadTime number (double) yes
EffectiveDateObsolete string (date-time) yes
FinalDepletionDate string (date-time) yes
UsagePattern integer (int32) no
InventoryPosition integer (int32) no
StandardCostCurrency string yes
DateCreated string (date-time) yes
DateFirstStocked string (date-time) yes
FirstSaleDate string (date-time) yes
LastSaleDate string (date-time) yes
OnHandBalance number (double) no
ExcessQuantity number (double) yes
ExcessBalance number (double) yes
TotalHistoricalDailyUsage number (double) no
TotalForecastedDailyUsage number (double) yes
TotalDailyUsageAtLeadTime number (double) yes
CustomerShipToCount integer (int32) yes
CustomerCount integer (int32) yes
NextExpectedDockDate string (date-time) yes
NextOrderRemainingReceiptQuantity number (double) yes
NumberOfOpenSupplies integer (int32) yes
TotalHits integer (int32) yes
ItemSiteCategory1Name string yes
ItemSiteCategory2Name string yes
ItemSiteCategory3Name string yes
ItemSiteCategory4Name string yes
ItemSiteCategory5Name string yes
ItemSiteCategory6Name string yes
ItemSiteCategory7Name string yes
ItemSiteCategory8Name string yes
SupplierItemCode string yes

FirmAndPlannedOrderDetail

PropertyTypeNullableDescription
TotalQuantity number (double) yes
TotalDollars number (double) yes
TotalCubes number (double) yes
TotalQuantityInPurchaseUoM number (double) yes
TotalWeight number (double) yes
SupplierId integer (int32) no
ItemId integer (int32) no
SiteId integer (int32) no
ItemSiteId integer (int32) no
MonthId integer (int32) no
SupplierCode string yes
SupplierName string yes
ItemCode string yes
ItemErpNotes string yes
SiteCode string yes
ItemDescription string yes
SupplierItemCode string yes
SupplierItemCategoryName string yes
AbcClass string yes
ISC1 string yes
ISC2 string yes
ISC3 string yes
ISC4 string yes
ISC5 string yes
ISC6 string yes
ISC7 string yes
ISC8 string yes
BuyerName string yes
PeriodDate string (date-time) no
PeriodStartDate string (date-time) no
PeriodEndDate string (date-time) no
FirmQuantity number (double) yes
FirmDollars number (double) yes
FirmCubes number (double) yes
FirmQuantityInPurchaseUoM number (double) yes
FirmWeight number (double) yes
FirmImportTaxCost number (double) yes
PlannedQuantity number (double) yes
PlannedDollars number (double) yes
PlannedCubes number (double) yes
PlannedQuantityInPurchaseUoM number (double) yes
PlannedWeight number (double) yes
PlannedImportTaxCost number (double) yes
SupplierCostCurrency string yes
CountryOfOrigin string yes
ImportTaxPercent number (double) yes

FirmAndPlannedOrderDetailPagedResult

The response envelope for a paged request: one page of data plus the navigation metadata a consumer needs to walk the full result set.
PropertyTypeNullableDescription
CurrentPage integer (int32) no
NextPage integer (int32) yes The page to request next, or null when StockIQ.Utils.Paging.PagedResult`1.CurrentPage is at (or past) the end. Consumers walk the data by re-sending the same request with `?page=NextPage` until null.
PreviousPage integer (int32) yes The page before StockIQ.Utils.Paging.PagedResult`1.CurrentPage, or null from page 1 (or when there is no data). Clamped to StockIQ.Utils.Paging.PagedResult`1.TotalPages so a request past the end points back at the last real page.
PageSize integer (int32) no
TotalPages integer (int32) no
TotalRecords integer (int32) no
Data FirmAndPlannedOrderDetail[] yes

FirmAndPlannedReceiptDetail

PropertyTypeNullableDescription
TotalQuantity number (double) yes
TotalDollars number (double) yes
TotalCubes number (double) yes
TotalQuantityInPurchaseUoM number (double) yes
TotalWeight number (double) yes
SupplierId integer (int32) no
ItemId integer (int32) no
SiteId integer (int32) no
ItemSiteId integer (int32) no
WeekId integer (int32) no
SupplierCode string yes
SupplierName string yes
ItemCode string yes
ItemErpNotes string yes
SiteCode string yes
ItemDescription string yes
SupplierItemCode string yes
SupplierItemCategoryName string yes
AbcClass string yes
ISC1 string yes
ISC2 string yes
ISC3 string yes
ISC4 string yes
ISC5 string yes
ISC6 string yes
ISC7 string yes
ISC8 string yes
BuyerName string yes
PeriodDate string (date-time) no
PeriodStartDate string (date-time) no
PeriodEndDate string (date-time) no
FirmQuantity number (double) yes
FirmDollars number (double) yes
FirmCubes number (double) yes
FirmQuantityInPurchaseUoM number (double) yes
FirmWeight number (double) yes
FirmImportTaxCost number (double) yes
PlannedQuantity number (double) yes
PlannedDollars number (double) yes
PlannedCubes number (double) yes
PlannedQuantityInPurchaseUoM number (double) yes
PlannedWeight number (double) yes
PlannedImportTaxCost number (double) yes
SupplierCostCurrency string yes
CountryOfOrigin string yes
ImportTaxPercent number (double) yes

FirmAndPlannedReceiptDetailPagedResult

The response envelope for a paged request: one page of data plus the navigation metadata a consumer needs to walk the full result set.
PropertyTypeNullableDescription
CurrentPage integer (int32) no
NextPage integer (int32) yes The page to request next, or null when StockIQ.Utils.Paging.PagedResult`1.CurrentPage is at (or past) the end. Consumers walk the data by re-sending the same request with `?page=NextPage` until null.
PreviousPage integer (int32) yes The page before StockIQ.Utils.Paging.PagedResult`1.CurrentPage, or null from page 1 (or when there is no data). Clamped to StockIQ.Utils.Paging.PagedResult`1.TotalPages so a request past the end points back at the last real page.
PageSize integer (int32) no
TotalPages integer (int32) no
TotalRecords integer (int32) no
Data FirmAndPlannedReceiptDetail[] yes

FirmAndPlannedShipmentDetail

PropertyTypeNullableDescription
TotalQuantity number (double) yes
TotalDollars number (double) yes
TotalCubes number (double) yes
TotalQuantityInPurchaseUoM number (double) yes
TotalWeight number (double) yes
SupplierId integer (int32) no
ItemId integer (int32) no
SiteId integer (int32) no
ItemSiteId integer (int32) no
MonthId integer (int32) no
SupplierCode string yes
SupplierName string yes
ItemCode string yes
ItemErpNotes string yes
SiteCode string yes
ItemDescription string yes
SupplierItemCode string yes
SupplierItemCategoryName string yes
AbcClass string yes
ISC1 string yes
ISC2 string yes
ISC3 string yes
ISC4 string yes
ISC5 string yes
ISC6 string yes
ISC7 string yes
ISC8 string yes
BuyerName string yes
PeriodDate string (date-time) no
PeriodStartDate string (date-time) no
PeriodEndDate string (date-time) no
FirmQuantity number (double) yes
FirmDollars number (double) yes
FirmCubes number (double) yes
FirmQuantityInPurchaseUoM number (double) yes
FirmWeight number (double) yes
FirmImportTaxCost number (double) yes
PlannedQuantity number (double) yes
PlannedDollars number (double) yes
PlannedCubes number (double) yes
PlannedQuantityInPurchaseUoM number (double) yes
PlannedWeight number (double) yes
PlannedImportTaxCost number (double) yes
SupplierCostCurrency string yes
CountryOfOrigin string yes
ImportTaxPercent number (double) yes

FirmAndPlannedShipmentDetailPagedResult

The response envelope for a paged request: one page of data plus the navigation metadata a consumer needs to walk the full result set.
PropertyTypeNullableDescription
CurrentPage integer (int32) no
NextPage integer (int32) yes The page to request next, or null when StockIQ.Utils.Paging.PagedResult`1.CurrentPage is at (or past) the end. Consumers walk the data by re-sending the same request with `?page=NextPage` until null.
PreviousPage integer (int32) yes The page before StockIQ.Utils.Paging.PagedResult`1.CurrentPage, or null from page 1 (or when there is no data). Clamped to StockIQ.Utils.Paging.PagedResult`1.TotalPages so a request past the end points back at the last real page.
PageSize integer (int32) no
TotalPages integer (int32) no
TotalRecords integer (int32) no
Data FirmAndPlannedShipmentDetail[] yes

FirmAndPlannedType

Values: 1 = OrderDate; 2 = ShipDate; 3 = ReceiptDate.
Enum values: 1, 2, 3

ForecastErrorsSummary

PropertyTypeNullableDescription
AlertKeyId integer (int64) no
AlertType AlertType no
PrimaryId integer (int32) no
PrimaryIdProperty AlertPrimaryIdProperty no
ForecastSeriesName string yes
LeadTimeAgoLagPeriodCount integer (int32) yes
SnapshotDate string (date-time) yes
LeadTimeAgoAverageForecastErrorPercent number (double) yes
LeadTimeAgoMeanAbsoluteError number (double) yes
LeadTimeAgoAverageForecastErrorValue number (double) yes
LeadTimeAgoForecastBiasPercent number (double) yes
LeadTimeAgoNaiveForecastErrorPercent number (double) yes
LeadTimeAgoNaiveForecastMeanAbsoluteError number (double) yes
LeadTimeAgoNaiveForecastErrorValue number (double) yes
LeadTimeAgoNaiveForecastBiasPercent number (double) yes
LeadTimeAgoStatForecastErrorPercent number (double) yes
LeadTimeAgoStatForecastMeanAbsoluteError number (double) yes
LeadTimeAgoStatForecastErrorValue number (double) yes
LeadTimeAgoStatForecastBiasPercent number (double) yes
StatisticalVsNaiveForecastValueAdded number (double) yes Current-day stat versus naive FVA
OperationalVsStatisticalForecastValueAdded number (double) yes Current-day stat versus naive FVA
LeadTimeAgoAverageForecastErrorPercentVsCurrent number (double) yes
LeadTimeAgoMeanAbsoluteErrorVsCurrent number (double) yes
LeadTimeAgoAverageForecastErrorValueVsCurrent number (double) yes
LeadTimeAgoForecastBiasPercentVsCurrent number (double) yes
LeadTimeAgoNaiveForecastErrorPercentVsCurrent number (double) yes
LeadTimeAgoNaiveForecastMeanAbsoluteErrorVsCurrent number (double) yes
LeadTimeAgoNaiveForecastErrorValueVsCurrent number (double) yes
LeadTimeAgoNaiveForecastBiasPercentVsCurrent number (double) yes
LeadTimeAgoStatForecastErrorPercentVsCurrent number (double) yes
LeadTimeAgoStatForecastMeanAbsoluteErrorVsCurrent number (double) yes
LeadTimeAgoStatForecastErrorValueVsCurrent number (double) yes
LeadTimeAgoStatForecastBiasPercentVsCurrent number (double) yes
LeadTimeAgoStatisticalVsNaiveForecastValueAdded number (double) yes Lead-Time-Ago Stat vs Benchmark FVA
LeadTimeAgoOperationalVsStatisticalForecastValueAdded number (double) yes Current-day stat versus naive FVA
LagPeriodAverageForecastErrorPercent number (double) yes
LagPeriodMeanAbsoluteError number (double) yes
LagPeriodAverageForecastErrorValue number (double) yes
LagPeriodForecastBiasPercent number (double) yes
LagPeriodNaiveForecastErrorPercent number (double) yes
LagPeriodNaiveForecastMeanAbsoluteError number (double) yes
LagPeriodNaiveForecastErrorValue number (double) yes
LagPeriodNaiveForecastBiasPercent number (double) yes
LagPeriodStatForecastErrorPercent number (double) yes
LagPeriodStatForecastMeanAbsoluteError number (double) yes
LagPeriodStatForecastErrorValue number (double) yes
LagPeriodStatForecastBiasPercent number (double) yes
LagPeriodStatisticalVsNaiveForecastValueAdded number (double) yes Lead-Time-Ago Stat vs Benchmark FVA
LagPeriodOperationalVsStatisticalForecastValueAdded number (double) yes Current-day stat versus naive FVA
ItemTagAssignments ItemTagAssignmentDetail[] yes
HierarchyNodeId integer (int32) no
ShipperId integer (int32) yes
SiteId integer (int32) no
ItemId integer (int32) no
BuyerId integer (int32) yes
PrimarySupplierId integer (int32) yes
CustomerShipToCategory1Id integer (int32) yes
CustomerShipToCategory2Id integer (int32) yes
CustomerShipToCategory3Id integer (int32) yes
CustomerId integer (int32) no
CustomerShipToId integer (int32) no
ItemSiteCategory1Id integer (int32) yes
ItemSiteCategory2Id integer (int32) yes
ItemSiteCategory3Id integer (int32) yes
ItemSiteCategory4Id integer (int32) yes
ItemSiteCategory5Id integer (int32) yes
ItemSiteCategory6Id integer (int32) yes
ItemSiteCategory7Id integer (int32) yes
ItemSiteCategory8Id integer (int32) yes
NodeTitle string yes
DemandForecastSeriesId integer (int32) no
DemandForecastSeriesName string yes
NodeValue string yes
ShipperName string yes
ItemCode string yes
SiteCode string yes
SiteName string yes
BuyerName string yes
PrimarySupplierName string yes
CustomerShipToCategory1Value string yes
CustomerShipToCategory2Value string yes
CustomerShipToCategory3Value string yes
CustomerName string yes
CustomerShipToName string yes
AbcClass string yes
XyzClass string yes
ActiveOrderPolicy ReplenishmentOrderPolicy no
ResolvedItemStatus ItemStatus no
ItemDescription string yes
ItemSiteCategory1Name string yes
ItemSiteCategory2Name string yes
ItemSiteCategory3Name string yes
ItemSiteCategory4Name string yes
ItemSiteCategory5Name string yes
ItemSiteCategory6Name string yes
ItemSiteCategory7Name string yes
ItemSiteCategory8Name string yes
UsagePattern UsagePattern no
NaiveForecastErrorPercent number (double) yes
NaiveForecastMeanAbsoluteError number (double) yes
NaiveForecastErrorValue number (double) yes
NaiveForecastBiasPercent number (double) yes
StatForecastErrorPercent number (double) yes
StatForecastMeanAbsoluteError number (double) yes
StatForecastErrorValue number (double) yes
StatForecastBiasPercent number (double) yes
LeadTimeAgoDemandForecastSnapshotId integer (int32) yes
Interval TimeInterval no
DemandForecastErrorPercent number (double) yes
DemandForecastMeanAbsoluteError number (double) yes
DemandForecastErrorValue number (double) yes
DemandForecastBiasPercent number (double) yes
AlertSummaryId integer (int32) no
AMsg string yes
DateCreated string (date-time) no
DateUpdated string (date-time) no
UpdatedByUserId integer (int32) yes
AssignedToUserId integer (int32) yes
ASt AlertState no
APri AlertPriority no
Rank integer (int32) yes
SuspendedByUserId integer (int32) yes
SuspendedByUserName string yes
DateSuspended string (date-time) yes
ReactivationDate string (date-time) yes
IsReactivateEnabled boolean yes
AlertNote string yes
AlertTypeName string yes

ForecastSummaryNodeFilterOption

Values: 0 = ShowAll; 1 = WithForecast; 2 = WithoutForecast.
Enum values: 0, 1, 2

ForecastVsModelDetail

PropertyTypeNullableDescription
AlertKeyId integer (int64) no
AlertType AlertType no
PrimaryId integer (int32) no
PrimaryIdProperty AlertPrimaryIdProperty no
ToleranceUpperBound number (double) yes
ToleranceLowerBound number (double) yes
LevelName string yes
ItemTagAssignments ItemTagAssignmentDetail[] yes
NodeLevel integer (int32) no
HierarchyProperty integer (int32) no
ShipperId integer (int32) yes
ItemId integer (int32) no
SiteId integer (int32) no
BuyerId integer (int32) yes
ItemSiteId integer (int32) no
ItemSiteCategory1Id integer (int32) yes
ItemSiteCategory2Id integer (int32) yes
ItemSiteCategory3Id integer (int32) yes
ItemSiteCategory4Id integer (int32) yes
ItemSiteCategory5Id integer (int32) yes
ItemSiteCategory6Id integer (int32) yes
ItemSiteCategory7Id integer (int32) yes
ItemSiteCategory8Id integer (int32) yes
CustomerShipToCategory1Id integer (int32) yes
CustomerShipToCategory2Id integer (int32) yes
CustomerShipToCategory3Id integer (int32) yes
CustomerId integer (int32) yes
CustomerShipToId integer (int32) yes
DemandForecastSeriesName string yes
NodeValue string yes
HierarchyNodeId integer (int32) no
DemandForecastSeriesId integer (int32) no
PeriodDate string (date-time) no
Interval integer (int32) no
ForecastQuantity number (double) no
StatisticalForecastQuantity number (double) no
ForecastAverageQuantity number (double) no
StatisticalAverageQuantity number (double) no
ForecastRevenue number (double) no
StatisticalForecastRevenue number (double) no
AverageForecastErrorPercent number (double) yes
AverageStatisticalErrorPercent number (double) yes
ForecastVsStatisticalUnitVariance number (double) no
ForecastVsStatisticalDollarVariance number (double) no
UsagePattern UsagePattern no
ForecastControl DemandForecastControl no
AutoForecastReactivationDate string (date-time) yes
ProjectedOutOfStockDate string (date-time) yes
ShipperName string yes
ItemCode string yes
SiteCode string yes
PrimarySupplierName string yes
BuyerName string yes
CustomerShipToCategory1Value string yes
CustomerShipToCategory2Value string yes
CustomerShipToCategory3Value string yes
CustomerName string yes
CustomerShipToName string yes
ItemDescription string yes
ItemSiteCategory1Name string yes
ItemSiteCategory2Name string yes
ItemSiteCategory3Name string yes
ItemSiteCategory4Name string yes
ItemSiteCategory5Name string yes
ItemSiteCategory6Name string yes
ItemSiteCategory7Name string yes
ItemSiteCategory8Name string yes
AbcClass string yes
XyzClass string yes
ActiveOrderPolicy ReplenishmentOrderPolicy no
ResolvedItemStatus ItemStatus no
AlertSummaryId integer (int32) no
AMsg string yes
DateCreated string (date-time) no
DateUpdated string (date-time) no
UpdatedByUserId integer (int32) yes
AssignedToUserId integer (int32) yes
ASt AlertState no
APri AlertPriority no
Rank integer (int32) yes
SuspendedByUserId integer (int32) yes
SuspendedByUserName string yes
DateSuspended string (date-time) yes
ReactivationDate string (date-time) yes
IsReactivateEnabled boolean yes
AlertNote string yes
AlertTypeName string yes

HierarchyLevelActualsExportDetail

One hierarchy-node actuals row for bulk extraction: the aggregated period values from StockIQ.Entities.Calc.HierarchyLevelActualsDetail plus the node's identity decorated with business codes for easy downstream joining. Codes for dimensions above the node's own level come from its ancestry; dimensions not on the node's hierarchy path are null.
PropertyTypeNullableDescription
NodeLevel integer (int32) no Hierarchy level of the node (1 = top; larger numbers are deeper).
NodeValue string yes The node's own value at its level (for example the item code on an item-level node).
LevelName string yes Display name of the node's hierarchy level, using your configured category names.
ItemCode string yes Item code, when an item is on the node's hierarchy path.
ItemDescription string yes Item description, when an item is on the node's hierarchy path.
SiteCode string yes Site code, when a site is on the node's hierarchy path.
ShipperCode string yes Shipper code, when a shipper is on the node's hierarchy path.
CustomerCode string yes Customer code, when a customer is on the node's hierarchy path.
CustomerShipToCode string yes Customer ship-to code, when a ship-to is on the node's hierarchy path.
PrimarySupplierCode string yes Primary supplier code, when the node resolves to a single item-site.
ItemSiteCategory1Code string yes Item-site category 1 code, when on the node's hierarchy path.
ItemSiteCategory2Code string yes Item-site category 2 code, when on the node's hierarchy path.
ItemSiteCategory3Code string yes Item-site category 3 code, when on the node's hierarchy path.
ItemSiteCategory4Code string yes Item-site category 4 code, when on the node's hierarchy path.
ItemSiteCategory5Code string yes Item-site category 5 code, when on the node's hierarchy path.
ItemSiteCategory6Code string yes Item-site category 6 code, when on the node's hierarchy path.
ItemSiteCategory7Code string yes Item-site category 7 code, when on the node's hierarchy path.
ItemSiteCategory8Code string yes Item-site category 8 code, when on the node's hierarchy path.
CustomerShipToCategory1Code string yes Customer ship-to category 1 code, when on the node's hierarchy path.
CustomerShipToCategory2Code string yes Customer ship-to category 2 code, when on the node's hierarchy path.
CustomerShipToCategory3Code string yes Customer ship-to category 3 code, when on the node's hierarchy path.
MarginPercent number (double) yes Margin as a fraction of revenue for the period.
Gmroi number (double) yes Gross margin return on inventory investment for the period.
StandardCostOnHandBalance number (double) yes On-hand inventory balance at standard cost captured for the period, when history exists.
PeriodDate string (date-time) no Period this row's values apply to (a day, week, month, quarter, or year sentinel date, per the requested interval).
StartDate string (date-time) no First calendar day of the period.
EndDate string (date-time) no Last calendar day of the period.
HierarchyNodeId integer (int32) no Identifier of the forecast hierarchy node the row aggregates. Stable join key across API calls.
NodeTitle string yes Full display path of the node within the hierarchy.
ValueId integer (int32) no Internal identifier of the node's value within its dimension.
HierarchyProperty integer (int32) no Which dimension the node's level represents (item, site, category, customer, ...), as the numeric HierarchyProperty value.
QuantitySold number (double) yes Quantity sold in the period, summed across the node's contributing item-sites.
Cogs number (double) yes Cost of goods sold in the period.
Revenue number (double) yes Revenue in the period.
Margin number (double) yes Margin (revenue minus cost of goods) in the period.
Hits integer (int32) yes Number of demand hits (order lines) in the period.

HierarchyLevelActualsExportDetailPagedResult

The response envelope for a paged request: one page of data plus the navigation metadata a consumer needs to walk the full result set.
PropertyTypeNullableDescription
CurrentPage integer (int32) no
NextPage integer (int32) yes The page to request next, or null when StockIQ.Utils.Paging.PagedResult`1.CurrentPage is at (or past) the end. Consumers walk the data by re-sending the same request with `?page=NextPage` until null.
PreviousPage integer (int32) yes The page before StockIQ.Utils.Paging.PagedResult`1.CurrentPage, or null from page 1 (or when there is no data). Clamped to StockIQ.Utils.Paging.PagedResult`1.TotalPages so a request past the end points back at the last real page.
PageSize integer (int32) no
TotalPages integer (int32) no
TotalRecords integer (int32) no
Data HierarchyLevelActualsExportDetail[] yes

HierarchyLevelServiceLevelDetail

PropertyTypeNullableDescription
FillRate number (double) yes
OnTimeFillRate number (double) yes
ServiceLevel number (double) yes
ServiceLevelVariance number (double) yes
HierarchyNodeId integer (int32) no
ValueId integer (int32) no
HierarchyProperty integer (int32) no
NodeTitle string yes
PeriodDate string (date-time) no
StartDate string (date-time) no
EndDate string (date-time) no
TargetServiceLevel number (double) no
NumberOfOrderLines integer (int32) yes
QuantityOrdered integer (int32) yes
QuantityFilled integer (int32) yes
QuantityFilledOnTime integer (int32) yes
NumberOfCompleteOrderLines integer (int32) yes
NumberOfOnTimeCompleteOrderLines integer (int32) yes

HierarchyLevelTurnsDetail

PropertyTypeNullableDescription
HierarchyNodeId integer (int32) no
ValueId integer (int32) no
HierarchyProperty integer (int32) no
NodeTitle string yes
PeriodDate string (date-time) no
StartDate string (date-time) no
EndDate string (date-time) no
QuantitySold number (double) no
Cogs number (double) no
OnHandQuantity number (double) no
AverageOnHandQuantity number (double) no
TargetOnHandQuantity number (double) no
OnHandBalance number (double) no
AverageOnHandBalance number (double) no
TargetOnHandBalance number (double) no
MeasurementPeriodLength integer (int32) no
CurrentTurns number (double) yes
AverageTurns number (double) yes
TargetTurns number (double) yes
CurrVsTargetTurns number (double) yes
AvgVsTargetTurns number (double) yes
CurrentUnitTurns number (double) yes
AverageUnitTurns number (double) yes
TargetUnitTurns number (double) yes
CurrVsTargetUnitTurns number (double) yes
AvgVsTargetUnitTurns number (double) yes

HierarchyNodeDetail

PropertyTypeNullableDescription
HL string yes
ItemTagAssignments ItemTagAssignmentDetail[] yes
HierarchyNodeId integer (int32) no
ReasonExists HierarchyNodeReasonExists no
HP HierarchyProperty no
NT string yes
DisplayMode HierarchyNodeDisplayMode no
PrimarySupplierId integer (int32) yes
PrimarySupplierCode string yes
PrimarySupplierName string yes
ActiveOrderPolicy integer (int32) yes
ResolvedItemStatus integer (int32) yes
Abc string yes
XyzClass string yes
SupplierItemCode string yes
CustomerId integer (int32) yes
CC string yes
CN string yes
ShipperId integer (int32) yes
Shp string yes
ItemId integer (int32) yes
I string yes
D string yes
SiteId integer (int32) yes
S string yes
SN string yes
ItemSiteId integer (int32) yes
ItemSiteIsActive boolean yes
BuyerName string yes
ItemSiteCategory1Id integer (int32) yes
ISC1 string yes
ItemSiteCategory2Id integer (int32) yes
ISC2 string yes
ItemSiteCategory3Id integer (int32) yes
ISC3 string yes
ItemSiteCategory4Id integer (int32) yes
ISC4 string yes
ItemSiteCategory5Id integer (int32) yes
ISC5 string yes
ItemSiteCategory6Id integer (int32) yes
ISC6 string yes
ItemSiteCategory7Id integer (int32) yes
ISC7 string yes
ItemSiteCategory8Id integer (int32) yes
ISC8 string yes
CustomerShipToId integer (int32) yes
CstC string yes
CstN string yes
CustomerShipToCategory1Id integer (int32) yes
CSC1 string yes
CustomerShipToCategory2Id integer (int32) yes
CSC2 string yes
CustomerShipToCategory3Id integer (int32) yes
CSC3 string yes
DateCreated string (date-time) yes
DateUpdated string (date-time) yes

HierarchyNodeDetailPagedResult

The response envelope for a paged request: one page of data plus the navigation metadata a consumer needs to walk the full result set.
PropertyTypeNullableDescription
CurrentPage integer (int32) no
NextPage integer (int32) yes The page to request next, or null when StockIQ.Utils.Paging.PagedResult`1.CurrentPage is at (or past) the end. Consumers walk the data by re-sending the same request with `?page=NextPage` until null.
PreviousPage integer (int32) yes The page before StockIQ.Utils.Paging.PagedResult`1.CurrentPage, or null from page 1 (or when there is no data). Clamped to StockIQ.Utils.Paging.PagedResult`1.TotalPages so a request past the end points back at the last real page.
PageSize integer (int32) no
TotalPages integer (int32) no
TotalRecords integer (int32) no
Data HierarchyNodeDetail[] yes

HierarchyNodeDisplayMode

Values: 0 = Unknown; 1 = ItemSite; 2 = Item; 4 = Aggregate.
Enum values: 0, 1, 2, 4

HierarchyNodeFilters

PropertyTypeNullableDescription
SupplierItemCode string[] yes Restrict to items whose supplier item code contains one of these values (substring match).
ItemIds integer (int32)[] yes Restrict to these item ids.
ItemTagIds integer (int32)[] yes Restrict to items carrying any of these item tag ids.
SiteIds integer (int32)[] yes Restrict to these site ids.
CustomerShipToCategory1Ids integer (int32)[] yes Restrict to these customer ship-to category 1 ids.
CustomerShipToCategory2Ids integer (int32)[] yes Restrict to these customer ship-to category 2 ids.
CustomerShipToCategory3Ids integer (int32)[] yes Restrict to these customer ship-to category 3 ids.
CustomerIds integer (int32)[] yes Restrict to these customer ids.
CustomerShipToIds integer (int32)[] yes Restrict to these customer ship-to ids.
PrimarySupplierIds integer (int32)[] yes Restrict to item-sites whose primary supplier is one of these supplier ids.
BuyerIds integer (int32)[] yes Restrict to these buyer ids.
AbcClasses string[] yes Restrict to these ABC classes (e.g. A, B, C).
XyzClasses string[] yes Restrict to these XYZ classes.
OrderPolicies integer (int32)[] yes Restrict to item-sites using these replenishment order policies.
ItemStatuses integer (int32)[] yes Restrict to items with these item statuses.
ShipperIds integer (int32)[] yes Restrict to these shipper (owning company) ids.
ItemSiteCategory1Ids integer (int32)[] yes Restrict to these item-site category 1 ids.
ItemSiteCategory2Ids integer (int32)[] yes Restrict to these item-site category 2 ids.
ItemSiteCategory3Ids integer (int32)[] yes Restrict to these item-site category 3 ids.
ItemSiteCategory4Ids integer (int32)[] yes Restrict to these item-site category 4 ids.
ItemSiteCategory5Ids integer (int32)[] yes Restrict to these item-site category 5 ids.
ItemSiteCategory6Ids integer (int32)[] yes Restrict to these item-site category 6 ids.
ItemSiteCategory7Ids integer (int32)[] yes Restrict to these item-site category 7 ids.
ItemSiteCategory8Ids integer (int32)[] yes Restrict to these item-site category 8 ids.
ItemCodes string[] yes Restrict to items with these item codes. Codes are resolved server-side; any unknown code fails the request with a 400 listing it.
SiteCodes string[] yes Restrict to sites with these site codes. Unknown codes fail the request with a 400.
PrimarySupplierCodes string[] yes Restrict to item-sites whose primary supplier has one of these supplier codes. Unknown codes fail the request with a 400.
BuyerCodes string[] yes Restrict to buyers with these buyer codes. Unknown codes fail the request with a 400.
ShipperCodes string[] yes Restrict to shippers with these shipper codes. Unknown codes fail the request with a 400.
CustomerCodes string[] yes Restrict to customers with these customer codes. Unknown codes fail the request with a 400.
CustomerShipToCodes string[] yes Restrict to customer ship-tos with these ship-to codes. Unknown codes fail the request with a 400.
ItemSiteCategory1Codes string[] yes Restrict to item-site category 1 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory2Codes string[] yes Restrict to item-site category 2 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory3Codes string[] yes Restrict to item-site category 3 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory4Codes string[] yes Restrict to item-site category 4 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory5Codes string[] yes Restrict to item-site category 5 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory6Codes string[] yes Restrict to item-site category 6 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory7Codes string[] yes Restrict to item-site category 7 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory8Codes string[] yes Restrict to item-site category 8 entries with these codes. Unknown codes fail the request with a 400.

HierarchyNodeReasonExists

Values: 1 = Settings; 2 = Collaboration; 4 = Replacement; 8 = Historical; 16 = Structure; 32 = UserAdded; 33 = UserAddedNowSettings.
Enum values: 1, 2, 4, 8, 16, 32, 33

HierarchyProperty

Values: 0 = Root; 1 = Item; 2 = Site; 8 = ItemSiteCategory1; 16 = ItemSiteCategory2; 32 = ItemSiteCategory3; 64 = ItemSiteCategory4; 128 = ItemSiteCategory5; 256 = Shipper; 512 = Customer; 1024 = CustomerShipTo; 2048 = CustomerShipToCategory1; 4096 = CustomerShipToCategory2; 8192 = CustomerShipToCategory3; 16384 = ItemSiteCategory6; 32768 = ItemSiteCategory7; 65536 = ItemSiteCategory8.
Enum values: 0, 1, 2, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536

IAlertCounts

PropertyTypeNullableDescription
AlertType AlertType no
AlertTypeName string yes
NumHighPriority integer (int32) yes
NumMedPriority integer (int32) yes
NumLowPriority integer (int32) yes
NumSuspended integer (int32) yes
TotalValue number (double) yes

IAlertDetail

Gives an interface for all of our concrete types to implement, e.g. we must make sure they return these things from their query so we can know all alerts are appropriately similar.
PropertyTypeNullableDescription
ShipperId integer (int32) yes
ItemId integer (int32) no
SiteId integer (int32) no
ItemSiteCategory1Id integer (int32) yes
ItemSiteCategory2Id integer (int32) yes
ItemSiteCategory3Id integer (int32) yes
ItemSiteCategory4Id integer (int32) yes
ItemSiteCategory5Id integer (int32) yes
ItemSiteCategory6Id integer (int32) yes
ItemSiteCategory7Id integer (int32) yes
ItemSiteCategory8Id integer (int32) yes
BuyerId integer (int32) yes
ItemCode string yes
SiteCode string yes
PrimarySupplierName string yes
ItemDescription string yes
AbcClass string yes
XyzClass string yes
ActiveOrderPolicy ReplenishmentOrderPolicy no
ResolvedItemStatus ItemStatus no
BuyerName string yes
ItemSiteCategory1Name string yes
ItemSiteCategory2Name string yes
ItemSiteCategory3Name string yes
ItemSiteCategory4Name string yes
ItemSiteCategory5Name string yes
ItemSiteCategory6Name string yes
ItemSiteCategory7Name string yes
ItemSiteCategory8Name string yes
CustomerShipToCategory1Value string yes
CustomerShipToCategory2Value string yes
CustomerShipToCategory3Value string yes
AlertSummaryId integer (int32) no
AlertKeyId integer (int64) no
AlertType AlertType no
PrimaryId integer (int32) no
PrimaryIdProperty AlertPrimaryIdProperty no
Message string yes
DateCreated string (date-time) no
DateUpdated string (date-time) no
UpdatedByUserId integer (int32) yes
AssignedToUserId integer (int32) yes
AlertState AlertState no
Priority AlertPriority no
Rank integer (int32) yes
SuspendedByUserId integer (int32) yes
SuspendedByUserName string yes
DateSuspended string (date-time) yes
ReactivationDate string (date-time) yes
IsReactivateEnabled boolean yes
AlertNote string yes

IAlertDetailPagedResult

The response envelope for a paged request: one page of data plus the navigation metadata a consumer needs to walk the full result set.
PropertyTypeNullableDescription
CurrentPage integer (int32) no
NextPage integer (int32) yes The page to request next, or null when StockIQ.Utils.Paging.PagedResult`1.CurrentPage is at (or past) the end. Consumers walk the data by re-sending the same request with `?page=NextPage` until null.
PreviousPage integer (int32) yes The page before StockIQ.Utils.Paging.PagedResult`1.CurrentPage, or null from page 1 (or when there is no data). Clamped to StockIQ.Utils.Paging.PagedResult`1.TotalPages so a request past the end points back at the last real page.
PageSize integer (int32) no
TotalPages integer (int32) no
TotalRecords integer (int32) no
Data IAlertDetail[] yes

InventoryMeasure

Values: 1 = Units; 2 = Days; 3 = Weight; 4 = Cubes; 5 = Pallets; 6 = EquivalencyUnits.
Enum values: 1, 2, 3, 4, 5, 6

InventoryPosition

Values: 0 = Unknown; 1 = OutOfStock; 2 = BelowPanicPoint; 4 = BelowSafetyStock; 8 = OK; 16 = PlannedOverstock; 24 = Overstocked; 32 = Excess; 64 = NeverStocked; 128 = NonStock.
Enum values: 0, 1, 2, 4, 8, 16, 24, 32, 64, 128

InventoryPositionQuantity

Values: 1 = OnHand; 2 = AvailableQuantity; 3 = FirmSupplyAndDemand.
Enum values: 1, 2, 3

ItemSiteAttributes

PropertyTypeNullableDescription
ActiveTargetStockBalance number (double) no
OpportunityDollars number (double) no
OpportunityDollarsByAvailable number (double) yes
OpportunityDollarsByFirmSupplyAndDemand number (double) yes
PreferredTargetStock number (double) no
ActivePreferredTargetStockBalance number (double) no
PreferredOpportunityDollars number (double) no
PreferredOpportunityDollarsByAvailable number (double) yes
PreferredOpportunityDollarsByFirmSupplyAndDemand number (double) yes
ActiveVsPreferredTargetStock number (double) no
ActiveVsPreferredTargetStockBalance number (double) no
ActiveVsPreferredOpportunityDollars number (double) no
ActiveVsPreferredOpportunityDollarsByAvailable number (double) yes
ActiveVsPreferredOpportunityDollarsByFirmSupplyAndDemand number (double) yes
ItemTagAssignments ItemTagAssignmentDetail[] yes
ItemSiteId integer (int32) no
ItemId integer (int32) no
SiteId integer (int32) no
SiteName string yes
HubWarehouseId integer (int32) yes
ShipperId integer (int32) yes
BuyerId integer (int32) yes
PrimarySupplierId integer (int32) yes
ActivePlanningLeadTime integer (int32) yes
SafetyStockLeadTime integer (int32) no
ItemCode string yes
SiteCode string yes
HubWarehouseCode string yes
ShipperCode string yes
ItemDescription string yes
BuyerCode string yes
BuyerName string yes
PrimarySupplierCode string yes
PrimarySupplierName string yes
SupplierItemCategoryName string yes
MinimumOrderQuantity integer (int32) no
OrderMultipleQuantity integer (int32) no
PurchaseUnitOfMeasure string yes
StockingUnitsPerPurchaseUnits number (double) yes
SupplierItemCode string yes
OnHandQuantity number (double) no
ReplacedOnHandQuantity number (double) yes
TotalOnHandBalance number (double) no
ResolvedItemStatus ItemStatus no
ActiveOrderPolicy ReplenishmentOrderPolicy no
StockIQOrderPolicy integer (int32) yes
InventoryPosition integer (int32) no
ReplacementFlags integer (int32) no
BoMPosition integer (int32) yes
IsOnHandCopied boolean no
TotalForecastedDailyUsage number (double) yes
ActiveOrderCycle integer (int32) no
InventoryPositionAtLeadTime integer (int32) no
WorstProjectedInventoryPosition integer (int32) no
ProjectedOutOfStockDate string (date-time) yes
UsagePattern integer (int32) no
CurrentCost number (double) no
CurrentCostCurrency string yes
StandardCost number (double) no
StandardCostCurrency string yes
StandardPrice number (double) no
StandardPriceCurrency string yes
IsPhantom boolean no
DateCreated string (date-time) yes
DateFirstStocked string (date-time) yes
DateObsolete string (date-time) yes
DateFirstPoRelease string (date-time) yes
DateFirstPoReceipt string (date-time) yes
DateFirstCustomerOrder string (date-time) yes
DateProductLaunch string (date-time) yes
FinalDepletionDate string (date-time) yes
MaxCapacity integer (int32) yes
MaxCapacityUnitOfMeasure integer (int32) yes
AbcClass string yes
XyzClass string yes
ActiveSafetyStock number (double) no
ActiveTargetStock number (double) no
ActiveMaxStock number (double) no
ActivePreferredMaxStock number (double) yes
TargetServiceLevel number (double) yes
ActiveReorderPoint number (double) no
UnitOfMeasure string yes
UnitWeight number (double) yes
WeightUnits integer (int32) yes
UnitLength number (double) yes
UnitWidth number (double) yes
UnitHeight number (double) yes
UnitCubes number (double) yes
SizeUnits integer (int32) yes
UnitsPerPallet number (double) yes
Eoq number (double) no
TotalOnOrderQuantity number (double) yes
TotalInTransitQuantity number (double) yes
TotalOnDemandOrderQuantity number (double) no
IndependentOnDemandOrderQuantity number (double) no
DependentOnDemandOrderQuantity number (double) no
IndependentOnDemandOrderQuantityToLeadTime number (double) no
DependentOnDemandOrderQuantityToLeadTime number (double) no
TotalAvailableQuantity number (double) yes
TotalAvailableQuantityAtLeadTime number (double) yes
NextReceiptQuantity number (double) yes
NextExpectedDockDate string (date-time) yes
ItemSiteCategory1Name string yes
ItemSiteCategory2Name string yes
ItemSiteCategory3Name string yes
ItemSiteCategory4Name string yes
ItemSiteCategory5Name string yes
ItemSiteCategory6Name string yes
ItemSiteCategory7Name string yes
ItemSiteCategory8Name string yes
ItemSiteCategory1Id integer (int32) yes
ItemSiteCategory2Id integer (int32) yes
ItemSiteCategory3Id integer (int32) yes
ItemSiteCategory4Id integer (int32) yes
ItemSiteCategory5Id integer (int32) yes
ItemSiteCategory6Id integer (int32) yes
ItemSiteCategory7Id integer (int32) yes
ItemSiteCategory8Id integer (int32) yes
NumberOfParents integer (int32) yes
NumberOfChildren integer (int32) yes
ReplacedItemsCount integer (int32) yes
ReplacingItemsCount integer (int32) yes
ItemErpNotes string yes
ItemSiteErpNotes string yes
ItemSiteNotes string yes
DateNoteUpdated string (date-time) yes
LastUsedDate string (date-time) yes
ImageUri string yes
SupplierCost number (double) no
SupplierCostCurrency string yes
OnHandCubes number (double) yes
YieldPercentage number (double) yes
CountryOfOrigin string yes

ItemSiteDaysOfSupply

PropertyTypeNullableDescription
EffectiveDaysOfSupply number (double) yes
WeeksOfSupply number (double) yes
MonthsOfSupply number (double) yes
OneYearBurndownOnHand number (double) yes
OneYearBurndownValue number (double) yes
ExpectedAnnualRevenue number (double) yes
AnnualizedUsage number (double) yes
EffectiveDailyUsage number (double) yes
TotalAvailableBalance number (double) no
DaysOnOrder number (double) no
ItemSiteId integer (int32) no
ItemId integer (int32) no
SiteId integer (int32) no
ShipperId integer (int32) yes
ItemCode string yes
SiteCode string yes
ItemDescription string yes
ItemSiteSupplierId integer (int32) no
SupplierId integer (int32) no
SupplierCode string yes
SupplierName string yes
StandardCost number (double) no
StandardPrice number (double) no
AbcClass string yes
XyzClass string yes
Hits string yes
UsagePattern integer (int32) no
InventoryPosition integer (int32) no
ItemSiteCategory1Name string yes
ItemSiteCategory2Name string yes
ItemSiteCategory3Name string yes
ItemSiteCategory4Name string yes
ItemSiteCategory5Name string yes
ItemSiteCategory6Name string yes
ItemSiteCategory7Name string yes
ItemSiteCategory8Name string yes
PrimarySupplierId integer (int32) yes
ActiveOrderPolicy ReplenishmentOrderPolicy no
ActiveSafetyStock number (double) no
ActiveTargetStock number (double) no
ActiveMaxStock number (double) no
TotalOnHandQuantity number (double) no
TotalOnHandBalance number (double) no
TotalOnOrderQuantity number (double) no
OnOrderValue number (double) no
TotalAvailableQuantity number (double) no
TotalOnDemandQuantity number (double) no
CurrentExcessQuantity number (double) yes
CurrentExcessThreshold number (double) yes
ActivePlanningLeadTime integer (int32) yes
MinimumOrderQuantity number (double) no
OrderMultipleQuantity number (double) no
LastTwelveMonthsActuals number (double) yes
LastTwelveMonthsDependentActuals number (double) yes
TwelveMonthForecast number (double) yes
TwelveMonthDependentForecast number (double) yes

ItemSiteDetail

PropertyTypeNullableDescription
ItemSiteId integer (int32) no
ItemId integer (int32) no
SiteId integer (int32) no
ItemCode string yes
SiteCode string yes
SiteName string yes
ItemDescription string yes
IsActive boolean no
Removed boolean no
ItemIsActive boolean no
ItemIsRemoved boolean no
SiteIsActive boolean no
SiteIsRemoved boolean no
ItemSiteCategory1Id integer (int32) yes
ItemSiteCategory2Id integer (int32) yes
ItemSiteCategory3Id integer (int32) yes
ItemSiteCategory4Id integer (int32) yes
ItemSiteCategory5Id integer (int32) yes
ItemSiteCategory6Id integer (int32) yes
ItemSiteCategory7Id integer (int32) yes
ItemSiteCategory8Id integer (int32) yes
ItemSiteCategory1Code string yes
ItemSiteCategory1Name string yes
ItemSiteCategory2Code string yes
ItemSiteCategory2Name string yes
ItemSiteCategory3Code string yes
ItemSiteCategory3Name string yes
ItemSiteCategory4Code string yes
ItemSiteCategory4Name string yes
ItemSiteCategory5Code string yes
ItemSiteCategory5Name string yes
ItemSiteCategory6Name string yes
ItemSiteCategory6Code string yes
ItemSiteCategory7Name string yes
ItemSiteCategory7Code string yes
ItemSiteCategory8Name string yes
ItemSiteCategory8Code string yes

ItemSiteDetailPagedResult

The response envelope for a paged request: one page of data plus the navigation metadata a consumer needs to walk the full result set.
PropertyTypeNullableDescription
CurrentPage integer (int32) no
NextPage integer (int32) yes The page to request next, or null when StockIQ.Utils.Paging.PagedResult`1.CurrentPage is at (or past) the end. Consumers walk the data by re-sending the same request with `?page=NextPage` until null.
PreviousPage integer (int32) yes The page before StockIQ.Utils.Paging.PagedResult`1.CurrentPage, or null from page 1 (or when there is no data). Clamped to StockIQ.Utils.Paging.PagedResult`1.TotalPages so a request past the end points back at the last real page.
PageSize integer (int32) no
TotalPages integer (int32) no
TotalRecords integer (int32) no
Data ItemSiteDetail[] yes

ItemSiteFilters

PropertyTypeNullableDescription
ItemIds integer (int32)[] yes Restrict to these item ids.
SiteIds integer (int32)[] yes Restrict to these site ids.
PrimarySupplierIds integer (int32)[] yes Restrict to item-sites whose primary supplier is one of these supplier ids.
BuyerIds integer (int32)[] yes Restrict to these buyer ids.
AbcClasses string[] yes Restrict to these ABC classes (e.g. A, B, C).
XyzClasses string[] yes Restrict to these XYZ classes.
OrderPolicies ReplenishmentOrderPolicy[] yes Restrict to item-sites using these replenishment order policies.
ItemStatuses ItemStatus[] yes Restrict to items with these item statuses.
ShipperIds integer (int32)[] yes Restrict to these shipper (owning company) ids.
BoMPositions integer (int32)[] yes Restrict to items at these bill-of-material positions.
ItemTagIds integer (int32)[] yes Restrict to items carrying any of these item tag ids.
SupplierItemCode string[] yes Restrict by supplier item code (exact match). On item-site level endpoints this matches the primary supplier's item code; on supplier-relationship level endpoints (receipts, lead times) it matches the code on the returned relationship.
ItemSiteCategory1Ids integer (int32)[] yes Restrict to these item-site category 1 ids.
ItemSiteCategory2Ids integer (int32)[] yes Restrict to these item-site category 2 ids.
ItemSiteCategory3Ids integer (int32)[] yes Restrict to these item-site category 3 ids.
ItemSiteCategory4Ids integer (int32)[] yes Restrict to these item-site category 4 ids.
ItemSiteCategory5Ids integer (int32)[] yes Restrict to these item-site category 5 ids.
ItemSiteCategory6Ids integer (int32)[] yes Restrict to these item-site category 6 ids.
ItemSiteCategory7Ids integer (int32)[] yes Restrict to these item-site category 7 ids.
ItemSiteCategory8Ids integer (int32)[] yes Restrict to these item-site category 8 ids.
ItemCodes string[] yes Restrict to items with these item codes. Codes are resolved server-side; any unknown code fails the request with a 400 listing it.
SiteCodes string[] yes Restrict to sites with these site codes. Unknown codes fail the request with a 400.
PrimarySupplierCodes string[] yes Restrict to item-sites whose primary supplier has one of these supplier codes. Unknown codes fail the request with a 400.
BuyerCodes string[] yes Restrict to buyers with these buyer codes. Unknown codes fail the request with a 400.
ShipperCodes string[] yes Restrict to shippers with these shipper codes. Unknown codes fail the request with a 400.
ItemSiteCategory1Codes string[] yes Restrict to item-site category 1 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory2Codes string[] yes Restrict to item-site category 2 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory3Codes string[] yes Restrict to item-site category 3 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory4Codes string[] yes Restrict to item-site category 4 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory5Codes string[] yes Restrict to item-site category 5 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory6Codes string[] yes Restrict to item-site category 6 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory7Codes string[] yes Restrict to item-site category 7 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory8Codes string[] yes Restrict to item-site category 8 entries with these codes. Unknown codes fail the request with a 400.

ItemSiteHistoryDetail

PropertyTypeNullableDescription
ItemId integer (int32) no
ShipperId integer (int32) yes
ItemCode string yes
SiteCode string yes
ItemSiteHistoryId integer (int32) no
ItemSiteId integer (int32) no
CaptureDate string (date-time) no
TotalOnHandQuantity number (double) no
TotalAvailableQuantity number (double) yes
ActiveOrderPolicy integer (int32) yes
Eoq number (double) yes
ActivePanicPoint number (double) no
ActiveSafetyStock number (double) no
ActiveTargetStock number (double) no
ActivePreferredMaxStock number (double) yes
ActiveMaxStock number (double) no
CurrentDaySafetyStock number (double) no
CurrentDayTargetStock number (double) no
CurrentDayMaxStock number (double) no
CurrentCost number (double) no
CurrentCostCurrency string yes
StandardCost number (double) no
StandardCostCurrency string yes
StandardPrice number (double) no
StandardPriceCurrency string yes
ImportTaxCost number (double) yes
AbcClass string yes
XyzClass string yes
TargetServiceLevel number (double) yes
UsagePattern integer (int32) no
InventoryPosition integer (int32) no
CurrentExcessThreshold number (double) yes
OutOfStockQuantity number (double) no
ReplacementFlags integer (int32) no
IsOnHandCopied boolean no
DateUpdated string (date-time) no

ItemSiteHistoryDetailPagedResult

The response envelope for a paged request: one page of data plus the navigation metadata a consumer needs to walk the full result set.
PropertyTypeNullableDescription
CurrentPage integer (int32) no
NextPage integer (int32) yes The page to request next, or null when StockIQ.Utils.Paging.PagedResult`1.CurrentPage is at (or past) the end. Consumers walk the data by re-sending the same request with `?page=NextPage` until null.
PreviousPage integer (int32) yes The page before StockIQ.Utils.Paging.PagedResult`1.CurrentPage, or null from page 1 (or when there is no data). Clamped to StockIQ.Utils.Paging.PagedResult`1.TotalPages so a request past the end points back at the last real page.
PageSize integer (int32) no
TotalPages integer (int32) no
TotalRecords integer (int32) no
Data ItemSiteHistoryDetail[] yes

ItemSiteInventorySnapshot

PropertyTypeNullableDescription
SeriesKeyId integer (int32) no
SeriesKey string yes
CaptureDate string (date-time) no
ItemSiteId integer (int32) no
ItemId integer (int32) no
SiteId integer (int32) no
ItemSiteErpNotes string yes
ShipperId integer (int32) yes
ItemCode string yes
SiteCode string yes
SiteName string yes
ItemDescription string yes
ItemSiteCategory1Code string yes
ItemSiteCategory1Name string yes
ItemSiteCategory2Code string yes
ItemSiteCategory2Name string yes
ItemSiteCategory3Code string yes
ItemSiteCategory3Name string yes
ItemSiteCategory4Code string yes
ItemSiteCategory4Name string yes
ItemSiteCategory5Code string yes
ItemSiteCategory5Name string yes
ItemSiteCategory6Code string yes
ItemSiteCategory6Name string yes
ItemSiteCategory7Code string yes
ItemSiteCategory7Name string yes
ItemSiteCategory8Code string yes
ItemSiteCategory8Name string yes
AbcClass string yes
CurrentCost number (double) yes
StandardCost number (double) yes
OnHandQuantity number (double) yes
SafetyStockQuantity number (double) yes
TargetStockQuantity number (double) yes
MaxStockQuantity number (double) yes
StandardCostOnHandBalance number (double) yes
StandardCostSafetyStockBalance number (double) yes
StandardCostTargetStockBalance number (double) yes
StandardCostMaxStockBalance number (double) yes
OnHandCubes number (double) yes
TotalAvailableQuantity number (double) yes
Pallets number (double) yes
BuyerName string yes
ImageUri string yes
SupplierItemCode string yes
PrimarySupplierCode string yes
PrimarySupplierId integer (int32) yes

ItemSiteInventorySnapshots

PropertyTypeNullableDescription
Snapshots ItemSiteInventorySnapshot[] yes
ConstantLines ChartConstantLine[] yes

ItemSiteServiceLevelDetail

PropertyTypeNullableDescription
AlertKeyId integer (int64) no
AlertType AlertType no
PrimaryId integer (int32) no
PrimaryIdProperty AlertPrimaryIdProperty no
FillRate number (double) yes
OnTimeFillRate number (double) yes
ServiceLevel number (double) yes
ServiceLevelVariance number (double) yes
QuantityUnFilled integer (int32) yes
PeriodDate string (date-time) no
StartDate string (date-time) no
EndDate string (date-time) no
ItemSiteId integer (int32) no
ItemId integer (int32) no
SiteId integer (int32) no
BuyerId integer (int32) yes
PrimarySupplierId integer (int32) yes
ShipperId integer (int32) yes
ItemCode string yes
SiteCode string yes
ItemDescription string yes
BuyerName string yes
AbcClass string yes
XyzClass string yes
TargetServiceLevel number (double) no
ActiveOrderPolicy ReplenishmentOrderPolicy no
ResolvedItemStatus ItemStatus no
ItemSiteCategory1Id integer (int32) yes
ItemSiteCategory2Id integer (int32) yes
ItemSiteCategory3Id integer (int32) yes
ItemSiteCategory4Id integer (int32) yes
ItemSiteCategory5Id integer (int32) yes
ItemSiteCategory6Id integer (int32) yes
ItemSiteCategory7Id integer (int32) yes
ItemSiteCategory8Id integer (int32) yes
ItemSiteCategory1Name string yes
ItemSiteCategory2Name string yes
ItemSiteCategory3Name string yes
ItemSiteCategory4Name string yes
ItemSiteCategory5Name string yes
ItemSiteCategory6Name string yes
ItemSiteCategory7Name string yes
ItemSiteCategory8Name string yes
PrimarySupplierName string yes
NumberOfOrderLines integer (int32) yes
QuantityOrdered integer (int32) yes
QuantityFilled integer (int32) yes
QuantityFilledOnTime integer (int32) yes
NumberOfCompleteOrderLines integer (int32) yes
NumberOfOnTimeCompleteOrderLines integer (int32) yes
SupplierItemCode string yes
AlertSummaryId integer (int32) no
AMsg string yes
DateCreated string (date-time) no
DateUpdated string (date-time) no
UpdatedByUserId integer (int32) yes
AssignedToUserId integer (int32) yes
ASt AlertState no
APri AlertPriority no
Rank integer (int32) yes
SuspendedByUserId integer (int32) yes
SuspendedByUserName string yes
DateSuspended string (date-time) yes
ReactivationDate string (date-time) yes
IsReactivateEnabled boolean yes
AlertNote string yes
AlertTypeName string yes
CustomerShipToCategory1Value string yes Virtual property to satisfy implementing IAlertDetail, specifically so that we can be able to tell the difference between item-site and item-site-CSC1 level alerts in alert tests in our tests.
CustomerShipToCategory2Value string yes
CustomerShipToCategory3Value string yes

ItemSiteSupplierDetail

PropertyTypeNullableDescription
AdminLtSettingsDescription string yes
ManufacturingLtSettingsDescription string yes
ShippingLtSettingsDescription string yes
PutawayLtSettingsDescription string yes
SafetyStockLeadTimeSettingsDescription string yes
ErpPlanningLeadTime integer (int32) yes
CalculatedPlanningLeadTime integer (int32) yes
ShipperId integer (int32) yes
ItemId integer (int32) no
SiteId integer (int32) no
ItemSiteId integer (int32) no
BuyerId integer (int32) yes
ItemSiteIsActive boolean no
ItemSiteRemoved boolean no
SupplierId integer (int32) no
SupplierItemCategoryId integer (int32) no
ItemSiteSupplierId integer (int32) no
IsActive boolean no
Removed boolean no
ItemCode string yes
SiteCode string yes
ItemDescription string yes
SupplierItemCode string yes
SupplierCode string yes
SupplierName string yes
SupplierItemCategoryCode string yes
SupplierItemCategoryName string yes
MinimumOrderQuantity integer (int32) no
OrderMultipleQuantity integer (int32) no
MaxOrderQuantity integer (int32) yes
YieldPercentage number (double) no
SupplierCost number (double) no
SupplierCostCurrency string yes
UnitOfMeasure string yes
PurchaseUnitOfMeasure string yes
StockingUnitsPerPurchaseUnits number (double) yes
SupplierOnHand number (double) yes
ActiveOrderCycle integer (int32) no
ErpSupplierLevel integer (int32) yes
CalculatedSupplierLevel integer (int32) no
ActiveSupplierLevel integer (int32) no
ErpAdminLeadTime integer (int32) yes
ErpManufacturingLeadTime integer (int32) yes
ErpShippingLeadTime integer (int32) yes
ErpExpeditedShippingLeadTime integer (int32) yes
ErpPutawayLeadTime integer (int32) yes
CalculatedAdminLeadTime integer (int32) yes
CalculatedManufacturingLeadTime integer (int32) yes
CalculatedShippingLeadTime integer (int32) yes
CalculatedPutawayLeadTime integer (int32) yes
ActivePlanningLeadTime integer (int32) yes
ActiveAdminLeadTime integer (int32) no
ActiveManufacturingLeadTime integer (int32) no
ActiveShippingLeadTime integer (int32) no
ActiveExpeditedShippingLeadTime integer (int32) no
ActivePutawayLeadTime integer (int32) no
SafetyStockLeadTime integer (int32) no
CumulativeSafetyStockLeadTime integer (int32) yes
LeadTimeReceiptCount integer (int32) yes
TotalReceiptCount integer (int32) yes
ItemSiteCategory1Name string yes
ItemSiteCategory2Name string yes
ItemSiteCategory3Name string yes
ItemSiteCategory4Name string yes
ItemSiteCategory5Name string yes
ItemSiteCategory6Name string yes
ItemSiteCategory7Name string yes
ItemSiteCategory8Name string yes

ItemSiteSupplierDetailPagedResult

The response envelope for a paged request: one page of data plus the navigation metadata a consumer needs to walk the full result set.
PropertyTypeNullableDescription
CurrentPage integer (int32) no
NextPage integer (int32) yes The page to request next, or null when StockIQ.Utils.Paging.PagedResult`1.CurrentPage is at (or past) the end. Consumers walk the data by re-sending the same request with `?page=NextPage` until null.
PreviousPage integer (int32) yes The page before StockIQ.Utils.Paging.PagedResult`1.CurrentPage, or null from page 1 (or when there is no data). Clamped to StockIQ.Utils.Paging.PagedResult`1.TotalPages so a request past the end points back at the last real page.
PageSize integer (int32) no
TotalPages integer (int32) no
TotalRecords integer (int32) no
Data ItemSiteSupplierDetail[] yes

ItemSiteSupplierFilters

PropertyTypeNullableDescription
SupplierIds integer (int32)[] yes Restrict to item-site-supplier relationships with these supplier ids (any supplier relationship, not just the primary one - contrast with the inherited PrimarySupplierIds).
SupplierLevels integer (int32)[] yes Restrict to these supplier levels (1 = the item-site's primary supplier).
SupplierItemCategories integer (int32)[] yes Restrict to these supplier item category ids.
MultiHubFilter MultiHubFilter no
SupplierCodes string[] yes Restrict to suppliers with these supplier codes (any supplier relationship). Unknown codes fail the request with a 400.
AreEmptyOtherThanSupplierLevel boolean no
ItemIds integer (int32)[] yes Restrict to these item ids.
SiteIds integer (int32)[] yes Restrict to these site ids.
PrimarySupplierIds integer (int32)[] yes Restrict to item-sites whose primary supplier is one of these supplier ids.
BuyerIds integer (int32)[] yes Restrict to these buyer ids.
AbcClasses string[] yes Restrict to these ABC classes (e.g. A, B, C).
XyzClasses string[] yes Restrict to these XYZ classes.
OrderPolicies ReplenishmentOrderPolicy[] yes Restrict to item-sites using these replenishment order policies.
ItemStatuses ItemStatus[] yes Restrict to items with these item statuses.
ShipperIds integer (int32)[] yes Restrict to these shipper (owning company) ids.
BoMPositions integer (int32)[] yes Restrict to items at these bill-of-material positions.
ItemTagIds integer (int32)[] yes Restrict to items carrying any of these item tag ids.
SupplierItemCode string[] yes Restrict by supplier item code (exact match). On item-site level endpoints this matches the primary supplier's item code; on supplier-relationship level endpoints (receipts, lead times) it matches the code on the returned relationship.
ItemSiteCategory1Ids integer (int32)[] yes Restrict to these item-site category 1 ids.
ItemSiteCategory2Ids integer (int32)[] yes Restrict to these item-site category 2 ids.
ItemSiteCategory3Ids integer (int32)[] yes Restrict to these item-site category 3 ids.
ItemSiteCategory4Ids integer (int32)[] yes Restrict to these item-site category 4 ids.
ItemSiteCategory5Ids integer (int32)[] yes Restrict to these item-site category 5 ids.
ItemSiteCategory6Ids integer (int32)[] yes Restrict to these item-site category 6 ids.
ItemSiteCategory7Ids integer (int32)[] yes Restrict to these item-site category 7 ids.
ItemSiteCategory8Ids integer (int32)[] yes Restrict to these item-site category 8 ids.
ItemCodes string[] yes Restrict to items with these item codes. Codes are resolved server-side; any unknown code fails the request with a 400 listing it.
SiteCodes string[] yes Restrict to sites with these site codes. Unknown codes fail the request with a 400.
PrimarySupplierCodes string[] yes Restrict to item-sites whose primary supplier has one of these supplier codes. Unknown codes fail the request with a 400.
BuyerCodes string[] yes Restrict to buyers with these buyer codes. Unknown codes fail the request with a 400.
ShipperCodes string[] yes Restrict to shippers with these shipper codes. Unknown codes fail the request with a 400.
ItemSiteCategory1Codes string[] yes Restrict to item-site category 1 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory2Codes string[] yes Restrict to item-site category 2 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory3Codes string[] yes Restrict to item-site category 3 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory4Codes string[] yes Restrict to item-site category 4 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory5Codes string[] yes Restrict to item-site category 5 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory6Codes string[] yes Restrict to item-site category 6 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory7Codes string[] yes Restrict to item-site category 7 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory8Codes string[] yes Restrict to item-site category 8 entries with these codes. Unknown codes fail the request with a 400.

ItemSiteTurnsDetail

PropertyTypeNullableDescription
ItemSiteId integer (int32) no
ItemId integer (int32) no
SiteId integer (int32) no
ItemCode string yes
ShipperId integer (int32) yes
SiteCode string yes
ItemDescription string yes
ItemSiteCategory1Name string yes
ItemSiteCategory2Name string yes
ItemSiteCategory3Name string yes
ItemSiteCategory4Name string yes
ItemSiteCategory5Name string yes
ItemSiteCategory6Name string yes
ItemSiteCategory7Name string yes
ItemSiteCategory8Name string yes
PeriodDate string (date-time) no
StartDate string (date-time) no
EndDate string (date-time) no
QuantitySold number (double) no
Cogs number (double) no
OnHandQuantity number (double) no
AverageOnHandQuantity number (double) no
TargetOnHandQuantity number (double) no
OnHandBalance number (double) no
AverageOnHandBalance number (double) no
TargetOnHandBalance number (double) no
MeasurementPeriodLength integer (int32) no
CurrentTurns number (double) yes
AverageTurns number (double) yes
TargetTurns number (double) yes
CurrVsTargetTurns number (double) yes
AvgVsTargetTurns number (double) yes
CurrentUnitTurns number (double) yes
AverageUnitTurns number (double) yes
TargetUnitTurns number (double) yes
CurrVsTargetUnitTurns number (double) yes
AvgVsTargetUnitTurns number (double) yes

ItemStatus

Values: 1 = Active; 2 = Discontinued.
Enum values: 1, 2

ItemTagAssignmentDetail

PropertyTypeNullableDescription
ItemTagId integer (int32) no
ItemId integer (int32) no
Tag string yes
Type integer (int32) no
FiltersJson string yes

LeadTimeType

Values: 1 = Administration; 2 = Manufacturing; 4 = Shipping; 8 = Vendor; 16 = Putaway; 32 = Planning.
Enum values: 1, 2, 4, 8, 16, 32

LineStatus

Values: 0 = NotSet; 1 = Open; 2 = Closed; 4 = Canceled; 8 = OnHold; 16 = Released; 1024 = Error.
Enum values: 0, 1, 2, 4, 8, 16, 1024

LostSalesDetail

PropertyTypeNullableDescription
ItemTagAssignments ItemTagAssignmentDetail[] yes
ItemId integer (int32) yes
ItemCode string yes
SiteCode string yes
CustomerName string yes
CustomerShipToCode string yes
CustomerShipToName string yes
CustomerShipToCategory1Value string yes
CustomerShipToCategory2Value string yes
CustomerShipToCategory3Value string yes
NodeLevel integer (int32) no
ItemSiteId integer (int32) no
ItemSiteCategory1Code string yes
ItemSiteCategory1Name string yes
ItemSiteCategory2Code string yes
ItemSiteCategory2Name string yes
ItemSiteCategory3Code string yes
ItemSiteCategory3Name string yes
ItemSiteCategory4Code string yes
ItemSiteCategory4Name string yes
ItemSiteCategory5Code string yes
ItemSiteCategory5Name string yes
ItemSiteCategory6Code string yes
ItemSiteCategory6Name string yes
ItemSiteCategory7Code string yes
ItemSiteCategory7Name string yes
ItemSiteCategory8Code string yes
ItemSiteCategory8Name string yes
PeriodDate string (date-time) no
LostQuantity number (double) no
LostCogs number (double) no
LostRevenue number (double) no
HierarchyNodeId integer (int32) no
ItemDescription string yes
XyzClass string yes
AbcClass string yes

ManualForecastDetail

PropertyTypeNullableDescription
LevelName string yes
ItemTagAssignments ItemTagAssignmentDetail[] yes
NodeLevel integer (int32) no
HierarchyProperty integer (int32) no
HierarchyNodeId integer (int32) no
ShipperId integer (int32) yes
SiteId integer (int32) yes
ItemId integer (int32) yes
CustomerShipToCategory1Id integer (int32) yes
CustomerShipToCategory2Id integer (int32) yes
CustomerShipToCategory3Id integer (int32) yes
CustomerId integer (int32) no
CustomerShipToId integer (int32) no
ItemSiteCategory1Id integer (int32) yes
ItemSiteCategory2Id integer (int32) yes
ItemSiteCategory3Id integer (int32) yes
ItemSiteCategory4Id integer (int32) yes
ItemSiteCategory5Id integer (int32) yes
ItemSiteCategory6Id integer (int32) yes
ItemSiteCategory7Id integer (int32) yes
ItemSiteCategory8Id integer (int32) yes
ItemSiteId integer (int32) no
UpdatedByUserId integer (int32) no
DemandForecastSeriesId integer (int32) no
DemandForecastSeriesName string yes
NodeValue string yes
ShipperName string yes
ItemCode string yes
SiteCode string yes
CustomerShipToCategory1Value string yes
CustomerShipToCategory2Value string yes
CustomerShipToCategory3Value string yes
CustomerName string yes
CustomerShipToName string yes
ItemSiteCategory1Name string yes
ItemSiteCategory2Name string yes
ItemSiteCategory3Name string yes
ItemSiteCategory4Name string yes
ItemSiteCategory5Name string yes
ItemSiteCategory6Name string yes
ItemSiteCategory7Name string yes
ItemSiteCategory8Name string yes
Interval integer (int32) no
ForecastControl integer (int32) no
AutoForecastReactivationDate string (date-time) yes
DateUpdated string (date-time) yes
UpdatedByUserName string yes
Note string yes
IsInherited boolean no
ControlledAtLevelName string yes
ForecastDateUpdated string (date-time) no
ForecastUpdatedByUserName string yes
ForecastNote string yes
ItemDescription string yes

MultiHubFilter

Values: 1 = ShowAllHubs; 2 = ShowPrimaryHubOnly.
Enum values: 1, 2

NewItemDetail

PropertyTypeNullableDescription
AlertKeyId integer (int64) no
AlertType AlertType no
PrimaryId integer (int32) no
PrimaryIdProperty AlertPrimaryIdProperty no
ItemAge integer (int32) yes
ItemSiteId integer (int32) no
ItemSiteErpNotes string yes
ShipperId integer (int32) yes
ItemId integer (int32) no
SiteId integer (int32) no
BuyerId integer (int32) yes
PrimarySupplierId integer (int32) yes
ItemSiteCategory1Id integer (int32) yes
ItemSiteCategory2Id integer (int32) yes
ItemSiteCategory3Id integer (int32) yes
ItemSiteCategory4Id integer (int32) yes
ItemSiteCategory5Id integer (int32) yes
ItemSiteCategory6Id integer (int32) yes
ItemSiteCategory7Id integer (int32) yes
ItemSiteCategory8Id integer (int32) yes
ItemCode string yes
SiteCode string yes
BuyerName string yes
ItemDescription string yes
ActiveOrderPolicy ReplenishmentOrderPolicy no
PrimarySupplierCode string yes
PrimarySupplierName string yes
SupplierName string yes
BoMPosition integer (int32) yes
AbcClass string yes
XyzClass string yes
OnHandQuantity number (double) no
TotalOnOrderQuantity number (double) yes
TotalAvailableQuantity number (double) yes
TotalAvailableQuantityAtLeadTime number (double) yes
StandardCostCurrency string yes
DateCreated string (date-time) yes
DateFirstStocked string (date-time) yes
CurrentCost number (double) no
StandardCost number (double) no
FirstSaleDate string (date-time) yes
LastSaleDate string (date-time) yes
OnHandBalance number (double) no
ExcessQuantity number (double) yes
ExcessBalance number (double) yes
TotalHistoricalDailyUsage number (double) no
TotalForecastedDailyUsage number (double) yes
TotalDailyUsageAtLeadTime number (double) yes
ResolvedItemStatus ItemStatus no
HasForecast boolean no
CustomerShipToCount integer (int32) yes
CustomerCount integer (int32) yes
NextExpectedDockDate string (date-time) yes
NextOrderRemainingReceiptQuantity number (double) yes
NumberOfOpenSupplies integer (int32) yes
TotalHits integer (int32) yes
ItemSiteCategory1Name string yes
ItemSiteCategory2Name string yes
ItemSiteCategory3Name string yes
ItemSiteCategory4Name string yes
ItemSiteCategory5Name string yes
ItemSiteCategory6Name string yes
ItemSiteCategory7Name string yes
ItemSiteCategory8Name string yes
SupplierItemCode string yes
SiteGroupInventoryPosition InventoryPosition no
SiteGroupUsagePattern UsagePattern no
SiteGroupOnHandQuantity number (double) no
SiteGroupAvailableQuantity number (double) yes
SiteGroupCurrentExcessQuantity number (double) yes
SiteGroupCurrentExcessThreshold number (double) yes
SiteGroupTotalForecastedDailyUsag number (double) yes
ItemSiteNotes string yes
DateNoteUpdated string (date-time) yes
AlertSummaryId integer (int32) no
AMsg string yes
DateUpdated string (date-time) no
UpdatedByUserId integer (int32) yes
AssignedToUserId integer (int32) yes
ASt AlertState no
APri AlertPriority no
Rank integer (int32) yes
SuspendedByUserId integer (int32) yes
SuspendedByUserName string yes
DateSuspended string (date-time) yes
ReactivationDate string (date-time) yes
IsReactivateEnabled boolean yes
AlertNote string yes
AlertTypeName string yes
CustomerShipToCategory1Value string yes Virtual property to satisfy implementing IAlertDetail, specifically so that we can be able to tell the difference between item-site and item-site-CSC1 level alerts in alert tests in our tests.
CustomerShipToCategory2Value string yes
CustomerShipToCategory3Value string yes

OnTimePerformanceSummary

PropertyTypeNullableDescription
PeriodDate string (date-time) yes
EarlyCount integer (int32) no
OnTimeCount integer (int32) no
UnknownCount integer (int32) no
LateCount integer (int32) no
TotalCount integer (int32) no
PercentEarly number (double) no
PercentOnTime number (double) no
PercentLate number (double) no

OnTimeStatus

Values: 1 = Early; 2 = OnTime; 4 = Late.
Enum values: 1, 2, 4

OpenSupplyOrderLineDetail

PropertyTypeNullableDescription
AlertKeyId integer (int64) no
AlertType AlertType no
PrimaryId integer (int32) no
PrimaryIdProperty AlertPrimaryIdProperty no
PrimarySupplierName string yes
DURD integer (int32) no
DUSD integer (int32) no
USQ number (double) yes
ITQ number (double) yes
ITD number (double) yes
UnitCubes number (double) yes
CO number (double) yes
CR number (double) yes
CIT number (double) yes
WO number (double) yes
WR number (double) yes
WIT number (double) yes
ErpON string yes
SiqON string yes
SupplyType SupplyType no
ShipperId integer (int32) yes
ItemId integer (int32) no
SiteId integer (int32) no
ItemSiteSupplierId integer (int32) no
SupplierId integer (int32) no
SupplierItemCategoryId integer (int32) no
BuyerId integer (int32) yes
ItemSiteCategory1Id integer (int32) yes
ItemSiteCategory2Id integer (int32) yes
ItemSiteCategory3Id integer (int32) yes
ItemSiteCategory4Id integer (int32) yes
ItemSiteCategory5Id integer (int32) yes
ItemSiteCategory6Id integer (int32) yes
ItemSiteCategory7Id integer (int32) yes
ItemSiteCategory8Id integer (int32) yes
I string yes
SiteCode string yes
SC string yes
BuyerCode string yes
BuyerName string yes
SN string yes
ISC1 string yes
ISC2 string yes
ISC3 string yes
ISC4 string yes
ISC5 string yes
ISC6 string yes
ISC7 string yes
ISC8 string yes
D string yes
SIC string yes
ActiveSupplierLevel integer (int32) no
ActiveOrderPolicy ReplenishmentOrderPolicy no
ResolvedItemStatus ItemStatus no
IP InventoryPosition no
PrimarySupplierId integer (int32) yes
BoMPosition integer (int32) yes
WPIP InventoryPosition no
IPLT InventoryPosition no
SupplyOrderLineId integer (int32) no
SupplyOrderId integer (int32) no
SiqLN number (double) yes
ErpLN number (double) yes
ItemSiteId integer (int32) no
StockIqStatus integer (int32) no
ErpLineStatus integer (int32) yes
ReleaseQuantity number (double) no
RRQ number (double) no
PurchaseCost number (double) no
PurchaseCostCurrency string yes
ExpectedShipDate string (date-time) yes
EDD string (date-time) no
PlannedReceiptDate string (date-time) no
ILC string yes
ELC string yes
RctQty number (double) yes
RRctQty number (double) yes
StandardPrice number (double) no
StandardPriceCurrency string yes
ConfirmedByUserId integer (int32) yes
ApprovedByUserId integer (int32) yes
OriginalReleaseQuantity number (double) yes
OriginalReceiptQuantity number (double) yes
OESD string (date-time) yes
OEDD string (date-time) no
Abc string yes
Xyz string yes
OpenDollars number (double) yes
LinePurchaseCost number (double) yes
UnitOfMeasure string yes
PurchaseUnitOfMeasure string yes
OCD string (date-time) yes
RD string (date-time) yes
ExpectedReleaseDate string (date-time) yes
IHC string yes
EHC string yes
UnitWeight number (double) yes
UnitLength number (double) yes
UnitWidth number (double) yes
UnitHeight number (double) yes
UnitsPerPallet number (double) yes
ItemErpNotes string yes
ItemSiteErpNotes string yes
AQ number (double) yes
OH number (double) no
TotalOnOrderQuantity number (double) yes
TotalInTransitQuantity number (double) yes
SS number (double) no
ErpBlanketOrderNumber string yes
StockIqBlanketOrderNumber string yes
ErpBlanketOrderLineNumber number (double) yes
StockIqBlanketOrderLineNumber number (double) yes
POOSD string (date-time) yes
ItemSiteNotes string yes
DateNoteUpdated string (date-time) yes
NextOrderTotalQuantityShipped number (double) yes
MRDS string (date-time) yes
QS number (double) yes
CountryOfOrigin string yes
ImportTaxPercent number (double) yes
ImportTaxCost number (double) yes
AlertSummaryId integer (int32) no
AMsg string yes
DateCreated string (date-time) no
DateUpdated string (date-time) no
UpdatedByUserId integer (int32) yes
AssignedToUserId integer (int32) yes
ASt AlertState no
APri AlertPriority no
Rank integer (int32) yes
SuspendedByUserId integer (int32) yes
SuspendedByUserName string yes
DateSuspended string (date-time) yes
ReactivationDate string (date-time) yes
IsReactivateEnabled boolean yes
AlertNote string yes
AlertTypeName string yes
CustomerShipToCategory1Value string yes Virtual property to satisfy implementing IAlertDetail, specifically so that we can be able to tell the difference between item-site and item-site-CSC1 level alerts in alert tests in our tests.
CustomerShipToCategory2Value string yes
CustomerShipToCategory3Value string yes

OpenSupplyOrderLineDetailPagedResult

The response envelope for a paged request: one page of data plus the navigation metadata a consumer needs to walk the full result set.
PropertyTypeNullableDescription
CurrentPage integer (int32) no
NextPage integer (int32) yes The page to request next, or null when StockIQ.Utils.Paging.PagedResult`1.CurrentPage is at (or past) the end. Consumers walk the data by re-sending the same request with `?page=NextPage` until null.
PreviousPage integer (int32) yes The page before StockIQ.Utils.Paging.PagedResult`1.CurrentPage, or null from page 1 (or when there is no data). Clamped to StockIQ.Utils.Paging.PagedResult`1.TotalPages so a request past the end points back at the last real page.
PageSize integer (int32) no
TotalPages integer (int32) no
TotalRecords integer (int32) no
Data OpenSupplyOrderLineDetail[] yes

OrderLineErrorMessage

PropertyTypeNullableDescription
MessageType OrderLineErrorMessageType no
Title string yes
Message string yes
Prompt string yes
ProvidedValue object yes
CorrectedValue object yes
ShowAdjustmentDialog boolean no
WarningLevel ResultType no

OrderLineErrorMessageType

Values: 1 = Transfer; 2 = Minimum; 4 = Multiple; 8 = Maximum; 16 = PlanAtRisk; 32 = PlannedReceiptDate; 64 = ExpectedShipDate; 128 = SupplierItemMinimum; 256 = WarehouseCapacity; 512 = SupplierOnHand; 1024 = BlanketPurchaseOrderAllocation; 2048 = UnderMoqTarget; 4096 = EarlyBlanketOrder; 8192 = NegativeAdjustedMargin; 16384 = ExcessAndOverStock; 32768 = DaysOfSupplyLimit.
Enum values: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768

OrderLineStatus

Values: 0 = NotSet; 1 = Review; 2 = Confirmed; 4 = HoldForMerge; 8 = Merged; 16 = Approved; 32 = Accepted; 64 = Canceled; 128 = Error.
Enum values: 0, 1, 2, 4, 8, 16, 32, 64, 128

OrderScheduleHeader

PropertyTypeNullableDescription
IsLocked boolean no
ItemSiteSupplierId integer (int32) no
ItemSiteId integer (int32) no
SupplierId integer (int32) no
SupplierItemCategoryId integer (int32) yes
ItemId integer (int32) no
SiteId integer (int32) no
ShipperId integer (int32) yes
BuyerId integer (int32) yes
ItemCode string yes
SiteCode string yes
SupplierItemCode string yes
SupplierCode string yes
SupplierName string yes
ItemDescription string yes
AbcClass string yes
XyzClass string yes
OutOfStockQuantity number (double) no
InventoryPosition InventoryPosition no
ActiveOrderPolicy integer (int32) yes
TotalOnOrderQuantity number (double) yes
ActivePlanningLeadTime integer (int32) yes
ActiveSupplierLevel integer (int32) no
InventoryPositionAtLeadTime InventoryPosition no
WorstProjectedInventoryPosition InventoryPosition no
ActiveOrderCycle integer (int32) no
TotalOnHandQuantity number (double) no
ReplacedOnHandQuantity number (double) yes
Eoq number (double) no
MinimumOrderQuantity integer (int32) no
OrderMultipleQuantity integer (int32) no
ActiveSafetyStock number (double) no
ActiveTargetStock number (double) no
ActiveMaxStock number (double) no
BoMPosition integer (int32) yes
NumberOfParents integer (int32) yes
NumberOfChildren integer (int32) yes
NextExpectedShipDate string (date-time) yes
NextExpectedDockDate string (date-time) yes
ProjectedBelowPanicPointDate string (date-time) yes
ProjectedOutOfStockDate string (date-time) yes
NextErpOrderNumber string yes
NextOrderRemainingReleaseQuantity number (double) yes
ItemSiteCategory1Name string yes
ItemSiteCategory2Name string yes
ItemSiteCategory3Name string yes
ItemSiteCategory4Name string yes
ItemSiteCategory5Name string yes
ItemSiteCategory6Name string yes
ItemSiteCategory7Name string yes
ItemSiteCategory8Name string yes
ItemSiteNotes string yes
DateNoteUpdated string (date-time) yes
ItemSiteErpNotes string yes
YieldPercentage number (double) yes
CountryOfOrigin string yes
SupplierCost number (double) yes
SupplierCostCurrency string yes

OverforecastedPeriodDetail

PropertyTypeNullableDescription
AlertKeyId integer (int64) no
AlertType AlertType no
PrimaryId integer (int32) no
PrimaryIdProperty AlertPrimaryIdProperty no
ForecastErrorPercent number (double) yes
StatisticalErrorPercent number (double) yes
LevelName string yes
OverforecastRevenueVariance number (double) no
ItemTagAssignments ItemTagAssignmentDetail[] yes
NodeLevel integer (int32) no
HierarchyProperty HierarchyProperty no
ShipperId integer (int32) yes
SiteId integer (int32) no
ItemId integer (int32) no
BuyerId integer (int32) yes
PrimarySupplierId integer (int32) yes
CustomerShipToCategory1Id integer (int32) yes
CustomerShipToCategory2Id integer (int32) yes
CustomerShipToCategory3Id integer (int32) yes
CustomerId integer (int32) no
CustomerShipToId integer (int32) no
ItemSiteCategory1Id integer (int32) yes
ItemSiteCategory2Id integer (int32) yes
ItemSiteCategory3Id integer (int32) yes
ItemSiteCategory4Id integer (int32) yes
ItemSiteCategory5Id integer (int32) yes
ItemSiteCategory6Id integer (int32) yes
ItemSiteCategory7Id integer (int32) yes
ItemSiteCategory8Id integer (int32) yes
ItemSiteId integer (int32) no
DemandForecastSeriesName string yes
NodeValue string yes
HierarchyNodeId integer (int32) no
DemandForecastSeriesId integer (int32) no
PeriodDate string (date-time) no
Interval TimeInterval no
ForecastQuantity number (double) no
ToleranceLowerBound number (double) no
StatisticalForecastQuantity number (double) no
ForecastAverageQuantity number (double) no
StatisticalAverageQuantity number (double) no
ForecastRevenue number (double) no
ForecastCogs number (double) no
StatisticalForecastRevenue number (double) no
AverageForecastErrorPercent number (double) yes
AverageStatisticalErrorPercent number (double) yes
AverageForecastErrorUnits number (double) yes
AverageStatisticalErrorUnits number (double) yes
PeriodTotalQuantitySold number (double) no
PeriodTotalRevenue number (double) no
PeriodTotalCogs number (double) no
PercentThroughPeriod number (double) no
PercentOfDemandExpected number (double) no
ProjectedPeriodTotalQuantitySold number (double) no
ProjectedPeriodTotalRevenue number (double) no
ProjectedPeriodTotalCogs number (double) no
ForecastErrorUnits number (double) no
ForecastErrorDollars number (double) no
StatisticalErrorUnits number (double) no
StatisticalErrorDollars number (double) no
UsagePattern UsagePattern no
IsAutoForecasted boolean no
ProjectedOutOfStockDate string (date-time) yes
NextOrderDockDate string (date-time) yes
ProjectedInventoryPosition InventoryPosition no
ShipperName string yes
ItemCode string yes
ItemDescription string yes
SiteCode string yes
CustomerShipToCategory1Value string yes
CustomerShipToCategory2Value string yes
CustomerShipToCategory3Value string yes
CustomerName string yes
CustomerShipToName string yes
ItemSiteCategory1Name string yes
ItemSiteCategory2Name string yes
ItemSiteCategory3Name string yes
ItemSiteCategory4Name string yes
ItemSiteCategory5Name string yes
ItemSiteCategory6Name string yes
ItemSiteCategory7Name string yes
ItemSiteCategory8Name string yes
AbcClass string yes
XyzClass string yes
BuyerName string yes
PrimarySupplierName string yes
ActiveOrderPolicy ReplenishmentOrderPolicy no
ResolvedItemStatus ItemStatus no
AlertSummaryId integer (int32) no
AMsg string yes
DateCreated string (date-time) no
DateUpdated string (date-time) no
UpdatedByUserId integer (int32) yes
AssignedToUserId integer (int32) yes
ASt AlertState no
APri AlertPriority no
Rank integer (int32) yes
SuspendedByUserId integer (int32) yes
SuspendedByUserName string yes
DateSuspended string (date-time) yes
ReactivationDate string (date-time) yes
IsReactivateEnabled boolean yes
AlertNote string yes
AlertTypeName string yes

PlanState

Values: 0 = None; 1 = OK; 2 = AtRisk; 3 = AtSharedRisk.
Enum values: 0, 1, 2, 3

ProblemDetails

PropertyTypeNullableDescription
Type string yes
Title string yes
Status integer (int32) yes
Detail string yes
Instance string yes

PurchaseCostStatus

Values: 0 = None; 1 = UserEdited; 2 = HasItemLevelPricebreak; 4 = ModifiedByPricebreaks.
Enum values: 0, 1, 2, 4

ReceiptCompletenessPerformanceSummary

PropertyTypeNullableDescription
PeriodDate string (date-time) no
CompleteCount integer (int32) yes
UnderCount integer (int32) yes
OverCount integer (int32) yes
TotalCount integer (int32) yes

ReceiptDetail

PropertyTypeNullableDescription
CalendarDaysReceiptDelay integer (int32) yes
ChangedReleaseDate boolean no
OnTimeStatus OnTimeStatus no
IsIncludedInLeadTimeCalculations boolean no
SupplyOrderLineId integer (int32) no
IncomingShipmentId integer (int32) no
ItemSiteId integer (int32) no
ItemId integer (int32) no
SiteId integer (int32) no
SupplierId integer (int32) no
SupplyOrderId integer (int32) no
ExcludedIncomingShipmentId integer (int32) no
IsExcluded boolean yes
IncomingShipmentCode string yes
ItemCode string yes
SiteCode string yes
SupplierCode string yes
SupplierName string yes
StockIqOrderNumber string yes
StockIqLineNumber integer (int32) yes
ErpOrderNumber string yes
ErpLineNumber integer (int32) yes
OrderCreationDate string (date-time) yes
ReleaseDate string (date-time) yes
ExpectedReleaseDate string (date-time) yes
ExpectedShipDate string (date-time) yes
ExpectedDockDate string (date-time) no
PlannedReceiptDate string (date-time) no
OriginalExpectedShipDate string (date-time) yes
OriginalExpectedDockDate string (date-time) no
OriginalExpectedReceiptDate string (date-time) yes
OriginalPlannedReceiptDate string (date-time) yes
RequestedShipDate string (date-time) yes
ShipmentReadyDate string (date-time) yes
DateShipped string (date-time) no
DateDelivered string (date-time) yes
DateReceived string (date-time) yes
ReleaseQuantity number (double) no
ReceiptQuantity number (double) yes
QuantityShipped number (double) no
QuantityDelivered number (double) no
AdminLeadTime integer (int32) yes
ManufacturingLeadTime integer (int32) yes
VendorLeadTime integer (int32) yes
ShippingLeadTime integer (int32) yes
PlanningLeadTime integer (int32) yes
PutawayLeadTime integer (int32) yes
CalendarDaysReleaseDelay integer (int32) yes
CalendarDaysShipDelay integer (int32) yes
CalendarDaysDeliveryDelay integer (int32) yes
CalendarDaysShipDelayVsOriginal integer (int32) yes
CalendarDaysDeliveryDelayVsOriginal integer (int32) yes
CalendarDaysReceiptDelayVsOriginal integer (int32) yes
PercentComplete number (double) yes
OrderedVsShippedQuantity number (double) yes
DeliveredVsReceivedQuantity number (double) yes
ContainerNumber string yes
TrackingNumber string yes
SupplyType SupplyType no
ActivePutawayLeadTime integer (int32) yes
PlanningPadDays integer (int32) yes
SubtractPlanningPadFromErpDate boolean no
SubtractPutawayTimeFromErpDate boolean no
UserEditedReceiptDate boolean no
HasOrderSchedule boolean no
HasDeliverySchedule boolean no
ItemDescription string yes
PurchaseCost number (double) yes

ReceiptDetailDateFilter

Values: 0 = OrderCreationDate; 1 = ReceiptDate.
Enum values: 0, 1

ReceiptDetailPagedResult

The response envelope for a paged request: one page of data plus the navigation metadata a consumer needs to walk the full result set.
PropertyTypeNullableDescription
CurrentPage integer (int32) no
NextPage integer (int32) yes The page to request next, or null when StockIQ.Utils.Paging.PagedResult`1.CurrentPage is at (or past) the end. Consumers walk the data by re-sending the same request with `?page=NextPage` until null.
PreviousPage integer (int32) yes The page before StockIQ.Utils.Paging.PagedResult`1.CurrentPage, or null from page 1 (or when there is no data). Clamped to StockIQ.Utils.Paging.PagedResult`1.TotalPages so a request past the end points back at the last real page.
PageSize integer (int32) no
TotalPages integer (int32) no
TotalRecords integer (int32) no
Data ReceiptDetail[] yes

ReceiptPerformanceFrequency

PropertyTypeNullableDescription
DaysEarlyOrLate integer (int32) no
Count integer (int32) no

RefreshType

Values: 1 = Full; 2 = Partial; 4 = OnHand; 8 = Demand; 16 = Supply.
Enum values: 1, 2, 4, 8, 16

ReplenishmentOrderPolicy

Values: 0 = Unknown; 1 = LotForLot; 2 = OrderPoint; 4 = MinMax; 8 = BuyToOrder; 16 = BuildToOrder; 32 = FixedQuantity; 64 = DoNotOrder; 4096 = LineItemBuyToOrder; 8192 = SporadicSales; 16384 = Kanban.
Enum values: 0, 1, 2, 4, 8, 16, 32, 64, 4096, 8192, 16384

ResultType

Values: 0 = Unknown; 1 = Ok; 2 = Info; 4 = Warning; 8 = Error; 16 = Unchanged.
Enum values: 0, 1, 2, 4, 8, 16

SafetyStockSummary

PropertyTypeNullableDescription
AlertKeyId integer (int64) no
AlertType AlertType no
PrimaryId integer (int32) no
PrimaryIdProperty AlertPrimaryIdProperty no
SettingsDescription string yes
StatisticalSettingsDescription string yes
NetServiceLevel number (double) yes
DaysOnHand number (double) yes
ActiveSafetyStockDays number (double) yes
ActiveTargetStockDays number (double) yes
ActivePreferredMaxStockDays number (double) yes
ActiveMaxStockDays number (double) yes
ActiveReorderPointDays number (double) yes
StatisticalSafetyStockDays number (double) yes
PreferredStatisticalMaxStockDays number (double) yes
StatisticalMaxStockDays number (double) yes
StatisticalReorderPointDays number (double) yes
UnitsDelta number (double) yes
ValueDelta number (double) yes
UsageSource SafetyStockUsageSource no
SSHistoricalDailyUsage number (double) yes
SSForecastedDailyUsage number (double) yes
SSDailyUsageAtLeadTime number (double) yes
SSHistoricalMonthlyUsage number (double) yes
SSForecastedMonthlyUsage number (double) yes
SSMonthlyUsageAtLeadTime number (double) yes
ItemSiteMonthlyUsageAtLeadTime number (double) yes
ItemSiteId integer (int32) no
BuyerId integer (int32) yes
StandardCostCurrency string yes
ErpSafetyStock number (double) yes
ErpSafetyStockMeasure InventoryMeasure no
MaxCapacity integer (int32) yes
MaxCapacityUnitOfMeasure integer (int32) yes
ItemSiteErpNotes string yes
ShipperId integer (int32) yes
ItemId integer (int32) no
SiteId integer (int32) no
ItemCode string yes
ItemDescription string yes
SiteCode string yes
PrimarySupplierName string yes
PrimarySupplierId integer (int32) yes
ActiveSafetyStock number (double) no
ActiveTargetStock number (double) no
ActivePreferredMaxStock number (double) yes
ActiveMaxStock number (double) no
ActiveReorderPoint number (double) no
ActiveSafetyStockExpectedServiceLevel number (double) yes
OnHandQuantity number (double) no
StatisticalSafetyStock number (double) no
PreferredStatisticalMaxStock number (double) no
StatisticalMaxStock number (double) no
StatisticalReorderPoint number (double) no
ChosenSafetyStockMethod StatisticalSafetyStockSelectionMethod no
StandardSafetyStock number (double) yes
LargeRegularPullSafetyStock number (double) yes
DistributionBasedSafetyStock number (double) yes
RetrospectiveSafetyStock number (double) yes
CapacityConstrainedSafetyStock number (double) yes
MarginOptimizedSafetyStock number (double) yes
EffectiveErpSafetyStock number (double) yes
ErpSafetyStockBalance number (double) yes
ActiveSafetyStockBalance number (double) yes
ActiveTargetStockBalance number (double) yes
ActivePreferredMaxStockBalance number (double) yes
ActiveMaxStockBalance number (double) yes
ActiveReorderPointBalance number (double) yes
OnHandBalance number (double) no
StatisticalSafetyStockBalance number (double) yes
PreferredStatisticalMaxStockBalance number (double) yes
StatisticalMaxStockBalance number (double) yes
StatisticalReorderPointBalance number (double) yes
HistoricalIndependentDailyUsage number (double) no
HistoricalDependentDailyUsage number (double) no
ForecastedIndependentDailyUsage number (double) yes
ForecastedDependentDailyUsage number (double) yes
IndependentDailyUsageAtLeadTime number (double) yes
DependentDailyUsageAtLeadTime number (double) yes
ItemSiteHistoricalDailyUsage number (double) no
ItemSiteForecastedDailyUsage number (double) yes
ItemSiteDailyUsageAtLeadTime number (double) yes
TargetServiceLevel number (double) yes
ClassBasedTargetServiceLevel number (double) yes
MarginOptimizedTargetServiceLevel number (double) yes
ActivePlanningLeadTime integer (int32) yes
SafetyStockLeadTime integer (int32) no
CumulativeSafetyStockLeadTime integer (int32) yes
MinimumOrderQuantity integer (int32) no
OrderMultipleQuantity integer (int32) no
ActiveOrderPolicy ReplenishmentOrderPolicy no
ResolvedItemStatus ItemStatus no
UsagePattern integer (int32) no
BoMPosition integer (int32) yes
PriceTier integer (int32) no
AbcClass string yes
XyzClass string yes
ResolvedMaxCapacityInUnits number (double) yes
TypicalOrderQuantity number (double) yes
BuyerName string yes
ItemSiteCategory1Id integer (int32) yes
ItemSiteCategory2Id integer (int32) yes
ItemSiteCategory3Id integer (int32) yes
ItemSiteCategory4Id integer (int32) yes
ItemSiteCategory5Id integer (int32) yes
ItemSiteCategory6Id integer (int32) yes
ItemSiteCategory7Id integer (int32) yes
ItemSiteCategory8Id integer (int32) yes
ItemSiteCategory1Name string yes
ItemSiteCategory2Name string yes
ItemSiteCategory3Name string yes
ItemSiteCategory4Name string yes
ItemSiteCategory5Name string yes
ItemSiteCategory6Name string yes
ItemSiteCategory7Name string yes
ItemSiteCategory8Name string yes
AlertSummaryId integer (int32) no
AMsg string yes
DateCreated string (date-time) no
DateUpdated string (date-time) no
UpdatedByUserId integer (int32) yes
AssignedToUserId integer (int32) yes
ASt AlertState no
APri AlertPriority no
Rank integer (int32) yes
SuspendedByUserId integer (int32) yes
SuspendedByUserName string yes
DateSuspended string (date-time) yes
ReactivationDate string (date-time) yes
IsReactivateEnabled boolean yes
AlertNote string yes
AlertTypeName string yes
CustomerShipToCategory1Value string yes Virtual property to satisfy implementing IAlertDetail, specifically so that we can be able to tell the difference between item-site and item-site-CSC1 level alerts in alert tests in our tests.
CustomerShipToCategory2Value string yes
CustomerShipToCategory3Value string yes

SafetyStockUsageSource

Values: 0 = None; 1 = Independent; 2 = Dependent; 3 = Both.
Enum values: 0, 1, 2, 3

SalesOrderDetail

PropertyTypeNullableDescription
AlertKeyId integer (int64) no
AlertType AlertType no
PrimaryId integer (int32) no
PrimaryIdProperty AlertPrimaryIdProperty no
OpenQuantity number (double) no
OpenBalance number (double) yes
DueDate string (date-time) no
DaysUntilDue integer (int32) yes
AVL number (double) no
DaysUntilNextFulfillment integer (int32) yes
DaysUntilFullyFulfilled integer (int32) yes
CustomerShipToCategory1Id integer (int32) yes
CustomerShipToCategory2Id integer (int32) yes
CustomerShipToCategory3Id integer (int32) yes
IsLinkedToEvent boolean no
ShipperId integer (int32) yes
ItemId integer (int32) no
SiteId integer (int32) no
CustomerId integer (int32) no
ShipperCode string yes
ItemCode string yes
SiteCode string yes
CC string yes
CN string yes
CustomerShipToCode string yes
CSTN string yes
SalesOrderId integer (int32) no
DemandSeriesId integer (int32) no
OrderNumber string yes
LineNumber number (double) no
ItemSiteId integer (int32) no
CustomerShipToId integer (int32) no
DemandType DemandType no
LS LineStatus no
DemandDate string (date-time) no
RSD string (date-time) yes
RequiredDate string (date-time) yes
Quantity number (double) no
Cogs number (double) yes
Revenue number (double) yes
Margin number (double) yes
InvoicePrice number (double) yes
InvoicePriceCurrency string yes
InvoiceCost number (double) yes
InvoiceCostCurrency string yes
IsExceptional boolean yes
SupplyOrderLineId integer (int32) yes
Note string yes
DateUpdated string (date-time) no
DateOrdered string (date-time) yes
QuantityShipped number (double) yes
D string yes
BuyerId integer (int32) yes
BuyerCode string yes
BN string yes
ISC1 string yes
ISC2 string yes
ISC3 string yes
ISC4 string yes
ISC5 string yes
ISC6 string yes
ISC7 string yes
ISC8 string yes
IP integer (int32) no
UP integer (int32) no
OH number (double) no
TotalOnOrderQuantity number (double) yes
StateCode string yes
Abc string yes
XyzClass string yes
TotalOnHandQuantityOnDemandDate number (double) no
ErpN string yes
SiqN string yes
NextFulfillmentDate string (date-time) yes
DateFullyFulfilled string (date-time) yes
LastFulfillmentType SalesOrderFulfillmentType no
MappedFromItemSiteId integer (int32) yes
MappedFromItemCode string yes
MappedFromSiteCode string yes
ItemErpNotes string yes
ItemSiteErpNotes string yes
ItemSiteCategory1Id integer (int32) yes
ItemSiteCategory2Id integer (int32) yes
ItemSiteCategory3Id integer (int32) yes
ItemSiteCategory4Id integer (int32) yes
ItemSiteCategory5Id integer (int32) yes
ItemSiteCategory6Id integer (int32) yes
ItemSiteCategory7Id integer (int32) yes
ItemSiteCategory8Id integer (int32) yes
ActiveOrderPolicy ReplenishmentOrderPolicy no
ResolvedItemStatus ItemStatus no
PrimarySupplierName string yes
CustomerAbcClass string yes
CustomerUsagePattern integer (int32) yes
AlertSummaryId integer (int32) no
AMsg string yes
DateCreated string (date-time) no
UpdatedByUserId integer (int32) yes
AssignedToUserId integer (int32) yes
ASt AlertState no
APri AlertPriority no
Rank integer (int32) yes
SuspendedByUserId integer (int32) yes
SuspendedByUserName string yes
DateSuspended string (date-time) yes
ReactivationDate string (date-time) yes
IsReactivateEnabled boolean yes
AlertNote string yes
AlertTypeName string yes
CustomerShipToCategory1Value string yes Virtual property to satisfy implementing IAlertDetail, specifically so that we can be able to tell the difference between item-site and item-site-CSC1 level alerts in alert tests in our tests.
CustomerShipToCategory2Value string yes
CustomerShipToCategory3Value string yes

SalesOrderDetailFilters

Body for POST api/SalesOrderDetail/fetchby/salesOrderDetailFilters. Extends the date-range hierarchy filter set with the sales-order-specific dimensions the flat GET accepts.
PropertyTypeNullableDescription
OrderNumbers string[] yes Restrict to these sales order numbers.
CustomerShipToStateIds integer (int32)[] yes Restrict to customer ship-tos located in these state ids.
StartDate string (date-time) yes Earliest date included, inclusive. Omit for no lower bound.
EndDate string (date-time) yes Latest date included, inclusive. Omit for no upper bound.
YearNumbers integer (int32)[] yes Restrict to these calendar year numbers (e.g. 2026).
QuarterNumbers integer (int32)[] yes Restrict to these quarter numbers (1-4).
MonthNumbers integer (int32)[] yes Restrict to these month numbers (1-12).
SupplierItemCode string[] yes Restrict to items whose supplier item code contains one of these values (substring match).
ItemIds integer (int32)[] yes Restrict to these item ids.
ItemTagIds integer (int32)[] yes Restrict to items carrying any of these item tag ids.
SiteIds integer (int32)[] yes Restrict to these site ids.
CustomerShipToCategory1Ids integer (int32)[] yes Restrict to these customer ship-to category 1 ids.
CustomerShipToCategory2Ids integer (int32)[] yes Restrict to these customer ship-to category 2 ids.
CustomerShipToCategory3Ids integer (int32)[] yes Restrict to these customer ship-to category 3 ids.
CustomerIds integer (int32)[] yes Restrict to these customer ids.
CustomerShipToIds integer (int32)[] yes Restrict to these customer ship-to ids.
PrimarySupplierIds integer (int32)[] yes Restrict to item-sites whose primary supplier is one of these supplier ids.
BuyerIds integer (int32)[] yes Restrict to these buyer ids.
AbcClasses string[] yes Restrict to these ABC classes (e.g. A, B, C).
XyzClasses string[] yes Restrict to these XYZ classes.
OrderPolicies integer (int32)[] yes Restrict to item-sites using these replenishment order policies.
ItemStatuses integer (int32)[] yes Restrict to items with these item statuses.
ShipperIds integer (int32)[] yes Restrict to these shipper (owning company) ids.
ItemSiteCategory1Ids integer (int32)[] yes Restrict to these item-site category 1 ids.
ItemSiteCategory2Ids integer (int32)[] yes Restrict to these item-site category 2 ids.
ItemSiteCategory3Ids integer (int32)[] yes Restrict to these item-site category 3 ids.
ItemSiteCategory4Ids integer (int32)[] yes Restrict to these item-site category 4 ids.
ItemSiteCategory5Ids integer (int32)[] yes Restrict to these item-site category 5 ids.
ItemSiteCategory6Ids integer (int32)[] yes Restrict to these item-site category 6 ids.
ItemSiteCategory7Ids integer (int32)[] yes Restrict to these item-site category 7 ids.
ItemSiteCategory8Ids integer (int32)[] yes Restrict to these item-site category 8 ids.
ItemCodes string[] yes Restrict to items with these item codes. Codes are resolved server-side; any unknown code fails the request with a 400 listing it.
SiteCodes string[] yes Restrict to sites with these site codes. Unknown codes fail the request with a 400.
PrimarySupplierCodes string[] yes Restrict to item-sites whose primary supplier has one of these supplier codes. Unknown codes fail the request with a 400.
BuyerCodes string[] yes Restrict to buyers with these buyer codes. Unknown codes fail the request with a 400.
ShipperCodes string[] yes Restrict to shippers with these shipper codes. Unknown codes fail the request with a 400.
CustomerCodes string[] yes Restrict to customers with these customer codes. Unknown codes fail the request with a 400.
CustomerShipToCodes string[] yes Restrict to customer ship-tos with these ship-to codes. Unknown codes fail the request with a 400.
ItemSiteCategory1Codes string[] yes Restrict to item-site category 1 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory2Codes string[] yes Restrict to item-site category 2 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory3Codes string[] yes Restrict to item-site category 3 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory4Codes string[] yes Restrict to item-site category 4 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory5Codes string[] yes Restrict to item-site category 5 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory6Codes string[] yes Restrict to item-site category 6 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory7Codes string[] yes Restrict to item-site category 7 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory8Codes string[] yes Restrict to item-site category 8 entries with these codes. Unknown codes fail the request with a 400.

SalesOrderDetailPagedResult

The response envelope for a paged request: one page of data plus the navigation metadata a consumer needs to walk the full result set.
PropertyTypeNullableDescription
CurrentPage integer (int32) no
NextPage integer (int32) yes The page to request next, or null when StockIQ.Utils.Paging.PagedResult`1.CurrentPage is at (or past) the end. Consumers walk the data by re-sending the same request with `?page=NextPage` until null.
PreviousPage integer (int32) yes The page before StockIQ.Utils.Paging.PagedResult`1.CurrentPage, or null from page 1 (or when there is no data). Clamped to StockIQ.Utils.Paging.PagedResult`1.TotalPages so a request past the end points back at the last real page.
PageSize integer (int32) no
TotalPages integer (int32) no
TotalRecords integer (int32) no
Data SalesOrderDetail[] yes

SalesOrderFulfillmentType

Values: 1 = OnHand; 2 = ExistingSupplyOrder; 3 = AlternateSiteOnHand; 4 = NewSupplyOrder.
Enum values: 1, 2, 3, 4

SettingSource

Values: 1 = SystemDefault; 2 = User; 4 = Import; 8 = AutoCreated.
Enum values: 1, 2, 4, 8

SizeUnits

Values: 1 = Inches; 2 = Feet; 3 = Yards; 4 = Millimeters; 5 = Centimeters; 6 = Meters.
Enum values: 1, 2, 3, 4, 5, 6

StagingTableImportSettings

PropertyTypeNullableDescription
IsCritical boolean no
StagingTableImportSettingsId integer (int32) no
SchemaName string yes
TableName string yes
IsActive boolean no
MaxDays integer (int32) yes
DateFilterProperty string yes
Source SettingSource no
DateCreated string (date-time) no
DateUpdated string (date-time) no
CreatedByUserId integer (int32) no
UpdatedByUserId integer (int32) no
Note string yes

StatisticalSafetyStockSelectionMethod

Values: 1 = Auto; 2 = Lowest; 4 = Highest; 8 = Standard; 16 = LargeRegularPull; 32 = SporadicItem; 64 = Retrospective.
Enum values: 1, 2, 4, 8, 16, 32, 64

StockOutsDetail

PropertyTypeNullableDescription
AlertKeyId integer (int64) no
AlertType AlertType no
PrimaryId integer (int32) no
PrimaryIdProperty AlertPrimaryIdProperty no
NumberOfDaysHaveBeenOut integer (int32) yes
NumberOfTimesHaveBeenOut integer (int32) yes
NextSupplyOrderNumber string yes
NextSupplyDate string (date-time) yes
NextSupplyQuantity number (double) yes
DaysUntilNextSupply integer (int32) yes
NumberOfOpenSupplyOrders integer (int32) yes
ProjectedInStockDate string (date-time) yes
IsOutOfStockInSiteGroup boolean yes
ItemSiteId integer (int32) no
OutOfStockQuantity number (double) no
StandardCostCurrency string yes
ItemSiteNotes string yes
DateNoteUpdated string (date-time) yes
ItemSiteErpNotes string yes
ShipperId integer (int32) yes
ItemId integer (int32) no
SiteId integer (int32) no
PrimarySupplierId integer (int32) yes
ItemCode string yes
SiteCode string yes
SiteGroupName string yes
BuyerName string yes
ItemDescription string yes
ActiveOrderPolicy ReplenishmentOrderPolicy no
ResolvedItemStatus ItemStatus no
ActiveSafetyStock number (double) no
AbcClass string yes
XyzClass string yes
CurrentCost number (double) no
StandardCost number (double) no
StandardPrice number (double) no
StandardPriceCurrency string yes
PrimarySupplierName string yes
TargetServiceLevel number (double) yes
LeadTime integer (int32) yes
LastDateInStock string (date-time) yes
LastDateAvailable string (date-time) yes
NumberOfOpenSupplies integer (int32) yes
NextErpOrderNumber string yes
LastOrderedDate string (date-time) yes
LastReceiptDate string (date-time) yes
TotalOnHandQuantity number (double) no
TotalAvailableQuantity number (double) yes
TotalAvailableQuantityAtLeadTime number (double) yes
TotalOnOrderQuantity number (double) yes
TotalHistoricalDailyUsage number (double) no
InventoryPosition integer (int32) no
LostRevenuePerDay number (double) yes
TotalOnDemandOrderQuantity number (double) no
TotalOnDemandValue number (double) no
ItemSiteCategory1Name string yes
ItemSiteCategory2Name string yes
ItemSiteCategory3Name string yes
ItemSiteCategory4Name string yes
ItemSiteCategory5Name string yes
ItemSiteCategory6Name string yes
ItemSiteCategory7Name string yes
ItemSiteCategory8Name string yes
SiteGroupInventoryPosition InventoryPosition no
SiteGroupUsagePattern integer (int32) no
SiteGroupOnHandQuantity number (double) no
SiteGroupAvailableQuantity number (double) yes
ReplacementFlags integer (int32) no
IsOnHandCopied boolean no
ItemSiteCategory1Id integer (int32) yes
ItemSiteCategory2Id integer (int32) yes
ItemSiteCategory3Id integer (int32) yes
ItemSiteCategory4Id integer (int32) yes
ItemSiteCategory5Id integer (int32) yes
ItemSiteCategory6Id integer (int32) yes
ItemSiteCategory7Id integer (int32) yes
ItemSiteCategory8Id integer (int32) yes
BuyerId integer (int32) yes
BoMPosition integer (int32) yes
SupplierItemCode string yes
CountryOfOrigin string yes
AlertSummaryId integer (int32) no
AMsg string yes
DateCreated string (date-time) no
DateUpdated string (date-time) no
UpdatedByUserId integer (int32) yes
AssignedToUserId integer (int32) yes
ASt AlertState no
APri AlertPriority no
Rank integer (int32) yes
SuspendedByUserId integer (int32) yes
SuspendedByUserName string yes
DateSuspended string (date-time) yes
ReactivationDate string (date-time) yes
IsReactivateEnabled boolean yes
AlertNote string yes
AlertTypeName string yes
CustomerShipToCategory1Value string yes Virtual property to satisfy implementing IAlertDetail, specifically so that we can be able to tell the difference between item-site and item-site-CSC1 level alerts in alert tests in our tests.
CustomerShipToCategory2Value string yes
CustomerShipToCategory3Value string yes

SubstituteAction

Values: 0 = None; 1 = Substitute; 2 = Remove; 4 = Reduce.
Enum values: 0, 1, 2, 4

SubstituteOrderLine

PropertyTypeNullableDescription
SubstituteType SubstituteType no
ItemId integer (int32) no
SiteId integer (int32) no
ItemSiteId integer (int32) no
ItemCode string yes
SiteCode string yes
SiteName string yes
ItemDescription string yes
QuantityFound number (double) no
MultipleAdjustedQuantityFound number (double) no
QuantityType AlternateOrderTargetQuantity no
SubstituteAction SubstituteAction no
IsComplete boolean no
IsVendorSubstituteWithNoOnHandData boolean no
IsRecommended boolean no
TotalOnHandQuantity number (double) yes
ReplacedOnHandQuantity number (double) yes
TotalAvailableQuantity number (double) yes
CurrentExcessQuantity number (double) yes
TotalDailyUsageAtLeadTime number (double) yes
ActiveOrderPolicy ReplenishmentOrderPolicy no
UsagePattern UsagePattern no
InventoryPosition InventoryPosition no
ActiveSafetyStock number (double) yes
CurrentDaysOfSupply number (double) yes
ItemSiteSupplierId integer (int32) yes
IntersiteLeadTimeId integer (int32) yes
SupplierItemCategoryId integer (int32) yes
SupplierId integer (int32) yes
SupplierCode string yes
SupplierName string yes
ReleaseQuantity number (double) yes
MinimumOrderQuantity integer (int32) yes
OrderMultipleQuantity integer (int32) yes
SupplierCost number (double) yes
ActivePlanningLeadTime integer (int32) yes
ActiveShippingLeadTime integer (int32) yes
SystemComment string yes
ActiveSupplierLevel integer (int32) yes
ErpOrderNumber string yes
OrderCreationDate string (date-time) yes
ReleaseDate string (date-time) yes
ExpectedShipDate string (date-time) yes
ItemSiteCategory1Name string yes
ItemSiteCategory2Name string yes
ItemSiteCategory3Name string yes
ItemSiteCategory4Name string yes
ItemSiteCategory5Name string yes
ItemSiteCategory6Name string yes
ItemSiteCategory7Name string yes
ItemSiteCategory8Name string yes

SubstituteType

Values: 0 = None; 1 = Self; 2 = Site; 4 = Part; 8 = Replacement; 16 = Vendor; 32 = UnshippedOrder.
Enum values: 0, 1, 2, 4, 8, 16, 32

SupplierReceiptPerformanceOverview

PropertyTypeNullableDescription
CalendarDaysReceiptDelay integer (int32) yes
NumberOfPerfectLines integer (int32) no
NumberOfPerfectOrders integer (int32) no
LineServiceLevel number (double) yes
OrderServiceLevel number (double) yes
EarlyCount integer (int32) no
OnTimeCount integer (int32) no
LateCount integer (int32) no
UnknownCount integer (int32) no
TotalCount integer (int32) no
PercentEarly number (double) no
PercentOnTime number (double) no
PercentLate number (double) no
SupplierId integer (int32) no
SupplierCode string yes
SupplierName string yes
OrderCount integer (int32) yes
OrderLineCount integer (int32) yes
ReceiptCount integer (int32) yes
CompleteCount integer (int32) yes
UnderCount integer (int32) yes
OverCount integer (int32) yes
AdminLeadTime integer (int32) yes
ManufacturingLeadTime integer (int32) yes
VendorLeadTime integer (int32) yes
ShippingLeadTime integer (int32) yes
PlanningLeadTime integer (int32) yes
PutawayLeadTime integer (int32) yes
CalendarDaysReleaseDelay integer (int32) yes
CalendarDaysShipDelay integer (int32) yes
CalendarDaysDeliveryDelay integer (int32) yes
CalendarDaysShipDelayVsOriginal integer (int32) yes
CalendarDaysDeliveryDelayVsOriginal integer (int32) yes
CalendarDaysReceiptDelayVsOriginal integer (int32) yes

SupplyOrderDateRangeItemSiteFilters

PropertyTypeNullableDescription
StockIQOrderNumbers string[] yes Restrict to these StockIQ-assigned order numbers.
ErpOrderNumbers string[] yes Restrict to these ERP order numbers.
SupplyTypes SupplyType[] yes Restrict to these supply types.
ErpLineStatuses LineStatus[] yes Restrict to orders with at least one line in these ERP line statuses.
StockIqStatuses OrderLineStatus[] yes Restrict to orders with at least one line in these StockIQ line statuses.
SyncStatuses SupplyOrderSyncStatus[] yes Restrict to orders in these ERP synchronization statuses.
CreatedBySystem boolean[] yes Restrict by origin: true for StockIQ-created orders, false for ERP-imported orders.
StartDate string (date-time) yes Earliest date included, inclusive. Omit for no lower bound.
EndDate string (date-time) yes Latest date included, inclusive. Omit for no upper bound.
YearNumbers integer (int32)[] yes Restrict to these calendar year numbers (e.g. 2026).
QuarterNumbers integer (int32)[] yes Restrict to these quarter numbers (1-4).
MonthNumbers integer (int32)[] yes Restrict to these month numbers (1-12).
ItemIds integer (int32)[] yes Restrict to these item ids.
SiteIds integer (int32)[] yes Restrict to these site ids.
PrimarySupplierIds integer (int32)[] yes Restrict to item-sites whose primary supplier is one of these supplier ids.
BuyerIds integer (int32)[] yes Restrict to these buyer ids.
AbcClasses string[] yes Restrict to these ABC classes (e.g. A, B, C).
XyzClasses string[] yes Restrict to these XYZ classes.
OrderPolicies ReplenishmentOrderPolicy[] yes Restrict to item-sites using these replenishment order policies.
ItemStatuses ItemStatus[] yes Restrict to items with these item statuses.
ShipperIds integer (int32)[] yes Restrict to these shipper (owning company) ids.
BoMPositions integer (int32)[] yes Restrict to items at these bill-of-material positions.
ItemTagIds integer (int32)[] yes Restrict to items carrying any of these item tag ids.
SupplierItemCode string[] yes Restrict by supplier item code (exact match). On item-site level endpoints this matches the primary supplier's item code; on supplier-relationship level endpoints (receipts, lead times) it matches the code on the returned relationship.
ItemSiteCategory1Ids integer (int32)[] yes Restrict to these item-site category 1 ids.
ItemSiteCategory2Ids integer (int32)[] yes Restrict to these item-site category 2 ids.
ItemSiteCategory3Ids integer (int32)[] yes Restrict to these item-site category 3 ids.
ItemSiteCategory4Ids integer (int32)[] yes Restrict to these item-site category 4 ids.
ItemSiteCategory5Ids integer (int32)[] yes Restrict to these item-site category 5 ids.
ItemSiteCategory6Ids integer (int32)[] yes Restrict to these item-site category 6 ids.
ItemSiteCategory7Ids integer (int32)[] yes Restrict to these item-site category 7 ids.
ItemSiteCategory8Ids integer (int32)[] yes Restrict to these item-site category 8 ids.
ItemCodes string[] yes Restrict to items with these item codes. Codes are resolved server-side; any unknown code fails the request with a 400 listing it.
SiteCodes string[] yes Restrict to sites with these site codes. Unknown codes fail the request with a 400.
PrimarySupplierCodes string[] yes Restrict to item-sites whose primary supplier has one of these supplier codes. Unknown codes fail the request with a 400.
BuyerCodes string[] yes Restrict to buyers with these buyer codes. Unknown codes fail the request with a 400.
ShipperCodes string[] yes Restrict to shippers with these shipper codes. Unknown codes fail the request with a 400.
ItemSiteCategory1Codes string[] yes Restrict to item-site category 1 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory2Codes string[] yes Restrict to item-site category 2 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory3Codes string[] yes Restrict to item-site category 3 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory4Codes string[] yes Restrict to item-site category 4 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory5Codes string[] yes Restrict to item-site category 5 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory6Codes string[] yes Restrict to item-site category 6 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory7Codes string[] yes Restrict to item-site category 7 entries with these codes. Unknown codes fail the request with a 400.
ItemSiteCategory8Codes string[] yes Restrict to item-site category 8 entries with these codes. Unknown codes fail the request with a 400.

SupplyOrderDetail

PropertyTypeNullableDescription
SupplyOrderId integer (int32) no
SupplyOrderSetId integer (int32) no
ErpOrderNumber string yes
StockIqOrderNumber string yes
SyncStatus integer (int32) no
SupplierId integer (int32) no
OriginalSupplierId integer (int32) no
SupplyType integer (int32) no
OrderCreationDate string (date-time) yes
ReleaseDate string (date-time) yes
ExpectedReleaseDate string (date-time) yes
InternalNote string yes
ExternalNote string yes
PaymentTermsId integer (int32) yes
CashDiscountId integer (int32) yes
ShippingMethodId integer (int32) yes
IsDropship boolean no
ReviewUserId integer (int32) yes
DateCreated string (date-time) no
DateUpdated string (date-time) no
IsStockIqOrder boolean no
SiteCode string yes
SupplierCode string yes
SupplierName string yes
PaymentTermsCode string yes
CashDiscountCode string yes
ShippingMethodCode string yes
ShippingMethodName string yes
LineCount integer (int32) yes
LinePurchaseCost number (double) yes
CreatedByUserId integer (int32) yes
CreatedByUserName string yes
TotalSupplyOrderWeight number (double) yes
TotalSupplyOrderCubes number (double) yes
TotalSupplyOrderPallets number (double) yes
TotalSupplyOrderEquivalencyUnits number (double) yes

SupplyOrderDetailPagedResult

The response envelope for a paged request: one page of data plus the navigation metadata a consumer needs to walk the full result set.
PropertyTypeNullableDescription
CurrentPage integer (int32) no
NextPage integer (int32) yes The page to request next, or null when StockIQ.Utils.Paging.PagedResult`1.CurrentPage is at (or past) the end. Consumers walk the data by re-sending the same request with `?page=NextPage` until null.
PreviousPage integer (int32) yes The page before StockIQ.Utils.Paging.PagedResult`1.CurrentPage, or null from page 1 (or when there is no data). Clamped to StockIQ.Utils.Paging.PagedResult`1.TotalPages so a request past the end points back at the last real page.
PageSize integer (int32) no
TotalPages integer (int32) no
TotalRecords integer (int32) no
Data SupplyOrderDetail[] yes

SupplyOrderLineDetail

PropertyTypeNullableDescription
AlertKeyId integer (int64) no
AlertType AlertType no
PrimaryId integer (int32) no
PrimaryIdProperty AlertPrimaryIdProperty no
PrimarySupplierName string yes
Guid string yes
ErrorMessages OrderLineErrorMessage[] yes
SubstituteOrderLines SubstituteOrderLine[] yes
BlanketPurchaseOrderLines BlanketPurchaseOrderLineDetail[] yes
LeadTimeMessages string[] yes
DaysUntilDue integer (int32) no
SiteWorkDaysPerYear integer (int32) no
ShipWindowDate string (date-time) yes
MergePlannedReceiptDateWindow string (date-time) yes
NumberByExpectedShipDateWindow string (date-time) yes
NumberByPlannedReceiptDateWindow string (date-time) yes
IsInOrder boolean no
IsFromSubstitute boolean no
IsEditingAllowed boolean no
HasHigherMultiples boolean no
IsUnderMinOrderQuantity boolean no
IsUnderMoqTarget boolean no
IsOverMaxOrderQuantity boolean no
ViolatesOrderMultipleQuantity boolean no
SubstitutesCount integer (int32) no
RecommendedSubstitutesCount integer (int32) no
IsOverWarehouseProjectedAvailableToTransfer boolean no
IsOverWarehouseAvailableToTransfer boolean no
IsOverWarehouseOnHandToTransfer boolean no
IsOverWarehouseExcessToTransfer boolean no
HasTransferQuantityProblem boolean no
HasSupplierQuantityProblem boolean no
IsUnderSupplierItemMinimum boolean yes
IsShippingFromBlanketPurchaseOrderOnHand boolean no
OverWarehouseCapacityByOnHand boolean no if they order this much, will they be over capacity when comparing vs current on hand?
OverWarehouseCapacityByAvailableQuantity boolean no If they order this much, will they be over capacity when comparing vs current available?
OverWarehouseCapacityByProjectedAvailable boolean no
HasWarehouseCapacityProblem boolean no
HasBlanketOrderQuantityProblem boolean no
IsPlanAtRisk boolean no
HasPlannedReceiptDateProblem boolean no
HasExpectedShipDateProblem boolean no
IsCoverageBuy boolean no
OrderedToday number (double) no
AllWarehousesOnOrderQuantity number (double) no
PurchaseQuantity number (double) yes
PurchaseQuantityCost number (double) yes
PercentOfReleaseReceived number (double) no How much of our originally released quantity have we received
OrderDaysOfSupply number (double) yes
ProjectedDaysOfSupplyOnArrival number (double) yes
ProjectedOnHandQuantity number (double) yes how many will we have when this arrives a lead time from today?
ProjectedDaysCycleStockOnArrival number (double) yes Projected days of cycle stock on arrival INCLUDING the proposed release quantity
ProjectedDaysOfSupply number (double) yes
ProjectedDaysOfCycleStock number (double) yes
ProjectedActualAvailableOnHandBalance number (double) yes
ExpectedReceiptDate string (date-time) no
LineSupplierCost number (double) yes
LinePurchaseCost number (double) yes
LineWeight number (double) yes
LineCubes number (double) yes
LinePallets number (double) yes
LineEquivalencyUnits number (double) yes
TotalOnDemandQuantity number (double) no
AtRiskQuantity number (double) yes
PlanState PlanState no
InventoryPositionAtLeadTime InventoryPosition no
UnitCubes number (double) yes
LineUnits number (double) no
ContainerPercentUsage number (double) yes
HistoricalMonthlyUsage number (double) yes
ForecastedMonthlyUsage number (double) yes
MonthlyUsageAtLeadTime number (double) yes
LastYearActuals number (double) yes
ThreeMonthsAgoActuals number (double) yes
TwoMonthsAgoActuals number (double) yes
LastMonthActuals number (double) yes
PeriodToDateActuals number (double) yes
CurrentPeriodForecastQuantity number (double) yes
PeriodToDatePercentOfForecast number (double) yes
NextExpectedShipDate string (date-time) yes
NextExpectedDockDate string (date-time) yes
NextPlannedReceiptDate string (date-time) yes
NextErpOrderNumber string yes
WarehouseLocationId integer (int32) yes
WarehouseLocationCode string yes
WarehouseZone string yes
QuantityReceived number (double) no
InTransitQuantity number (double) yes
InTransitDollars number (double) yes
UnconsumedAvailableAndOrderQuantity number (double) no
UnconsumedDaysOfSupply number (double) yes
MoqRatio number (double) yes
MaxCapacity number (double) yes
MaxCapacityUnitOfMeasure InventoryMeasure no
ResolvedMaxCapacityInUnits number (double) yes
DaysUntilNextCostChange integer (int32) yes
NextSupplierCostChangePercent number (double) yes
RawFirmReleaseQuantity number (double) no
RemainingBlanketPoQuantity number (double) yes
CurrentExcessThreshold number (double) no
ProjectedAvailableAtLeadTimeWithoutOrderSuggestion number (double) yes
Margin number (double) yes
UnitFreightCost number (double) yes
LineFreightCost number (double) yes
LandedCost number (double) no
LineLandedCost number (double) yes
LandedMargin number (double) yes
AdjustedMargin number (double) yes
ItemTagAssignments ItemTagAssignmentDetail[] yes
CurrentZonePercentUsage number (double) yes
ProjectedZonePercentUsage number (double) yes
IntegrationConfigurationId integer (int32) no
ErpOrderNumber string yes
StockIqOrderNumber string yes
SupplyType SupplyType no
ShipperId integer (int32) yes
ItemId integer (int32) no
SiteId integer (int32) no
ItemSiteSupplierId integer (int32) no
SupplierId integer (int32) no
SupplierItemCategoryId integer (int32) yes
SupplierLocationId integer (int32) yes
BuyerId integer (int32) yes
ItemSiteCategory1Id integer (int32) yes
ItemSiteCategory2Id integer (int32) yes
ItemSiteCategory3Id integer (int32) yes
ItemSiteCategory4Id integer (int32) yes
ItemSiteCategory5Id integer (int32) yes
ItemSiteCategory6Id integer (int32) yes
ItemSiteCategory7Id integer (int32) yes
ItemSiteCategory8Id integer (int32) yes
ShipperCode string yes
ItemCode string yes
SiteCode string yes
SupplierCode string yes
BuyerCode string yes
BuyerName string yes
SupplierName string yes
SupplierItemCategoryName string yes
SupplierLocationName string yes
ItemSiteCategory1Name string yes
ItemSiteCategory2Name string yes
ItemSiteCategory3Name string yes
ItemSiteCategory4Name string yes
ItemSiteCategory5Name string yes
ItemSiteCategory6Name string yes
ItemSiteCategory7Name string yes
ItemSiteCategory8Name string yes
ItemDescription string yes
SupplierItemCode string yes
SupplierOnHand number (double) yes
ActiveSupplierLevel integer (int32) no
ProjectedOutOfStockDate string (date-time) yes
OldestUnfulfilledFirmDemandDate string (date-time) yes
LastUsedDate string (date-time) yes
LastDateInStock string (date-time) yes
ItemSiteNotes string yes
DateNoteUpdated string (date-time) yes
HubCount integer (int32) yes
CreatedByUserId integer (int32) yes
IsStockIqOrder boolean no
DateCreated string (date-time) no
SupplyOrderSetId integer (int32) no
SupplyOrderLineId integer (int32) no
SupplyOrderId integer (int32) no
ContainerNumber string yes
ReleaseNumber integer (int32) yes
StockIqLineNumber number (double) yes
ErpLineNumber number (double) yes
ItemSiteId integer (int32) no
StockIqStatus OrderLineStatus no
ErpLineStatus LineStatus no
ReleaseQuantity number (double) no
RemainingReleaseQuantity number (double) no
QuantityShipped number (double) yes
PurchaseCost number (double) no
PurchaseCostCurrency string yes
PurchaseCostExponent integer (int32) yes
ExpectedShipDate string (date-time) yes
ExpectedDockDate string (date-time) no
PlannedReceiptDate string (date-time) no
InternalLineComment string yes
ExternalLineComment string yes
ReceiptQuantity number (double) yes
RemainingReceiptQuantity number (double) yes
SystemLineComment string yes
StockIqSuggestedReleaseQuantity number (double) yes
RawReleaseQuantity number (double) yes
ReleaseQuantityBeforePricebreakModifications number (double) yes
CoverageDaysMode DaysCoverageMode no
CoverageDate string (date-time) yes
CoverageExtendToNextScheduleDate boolean yes
SupplierCost number (double) no
SupplierCostCurrency string yes
StandardPrice number (double) no
StandardPriceCurrency string yes
ConfirmedByUserId integer (int32) yes
ApprovedByUserId integer (int32) yes
OriginalReleaseQuantity number (double) yes
OriginalReceiptQuantity number (double) yes
OriginalExpectedShipDate string (date-time) yes
OriginalExpectedDockDate string (date-time) no
OriginalExpectedReceiptDate string (date-time) yes
OriginalPlannedReceiptDate string (date-time) yes
AbcClass string yes
XyzClass string yes
UnitOfMeasure string yes
PurchaseUnitOfMeasure string yes
StockingUnitsPerPurchaseUnits number (double) yes
MinimumOrderQuantity integer (int32) yes
OrderMultipleQuantity integer (int32) yes
MaxOrderQuantity integer (int32) yes
TotalOnHandQuantity number (double) yes
ReplacedOnHandQuantity number (double) yes
TotalOnOrderQuantity number (double) yes
TotalInTransitQuantity number (double) yes
TotalOnDemandOrderQuantity number (double) yes
TotalAvailableQuantity number (double) yes
TotalAvailableQuantityAtLeadTime number (double) yes
HistoricalDailyUsage number (double) yes
ForecastedDailyUsage number (double) yes
DailyUsageAtLeadTime number (double) yes
ProjectedActualAvailableAtLeadTime number (double) yes
ProjectedFirmsOnlyAtLeadTime number (double) yes
Eoq number (double) yes
PercentHoldingCost number (double) yes
HoldingCost number (double) yes
EstimatedCostOfOrdering number (double) yes
EstimatedReceivingCost number (double) yes
ActiveOrderCycle integer (int32) yes
ActivePanicPoint number (double) yes
ActiveSafetyStock number (double) yes
ActiveTargetStock number (double) no
ActivePreferredMaxStock number (double) yes
ActiveMaxStock number (double) yes
ActiveOrderPolicy ReplenishmentOrderPolicy no
ActiveOrderPolicyFixedQuantity number (double) yes
ActiveOrderPolicyMinMaxTargetQuantity number (double) yes
ActiveKanbanBinCount integer (int32) yes
ActiveKanbanQuantityPerBin integer (int32) yes
SourceWarehouseOnHandToTransfer number (double) yes
SourceWarehouseAvailableToTransfer number (double) yes
SourceWarehouseProjectedAvailableToTransfer number (double) yes
SourceWarehouseExcessToTransfer number (double) yes
SourceWarehouseAvailableToBuild number (double) yes
SourceWarehouseAvailableToPromise number (double) yes
TotalOnHandToTransfer number (double) yes
TotalAvailableToTransfer number (double) yes
TotalProjectedAvailableToTransfer number (double) yes
TotalExcessToTransfer number (double) yes
AvailableToBuild number (double) yes
TotalAvailableToPromise number (double) yes
AlternatesFlags SubstituteType no
ShelfLifeDays integer (int32) yes
CurrentExcess number (double) yes
InventoryPosition InventoryPosition no
UsagePattern UsagePattern no
YieldPercentage number (double) yes
NextSupplierCost number (double) yes
NextSupplierCostDate string (date-time) yes
ActivePlanningLeadTime integer (int32) yes
ActiveAdminLeadTime integer (int32) yes
ActiveManufacturingLeadTime integer (int32) yes
ActiveShippingLeadTime integer (int32) yes
ActiveExpeditedShippingLeadTime integer (int32) yes
ActivePutawayLeadTime integer (int32) yes
PlanningPadDays integer (int32) yes
SubtractPlanningPadFromErpDate boolean no
SubtractPutawayTimeFromErpDate boolean no
UserEditedReleaseQuantity boolean no
UserEditedReceiptDate boolean no
UserEditedShipDate boolean no
PurchaseCostStatus PurchaseCostStatus no
HasOrderSchedule boolean no
HasDeliverySchedule boolean no
HasShipmentSchedule boolean no
DateUpdated string (date-time) no
MergedFromSupplyOrderLineId integer (int32) yes
MergedByUserId integer (int32) yes
IsUsingExpeditedShippingLeadTime boolean no
IsShippingFromSupplierOnHand boolean no
OrderCreationDate string (date-time) yes
ReleaseDate string (date-time) yes
ExpectedReleaseDate string (date-time) yes
Upc string yes
UnitWeight number (double) yes
WeightUnits integer (int32) yes
UnitLength number (double) yes
UnitWidth number (double) yes
UnitHeight number (double) yes
SizeUnits SizeUnits no
UnitsPerPallet number (double) yes
EquivalencyUnits number (double) yes
ItemErpNotes string yes
DateObsolete string (date-time) yes
OutOfStockQuantity number (double) no
ItemSiteErpNotes string yes
WarehouseZoneId integer (int32) yes
WarehouseZoneCode string yes
SalesOrderId integer (int32) yes
SalesOrderNumber string yes
SalesOrderLineNumber number (double) no
BlanketPurchaseOrderLineId integer (int32) yes
ErpBlanketOrderNumber string yes
StockIqBlanketOrderNumber string yes
ErpBlanketOrderLineNumber number (double) yes
StockIqBlanketOrderLineNumber number (double) yes
CreatedByUserName string yes
PrimarySupplierId integer (int32) yes
ResolvedItemStatus ItemStatus no
BoMPosition BoMPosition no
PriceTier integer (int32) no
Removed boolean no
IsActive boolean no
ResolvedQuantityShipped number (double) yes
SiteGroupId integer (int32) no
SiteGroupName string yes
SiteGroupInventoryPosition InventoryPosition no
SiteGroupOnHandQuantity number (double) yes
SiteGroupAvailableQuantity number (double) yes
CountryOfOrigin string yes
ImportTaxPercent number (double) yes
ImportTaxCost number (double) yes
AlertSummaryId integer (int32) no
AMsg string yes
UpdatedByUserId integer (int32) yes
AssignedToUserId integer (int32) yes
ASt AlertState no
APri AlertPriority no
Rank integer (int32) yes
SuspendedByUserId integer (int32) yes
SuspendedByUserName string yes
DateSuspended string (date-time) yes
ReactivationDate string (date-time) yes
IsReactivateEnabled boolean yes
AlertNote string yes
AlertTypeName string yes
CustomerShipToCategory1Value string yes Virtual property to satisfy implementing IAlertDetail, specifically so that we can be able to tell the difference between item-site and item-site-CSC1 level alerts in alert tests in our tests.
CustomerShipToCategory2Value string yes
CustomerShipToCategory3Value string yes

SupplyOrderLineDetailPagedResult

The response envelope for a paged request: one page of data plus the navigation metadata a consumer needs to walk the full result set.
PropertyTypeNullableDescription
CurrentPage integer (int32) no
NextPage integer (int32) yes The page to request next, or null when StockIQ.Utils.Paging.PagedResult`1.CurrentPage is at (or past) the end. Consumers walk the data by re-sending the same request with `?page=NextPage` until null.
PreviousPage integer (int32) yes The page before StockIQ.Utils.Paging.PagedResult`1.CurrentPage, or null from page 1 (or when there is no data). Clamped to StockIQ.Utils.Paging.PagedResult`1.TotalPages so a request past the end points back at the last real page.
PageSize integer (int32) no
TotalPages integer (int32) no
TotalRecords integer (int32) no
Data SupplyOrderLineDetail[] yes

SupplyOrderSyncStatus

Values: 1 = NeedsInitialSync; 2 = Sent; 4 = Synced; 8 = NeedsReSync; 16 = NotApplicable.
Enum values: 1, 2, 4, 8, 16

SupplyType

Values: 0 = None; 1 = ReplenishmentPO; 4 = DropShipPO; 7 = PO; 8 = TransferOrder; 16 = WorkOrder.
Enum values: 0, 1, 4, 7, 8, 16

SystemStatus

PropertyTypeNullableDescription
SystemStatusId integer (int32) no
StatusFlag SystemStatusFlag no
CalculateStep string yes
LastUpdated string (date-time) no
LastUpdatedBy string yes

SystemStatusFlag

Values: 0 = NewlyInstalled; 1 = Ready; 2 = RunningExtracts; 4 = ExtractsCompleted; 8 = RunningImports; 16 = ImportsCompleted; 32 = UpdatingDatabase; 64 = DatabaseUpdated; 128 = RunningCalculations; 256 = CalculationsComplete; 512 = RefreshPending; 1024 = CancelRefreshRequested; 2048 = RefreshCanceled; 4096 = ExtractError; 8192 = ImportError; 16384 = DatabaseUpdateError; 32768 = DataRefreshError; 65536 = SystemMaintenancePending; 131072 = SystemMaintenanceInProgress.
Enum values: 0, 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072

TimeInterval

Values: 0 = None; 1 = Daily; 2 = Weekly; 4 = Monthly; 8 = Quarterly; 16 = SemiAnnually; 32 = Yearly.
Enum values: 0, 1, 2, 4, 8, 16, 32

TimeSeriesUnitOfMeasure

Values: 1 = Units; 2 = Cogs; 4 = Revenue; 8 = Margin.
Enum values: 1, 2, 4, 8

UnderforecastedPeriodDetail

PropertyTypeNullableDescription
AlertKeyId integer (int64) no
AlertType AlertType no
PrimaryId integer (int32) no
PrimaryIdProperty AlertPrimaryIdProperty no
ForecastErrorPercent number (double) yes
StatisticalErrorPercent number (double) yes
UnderforecastRevenueVariance number (double) no
LevelName string yes
ItemTagAssignments ItemTagAssignmentDetail[] yes
NodeLevel integer (int32) no
HierarchyProperty HierarchyProperty no
ShipperId integer (int32) yes
SiteId integer (int32) no
ItemId integer (int32) no
BuyerId integer (int32) yes
PrimarySupplierId integer (int32) yes
CustomerShipToCategory1Id integer (int32) yes
CustomerShipToCategory2Id integer (int32) yes
CustomerShipToCategory3Id integer (int32) yes
CustomerId integer (int32) no
CustomerShipToId integer (int32) no
ItemSiteCategory1Id integer (int32) yes
ItemSiteCategory2Id integer (int32) yes
ItemSiteCategory3Id integer (int32) yes
ItemSiteCategory4Id integer (int32) yes
ItemSiteCategory5Id integer (int32) yes
ItemSiteCategory6Id integer (int32) yes
ItemSiteCategory7Id integer (int32) yes
ItemSiteCategory8Id integer (int32) yes
ItemSiteId integer (int32) no
DemandForecastSeriesName string yes
NodeValue string yes
HierarchyNodeId integer (int32) no
DemandForecastSeriesId integer (int32) no
PeriodDate string (date-time) no
Interval TimeInterval no
ForecastQuantity number (double) no
ToleranceUpperBound number (double) no
StatisticalForecastQuantity number (double) no
ForecastAverageQuantity number (double) no
StatisticalAverageQuantity number (double) no
ForecastRevenue number (double) no
ForecastCogs number (double) no
StatisticalForecastRevenue number (double) no
AverageForecastErrorPercent number (double) yes
AverageStatisticalErrorPercent number (double) yes
AverageForecastErrorUnits number (double) yes
AverageStatisticalErrorUnits number (double) yes
PeriodTotalQuantitySold number (double) no
PeriodTotalRevenue number (double) no
PeriodTotalCogs number (double) no
PercentThroughPeriod number (double) no
PercentOfDemandExpected number (double) no
ProjectedPeriodTotalQuantitySold number (double) no
ProjectedPeriodTotalRevenue number (double) no
ProjectedPeriodTotalCogs number (double) no
ForecastErrorUnits number (double) no
ForecastErrorDollars number (double) no
StatisticalErrorUnits number (double) no
StatisticalErrorDollars number (double) no
UsagePattern UsagePattern no
IsAutoForecasted boolean no
ProjectedOutOfStockDate string (date-time) yes
NextOrderDockDate string (date-time) yes
ProjectedInventoryPosition InventoryPosition no
ShipperName string yes
ItemCode string yes
ItemDescription string yes
SiteCode string yes
CustomerShipToCategory1Value string yes
CustomerShipToCategory2Value string yes
CustomerShipToCategory3Value string yes
CustomerName string yes
CustomerShipToName string yes
ItemSiteCategory1Name string yes
ItemSiteCategory2Name string yes
ItemSiteCategory3Name string yes
ItemSiteCategory4Name string yes
ItemSiteCategory5Name string yes
ItemSiteCategory6Name string yes
ItemSiteCategory7Name string yes
ItemSiteCategory8Name string yes
AbcClass string yes
XyzClass string yes
BuyerName string yes
PrimarySupplierName string yes
ActiveOrderPolicy ReplenishmentOrderPolicy no
ResolvedItemStatus ItemStatus no
AlertSummaryId integer (int32) no
AMsg string yes
DateCreated string (date-time) no
DateUpdated string (date-time) no
UpdatedByUserId integer (int32) yes
AssignedToUserId integer (int32) yes
ASt AlertState no
APri AlertPriority no
Rank integer (int32) yes
SuspendedByUserId integer (int32) yes
SuspendedByUserName string yes
DateSuspended string (date-time) yes
ReactivationDate string (date-time) yes
IsReactivateEnabled boolean yes
AlertNote string yes
AlertTypeName string yes

UsagePattern

Values: 0 = Unknown; 1 = New; 2 = Recurring; 4 = Sporadic; 8 = Slow; 16 = Dead.
Enum values: 0, 1, 2, 4, 8, 16