BOCHU IoT Api
  1. Statistics Information
BOCHU IoT Api
  • 0. Introduction
  • a. Use our demo to quickly generate request headers
  • b. Manually create the request header
  • 1. Machine Quota
  • 2. API Quota & API Rate Limit
  • Global Error Code
  • Cutting Machine API
    • Machine Management
      • Machine List
      • Machine Detailed Information
      • Machine Status Change Records
    • Real-time Data
      • Machine Operating Status
      • Machine Current Alarm List
      • Machine Ongoing Processing Task
      • Real-time Status of the Cutting System
    • Historical Data
      • Paged Processing Records
    • Statistics Information
      • Summary of Statistical Data for a Period of Time
        POST
      • Daily Alarm Duration
        POST
      • Daily Piercing Count
        POST
      • Daily Idle Time
        POST
      • Daily Laser-On Time
        POST
      • Daily Gas-On Time
        POST
      • Daily Cutting Length
        POST
      • Daily Traveling Distance
        POST
      • Daily Processing Time v2
        POST
    • Task Management
      • Upload Cut Task
  • Welding Machine API
    • Machine Management
      • Machine List
      • Machine Detailed Information
      • Machine Status Change Records
    • Real-time Data
      • Machine Operating Status
    • Historical Data
      • Paged Welding Processing Records
    • Statistics Information
      • Summary of Welding Statistical Data for a Period of Time
      • Daily Flat-Weld Length
      • Daily Flat-Weld Time
      • Daily Vertical-Weld Length
      • Daily Vertical-Weld Time
      • Daily Weld Length
      • Daily Weld Time
      • Daily Weld-Pass Count
      • Daily Idle Time
      • Daily Processing Time
    • Task Management
      • Upload Weld Task
  1. Statistics Information

Daily Alarm Duration

POST
/statistics/daily/alarm_time
Function Description:
Query statistical data of daily alarm duration for a specific machine within a specified time range
The query time range extends up to yesterday
Return Result:
① Display daily alarm duration by day

Request

Header Params

Body Params application/json

Example
{
    "cardId": "1234567890",
    "startDate": 20231101,
    "endDate": 20231110
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/statistics/daily/alarm_time' \
--header 'zoneId: America/Chicago' \
--header 'Content-Type: application/json' \
--data-raw '{
    "cardId": "1234567890",
    "startDate": 20231101,
    "endDate": 20231110
}'

Responses

🟢200OK
application/json
Body

Example
{
    "status": 0,
    "msg": "OK",
    "data": {
        "list": [
            {
                "statDate": 20231101,
                "alarmTime": 12345
            }
        ]
    }
}
Modified at 2024-10-09 01:54:44
Previous
Summary of Statistical Data for a Period of Time
Next
Daily Piercing Count
Built with