BOCHU IoT Api
  1. Historical Data
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
      • Daily Alarm Duration
      • Daily Piercing Count
      • Daily Idle Time
      • Daily Laser-On Time
      • Daily Gas-On Time
      • Daily Cutting Length
      • Daily Traveling Distance
      • Daily Processing Time v2
    • 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
        POST
    • 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. Historical Data

Paged Welding Processing Records

POST
https://mcs-gateway.fscut.com/api/statistics/work_logs/v2
Function Description:
This function is used to retrieve paged welding processing records for a specific machine within a specified time range.
返回信息:
① Processing-related information

Request

Header Params

Body Params application/json

Example
{
    "cardId": "123456789100",
    "startTime": "2023-05-01 00:00:00",
    "endTime": "2023-05-17 15:00:00",
    "pageNumber":0,
    "pageSize":30,
    "timeDesc": true
}

Request 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 'https://mcs-gateway.fscut.com/api/statistics/work_logs/v2' \
--header 'zoneId: America/Chicago' \
--header 'Content-Type: application/json' \
--data-raw '{
    "cardId": "123456789100",
    "startTime": "2023-05-01 00:00:00",
    "endTime": "2023-05-17 15:00:00",
    "pageNumber":0,
    "pageSize":30,
    "timeDesc": true
}'

Responses

🟢200成功
application/json
Body

Example
{
    "status": 0,
    "msg": "ok",
    "data": {
        "list": [
            {
                "fileName": "C:\\Users\\fscut\\Desktop\\text.ifc",
                "startTime": "2024-07-01 00:00:00",
                "endTime": "2024-07-01 01:00:00",
                "syncTime": "2024-07-01 01:00:00",
                "endState": 2,
                "ifcName": "test",
                "workTime": 79.85,
                "weldingTime": 240.94,
                "verticalWeldingTime": 240.94,
                "flatWeldingTime": 240.94,
                "totalWeldingLength": 240.94,
                "verticalWeldingLength": 240.94,
                "flatWeldingLength": 240.94,
                "weldPassCount": 3,
                "weldPassDone": 0
            }
        ],
        "meta": {
            "total": 174,
            "syncTime": 1683620551000
        }
    }
}
Modified at 2024-10-09 01:59:55
Previous
Machine Operating Status
Next
Summary of Welding Statistical Data for a Period of Time
Built with