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
MessageStatus| Name | Description | Type | Additional information |
|---|---|---|---|
| Automatization | AutomatizationModel |
None. |
|
| RawMSG | ResponseCallbackObject |
None. |
|
| EventLogHistory | Collection of TWELog |
None. |
Response Formats
application/json, text/json
Sample:
{
"Automatization": {
"GID": "bbc85905-4958-4c01-8bac-94aed054b25e",
"ActionHGID": "7692b275-4d35-4343-a8c8-ef2906af11e2",
"ActionHID": 2,
"IDCust": 3,
"Executer": null,
"Completed": true,
"CurrentTask": {
"ActionID": 1,
"Name": "sample string 2",
"msgid": "d1485bb3-282d-4600-b4d9-c10e4b3eb94a",
"Looped": 4,
"DatExpire": "2026-02-15T09:44:52.6132768+01:00",
"DatStart": "2026-02-15T09:44:52.6132768+01:00",
"DatEnd": "2026-02-15T09:44:52.6132768+01:00",
"Completed": true,
"Exception": "sample string 6",
"CurrentPosition": 7,
"RowsWritten": 8
},
"Status": [
{
"ActionID": 1,
"Name": "sample string 2",
"msgid": "d1485bb3-282d-4600-b4d9-c10e4b3eb94a",
"Looped": 4,
"DatExpire": "2026-02-15T09:44:52.6132768+01:00",
"DatStart": "2026-02-15T09:44:52.6132768+01:00",
"DatEnd": "2026-02-15T09:44:52.6132768+01:00",
"Completed": true,
"Exception": "sample string 6",
"CurrentPosition": 7,
"RowsWritten": 8
},
{
"ActionID": 1,
"Name": "sample string 2",
"msgid": "d1485bb3-282d-4600-b4d9-c10e4b3eb94a",
"Looped": 4,
"DatExpire": "2026-02-15T09:44:52.6132768+01:00",
"DatStart": "2026-02-15T09:44:52.6132768+01:00",
"DatEnd": "2026-02-15T09:44:52.6132768+01: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": "8e0a6f2c-8fd1-461b-965c-f418eceff2ef",
"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": "2026-02-15T09:44:52.6132768+01:00",
"Completed": true,
"ID": "ff096961-d3ac-49f3-beef-42b60ed4aaec",
"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": "66ff1a36-f8d2-4190-a29a-cd459f1ad07f",
"IDCSetter": "f06b8be0-6efd-4e19-a976-725f6e1a19d9"
},
"EventLogHistory": [
{
"ID": 1,
"IDCust": 1,
"EntityIDent": 0,
"GIDObject": "62fca08c-4c31-4ed0-8998-f6d60e911954",
"KeyStr": "sample string 2",
"EventType": 1,
"EventState": 10,
"DatStart": "2026-02-15T09:44:52.6132768+01:00",
"DatStop": "2026-02-15T09:44:52.6132768+01:00",
"ValueInt": 1,
"ValueStr": "sample string 3",
"ValueJson": "sample string 4",
"DatCreated": "2026-02-15T09:44:52.6132768+01:00",
"IDUsr": "sample string 6"
},
{
"ID": 1,
"IDCust": 1,
"EntityIDent": 0,
"GIDObject": "62fca08c-4c31-4ed0-8998-f6d60e911954",
"KeyStr": "sample string 2",
"EventType": 1,
"EventState": 10,
"DatStart": "2026-02-15T09:44:52.6132768+01:00",
"DatStop": "2026-02-15T09:44:52.6132768+01:00",
"ValueInt": 1,
"ValueStr": "sample string 3",
"ValueJson": "sample string 4",
"DatCreated": "2026-02-15T09:44:52.6132768+01:00",
"IDUsr": "sample string 6"
}
]
}