Retrieve predicted lead times

Returns the lead times a model run predicted, one record per item and location. ModelRunDate must match a model run exactly, and no endpoint lists the runs: ask your GAINS representative for them. See Lead-Time Prediction.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

Return the prediction for this item. Must be sent together with LocationCode; omit both to return every item/location. A single code, not a list.

string

Return the prediction for this location. Must be sent together with ItemCode; omit both to return every item/location. A single code, not a list.

string
required

The model run to return predictions from, as a timestamp (YYYY-MM-DD HH:MM:SS). Must match a model run's timestamp exactly; a timestamp with no run returns no records.

string

Opaque cursor identifying the page to return. Omit for the first page, then pass the NextCursor value from the previous response

integer
1 to 1000
Defaults to 100

Maximum number of records to return in one page, from 1 to 1000. Default 100. On endpoints that group records under an item (for example, policies and forecasts), the limit applies to item/location records, so a page can return fewer top-level items than Size

Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*