이벤트 통계 API 샘플예제

회사별 이벤트 통계

  • REQUEST (CURL / GET)

curl --location --request GET 'https://apis.openapi.sk.com/api/ovs/v20/statistics/company/event /52631da0-b5ef-11ea-8f00-6730e8ef1a9e?year=2020&&month=7&day=1' \ --header 'Content-Type: application/json' \ --header 'X-Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJuYml0ZXN0M0Bz....' \ --header 'appKey: ***********************' \ -d ''
  • RESPONSE (200 | application/json)

{ "companyId":"52631da0-b5ef-11ea-8f00-6730e8ef1a9e", "requestDate":{ "year":2020, "month":7, "day":1 }, "statistics":{ "event":{ "msgNotification":16 } } }
  • RESPONSE (BODY)

KeyTypeDescription
companyIdStringcompany id
requestDateStringJSON string of requested date
to be addedStringJSON string of event statistics



단말별 이벤트 통계

  • REQUEST (CURL / GET)

curl --location --request GET 'https://apis.openapi.sk.com/api/ovs/v20/statistics/device/event /uio3512345678911234/event?year=2020&month=7&day=1' \ --header 'Content-Type: application/json' \ --header 'X-Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJuYml0ZXN0MUB....' \ --header 'appKey: ***********************' \ -d ''
  • RESPONSE (200 | application/json)

{ "serialNo":"bjx84_ovs_server1", "requestDate":{ "year":2020, "month":7, "day":1 }, "statistics":{ "event":{ "msgNotification":7 } } }
  • RESPONSE (BODY)

KeyTypeDescription
companyIdStringcompany id
requestDateStringJSON string of requested date
to be addedStringJSON string of event statistics