GET api/ytcpmsg/GetStatusFor/{id}?entityIdent={entityIdent}&idcust={idcust}&historyrows={historyrows}
Status of running action by MSGID. Mainly Automatization.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Message id (from SaveAnyData) or Task |
globally unique identifier |
Required |
entityIdent |
type of ID |
enTablesLink |
Default value is LTWDAction |
idcust |
WorkSpace ID |
integer |
None. |
historyrows |
MAX=10 rows from GetEventLog by entityIdent. When 0, then nothing |
byte |
Default value is 0 |
api-version |
The requested API version |
string |
Default value is 1.0 |
Body Parameters
None.
Response Information
Resource Description
AutomatizationModel,ResponseCallbackObject,TWELog
MessageStatusName | Description | Type | Additional information |
---|---|---|---|
Automatization | AutomatizationModel |
None. |
|
RawMSG | ResponseCallbackObject |
None. |
|
EventLogHistory | Collection of TWELog |
None. |
Response Formats
application/json, text/json
Sample:
{ "Automatization": { "GID": "af9fcd88-ccd0-4a0f-96b5-aaf05d87c8b7", "ActionHGID": "3da8fc25-aa44-4955-82a5-c8c6a93f5b96", "ActionHID": 2, "IDCust": 3, "Executer": null, "Completed": true, "CurrentTask": { "ActionID": 1, "Name": "sample string 2", "msgid": "16505bbf-1364-4e0b-953e-03f4ccc7968d", "Looped": 4, "DatExpire": "2025-06-11T01:06:47.9373934+02:00", "DatStart": "2025-06-11T01:06:47.9373934+02:00", "DatEnd": "2025-06-11T01:06:47.9373934+02:00", "Completed": true, "Exception": "sample string 6", "CurrentPosition": 7, "RowsWritten": 8 }, "Status": [ { "ActionID": 1, "Name": "sample string 2", "msgid": "16505bbf-1364-4e0b-953e-03f4ccc7968d", "Looped": 4, "DatExpire": "2025-06-11T01:06:47.9373934+02:00", "DatStart": "2025-06-11T01:06:47.9373934+02:00", "DatEnd": "2025-06-11T01:06:47.9373934+02:00", "Completed": true, "Exception": "sample string 6", "CurrentPosition": 7, "RowsWritten": 8 }, { "ActionID": 1, "Name": "sample string 2", "msgid": "16505bbf-1364-4e0b-953e-03f4ccc7968d", "Looped": 4, "DatExpire": "2025-06-11T01:06:47.9373934+02:00", "DatStart": "2025-06-11T01:06:47.9373934+02:00", "DatEnd": "2025-06-11T01:06:47.9373934+02:00", "Completed": true, "Exception": "sample string 6", "CurrentPosition": 7, "RowsWritten": 8 } ] }, "RawMSG": { "DSetUpp": { "SqlTimeout": 1, "ChunkOffset": 1, "SaveSQLcmd": "sample string 1", "c_expiresec": 1, "TotalBytes": 2, "CurrentPosition": 3, "BufferSize": 4, "SQLcmd": "sample string 5", "mType": 0, "RowsLimit": 6, "Pars": { "ParType": 0, "Params": [ { "ParName": "sample string 1", "ValName": "sample string 2", "Val": {}, "Cond": "sample string 4", "DType": 0 }, { "ParName": "sample string 1", "ValName": "sample string 2", "Val": {}, "Cond": "sample string 4", "DType": 0 } ] }, "SavePars": { "ParType": 0, "Params": [ { "ParName": "sample string 1", "ValName": "sample string 2", "Val": {}, "Cond": "sample string 4", "DType": 0 }, { "ParName": "sample string 1", "ValName": "sample string 2", "Val": {}, "Cond": "sample string 4", "DType": 0 } ] }, "TypedPars": [ { "ParType": 0, "Params": [ { "ParName": "sample string 1", "ValName": "sample string 2", "Val": {}, "Cond": "sample string 4", "DType": 0 }, { "ParName": "sample string 1", "ValName": "sample string 2", "Val": {}, "Cond": "sample string 4", "DType": 0 } ] }, { "ParType": 0, "Params": [ { "ParName": "sample string 1", "ValName": "sample string 2", "Val": {}, "Cond": "sample string 4", "DType": 0 }, { "ParName": "sample string 1", "ValName": "sample string 2", "Val": {}, "Cond": "sample string 4", "DType": 0 } ] } ], "netf": 7, "CallbackID": "92fdea4b-a488-4723-84d2-9f504f02aaab", "HasError": true, "Exception": { "ClassName": "System.Exception", "Message": null, "Data": null, "InnerException": null, "HelpURL": "sample string 1", "StackTraceString": null, "RemoteStackTraceString": null, "RemoteStackIndex": 0, "ExceptionMethod": null, "HResult": 3, "Source": "sample string 2", "WatsonBuckets": null } }, "DatExpire": "2025-06-11T01:06:47.9373934+02:00", "Completed": true, "ID": "58f22f13-0a45-4846-a7da-78d1a0751d17", "mType": 0, "Exception": { "ClassName": "System.Exception", "Message": null, "Data": null, "InnerException": null, "HelpURL": "sample string 1", "StackTraceString": null, "RemoteStackTraceString": null, "RemoteStackIndex": 0, "ExceptionMethod": null, "HResult": 3, "Source": "sample string 2", "WatsonBuckets": null }, "CurrentPosition": 4, "TotalBytes": 5, "IsRelayed": true, "IDCGetter": "b2331aa8-729f-46d9-af77-3687b5919de6", "IDCSetter": "035f8431-0c8f-4c2e-b3ca-96f966b4ca83" }, "EventLogHistory": [ { "ID": 1, "IDCust": 1, "EntityIDent": 0, "GIDObject": "033a9369-47ca-4754-8d26-f5c103e2a17b", "KeyStr": "sample string 2", "EventType": 1, "EventState": 10, "DatStart": "2025-06-11T01:06:47.9373934+02:00", "DatStop": "2025-06-11T01:06:47.9373934+02:00", "ValueInt": 1, "ValueStr": "sample string 3", "ValueJson": "sample string 4", "DatCreated": "2025-06-11T01:06:47.9373934+02:00", "IDUsr": "sample string 6" }, { "ID": 1, "IDCust": 1, "EntityIDent": 0, "GIDObject": "033a9369-47ca-4754-8d26-f5c103e2a17b", "KeyStr": "sample string 2", "EventType": 1, "EventState": 10, "DatStart": "2025-06-11T01:06:47.9373934+02:00", "DatStop": "2025-06-11T01:06:47.9373934+02:00", "ValueInt": 1, "ValueStr": "sample string 3", "ValueJson": "sample string 4", "DatCreated": "2025-06-11T01:06:47.9373934+02:00", "IDUsr": "sample string 6" } ] }