Oms API GET run first status - openmpp/openmpp.github.io GitHub Wiki
Get status of first model run.
Methods:
GET /api/model/:model/run/status/first
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.
Call examples:
http://localhost:4040/api/model/modelOne/run/status/first
http://localhost:4040/api/model/_201208171604590148_/run/status/first
Return example: This is a beta version and may change in the future.
{
"ModelName": "modelOne",
"ModelDigest": "_201208171604590148_",
"Name": "Default",
"SubCount": 1,
"SubStarted": 1,
"SubCompleted": 1,
"CreateDateTime": "2021-03-11 00:27:56.583",
"Status": "s",
"UpdateDateTime": "2021-03-11 00:27:57.030",
"RunDigest": "88b8c45b77993133b07a7c85e4447d5c",
"ValueDigest": "6c5c0f48e19f67899c868688bb8a23fd",
"RunStamp": "2021_03_11_00_27_56_535",
"Txt": [],
"Opts": {},
"Param": [],
"Table": [],
"Progress": [
{
"SubId": 0,
"CreateDateTime": "2021-03-11 00:27:56.647",
"Status": "s",
"UpdateDateTime": "2021-03-11 00:27:56.816",
"Count": 100,
"Value": 0
}
]
}