SearchEventCountConsole
- Print
- PDF
SearchEventCountConsole
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Summary
This API queries the number of events that occurred.
Request
API URL
URL: https://cw.apigw.ntruss.com/cw_fea/real/cw/api/event/searchEventCountConsole
Method: POST
Request header
The request headers specified in common settings are required.
Content-Type: application/json
x-ncp-apigw-signature-v2: {generated signature}
x-ncp-apigw-timestamp: {current timestamp}
x-ncp-iam-access-key: {your iam access key}
Request Body
Parameter Name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
startTime | Y | Long | Input in units of milliseconds | Query start time |
endTime | Y | Long | Input in units of milliseconds | Query end time |
Example
Request example
POST /cw_fea/real/cw/api/event/searchEventCountConsole
Host: cw.apigw.ntruss.com
Content-Type: application/json
x-ncp-apigw-signature-v2: {generated signature}
x-ncp-apigw-timestamp: {current timestamp}
x-ncp-iam-access-key: {your iam access key}
Payload:
{
"endTime": 1589817268165,
"startTime": 1589813668164
}
Response example
{
"closedRecords": 0,
"openRecords": 1,
"totalRecords": 1
}
Was this article helpful?