Oms API GET workset status - openmpp/openmpp.github.io GitHub Wiki
Get status of model workset. Workset is a set of model input parameters (a.k.a. "scenario" input). Workset can be used to run the model.
Methods:
GET /api/model/:model/workset/:set/status
GET /api/model/:model/workset/:set
Arguments:
:model - (required) model digest or model name
Model can be identified by digest or by model name. It is recommended to use digest because it is uniquely identifies model. It is possible to use model name, which is more human readable than digest, but if there are multiple models with same name in database than result is undefined.
:set - (required) workset name
Workset is uniquely identified by name (inside the model). Different models can have worksets with same name, i.e. each model can have workset with name "Default".
Call examples:
http://localhost:4040/api/model/modelOne/workset/modelOne_set/status
http://localhost:4040/api/model/649f17f26d67c37b78dde94f79772445/workset/Default/status
Return example: This is a beta version and may change in the future.
{
"SetId": 101,
"BaseRunId": 0,
"ModelId": 101,
"Name": "Default",
"IsReadonly": true,
"UpdateDateTime": "2017-12-19 15:21:14.0232"
}