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
        POST
    • 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
    • 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 Processing Records

POST
https://mcs-gateway.fscut.com/api/statistics/work_logs/v2
Function Description:
This function is used to retrieve paged processing records for a specific machine within a specified time range.
返回信息:
① Processing-related information
② Layout information
③ Relevant part 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\\TenCircle.lxds",
                "portionId": "{1CEC406F-1417-4EF5-8B25-E32E24E8F169}",
                "startTime": "2023-05-01 00:00:00",
                "endTime": "2023-05-01 01:00:00",
                "timeTaken": 9,
                "tmEstimate": 79.85,
                "curveLength": 240.94,
                "moveLength": 507.23,
                "pierceCount": 0,
                "endState": 2,
                "material": "Carbon Steel",
                "materialName": "CircleProcess.fsm",
                "portionName": "FileBackground",
                "thickness": 1,
                "plateSize": "600 X 1200",
                "selected": false,
                "boundSize": "548X144",
                "syncTime": "2023-05-01 01:00:00",
                "partAmount": 10,
                "parts": [
                    {
                        "partId": "{465176D1-132D-4013-B3FB-3FE4D1321C61}",
                        "name": "Part name",
                        "amount": 10
                    }
                ],
                "workUuid": "W28043717231878647247357",
                "taskUuid": "T19135FC4DFCG544775T3385"
            }
        ],
        "meta": {
            "total": 174,
            "syncTime": 1683620551000
        }
    }
}
Modified at 2024-10-09 01:54:37
Previous
Real-time Status of the Cutting System
Next
Summary of Statistical Data for a Period of Time
Built with