OptimisationRuns
List optimisation runs (Preview)
Preview: this operation may change or be removed without a new versioned route or notice period until it is announced as stable (see the API Versioning Policy). Lists optimisation runs for the specified company, most recent first, paged.
path Parameters
companyIdThe company GUID.
query Parameters
offsetZero-based row offset for pagination. Example: 0
limitMaximum number of rows to return (capped at 200). Example: 50
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
List optimisation runs (Preview) › Responses
Payload of Array of OptimisationRunDto
runIdcompanyIdstatusfilterProfileIdproblemBlobUriresultBlobUrierrorMessagegroupCountrequestedByplanIdrunNamecreatedAtupdatedAtStart an optimisation run (Preview)
Preview: this operation may change or be removed without a new versioned route or notice period until it is announced as stable (see the API Versioning Policy). Uploads a problem payload as a claim-check blob and dispatches it to the optimisation solver. With PreviewId, dispatches exactly that preview's saved snapshot (Filters/SolverSettings are recorded but not re-applied); otherwise composes a fresh problem from the supplied filters.
path Parameters
companyIdThe company GUID.
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Start an optimisation run (Preview) › Request Body
namefilterProfileIdexcludedGroupKeyspreviewIdStart an optimisation run (Preview) › Responses
Payload of CreateOptimisationRunResponse
runIdgroupCountunmatchedDemandCountexcludedGroupCountPreview an optimisation run (Preview)
Preview: this operation may change or be removed without a new versioned route or notice period until it is announced as stable (see the API Versioning Policy). Composes the problem an optimisation run would dispatch for the supplied filters, saves it as a short-lived preview snapshot, and returns a per-group summary with per-order detail plus the snapshot's PreviewId. Nothing is persisted to the database or dispatched; pass PreviewId to StartOptimisationRun (within 30 minutes) to dispatch exactly this composition. ExcludedGroupKeys is ignored — every composed group is returned.
path Parameters
companyIdThe company GUID.
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Preview an optimisation run (Preview) › Request Body
namefilterProfileIdexcludedGroupKeyspreviewIdPreview an optimisation run (Preview) › Responses
Payload of OptimisationRunPreview
previewIdcomposedAttotalGroupstotalStockBarCounttotalDemandPieceCountGet an optimisation run (Preview)
Preview: this operation may change or be removed without a new versioned route or notice period until it is announced as stable (see the API Versioning Policy). Retrieves a single optimisation run — the polling target while a run is pending.
path Parameters
companyIdThe company GUID.
runIdThe optimisation run GUID.
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Get an optimisation run (Preview) › Responses
Payload of OptimisationRunDto
runIdcompanyIdstatusfilterProfileIdproblemBlobUriresultBlobUrierrorMessagegroupCountrequestedByplanIdrunNamecreatedAtupdatedAtCancel an optimisation run (Preview)
Preview: this operation may change or be removed without a new versioned route or notice period until it is announced as stable (see the API Versioning Policy). Marks a run as cancelled. Rejected with 400 if the run has already reached a terminal or later status (ResultReceived/SolveFailed/Failed/PlanCreated).
path Parameters
companyIdThe company GUID.
runIdThe optimisation run GUID.
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Cancel an optimisation run (Preview) › Responses
No description

