GET HwStructure/getC4HwEvents?C4Identification={C4Identification}&LastSync={LastSync}&Token={Token}
Retrieve all events assigned to C4 system connection. Application privilege "View" for licensed agenda "Data" required.
Request Information
Authorization
- Authorization by token required
Availability
- Method can be used
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| C4Identification |
C4 identification. It is used to identify the C4 system in the system Aktion. |
string |
Required |
| LastSync |
C4 last datetime synchronization |
date |
Required |
| Token |
The action is authorized by this token. Token should generated by calling action "POST login". Expiration time of each token is 20 seconds |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Response Codes
| Http Code | Error Number | Description |
|---|---|---|
| 200 request succesfully done | 0 | Successfully done |
| 400 bad request | 1002 | Entry parameter missing or parameter bindigs failed |
| 401 unauthorized | 1000 | Token {0} not found |
| 401 unauthorized | 1001 | Token {0} already expired |
| 401 unauthorized | 1006 | Ip filter violated for ip client address [{0}] |
| 401 unauthorized | 1007 | Ip filter [{0}] parsing failed |
| 401 unauthorized | 1008 | Request rate policy violated for [{0}] |
| 403 server refuses fo fulfill the request | 1227 | Show hw structure physical privilege violated |
| 404 required resource does not exist on the server | 1228 | Hw structure physical not found |
| 415 unsupported Media Type | The request entity has a media type which the server or resource does not support. Only application/json and application/xml are supported | |
| 500 internal error | Server exception description |
Resource Description
HwStructGetC4HwEventsResp| Name | Description | Type | Additional information |
|---|---|---|---|
| C4HwEvents | Collection of C4HwEvents |
None. |
Response Formats
application/json, text/json
Sample:
{
"C4HwEvents": [
{
"ID": "7dfb8101-91ab-4bd8-98ed-231465195ede",
"HwStructureId": "bd10cae7-49a3-4690-886a-e97500c414f0",
"DateCreated": "2026-05-25T05:58:17.3892768+02:00",
"Date": "2026-05-25T05:58:17.3892768+02:00",
"EventCode": 4,
"Direction": 1,
"OwnerId": "31967319-2621-4da4-9a7e-13d133356778",
"Identifier": "sample string 5",
"Zone": "sample string 6",
"Descriptions": "sample string 7"
},
{
"ID": "7dfb8101-91ab-4bd8-98ed-231465195ede",
"HwStructureId": "bd10cae7-49a3-4690-886a-e97500c414f0",
"DateCreated": "2026-05-25T05:58:17.3892768+02:00",
"Date": "2026-05-25T05:58:17.3892768+02:00",
"EventCode": 4,
"Direction": 1,
"OwnerId": "31967319-2621-4da4-9a7e-13d133356778",
"Identifier": "sample string 5",
"Zone": "sample string 6",
"Descriptions": "sample string 7"
}
]
}
application/xml, text/xml
Sample:
<Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<C4HwEvents>
<C4HwEvents>
<ID>7dfb8101-91ab-4bd8-98ed-231465195ede</ID>
<HwStructureId>bd10cae7-49a3-4690-886a-e97500c414f0</HwStructureId>
<DateCreated>2026-05-25T05:58:17.3892768+02:00</DateCreated>
<Date>2026-05-25T05:58:17.3892768+02:00</Date>
<EventCode>4</EventCode>
<Direction>1</Direction>
<OwnerId>31967319-2621-4da4-9a7e-13d133356778</OwnerId>
<Identifier>sample string 5</Identifier>
<Zone>sample string 6</Zone>
<Descriptions>sample string 7</Descriptions>
</C4HwEvents>
<C4HwEvents>
<ID>7dfb8101-91ab-4bd8-98ed-231465195ede</ID>
<HwStructureId>bd10cae7-49a3-4690-886a-e97500c414f0</HwStructureId>
<DateCreated>2026-05-25T05:58:17.3892768+02:00</DateCreated>
<Date>2026-05-25T05:58:17.3892768+02:00</Date>
<EventCode>4</EventCode>
<Direction>1</Direction>
<OwnerId>31967319-2621-4da4-9a7e-13d133356778</OwnerId>
<Identifier>sample string 5</Identifier>
<Zone>sample string 6</Zone>
<Descriptions>sample string 7</Descriptions>
</C4HwEvents>
</C4HwEvents>
</Response>