BOCHU IoT Api
    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
      • 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

    0. Introduction

    This document aims to help developers swiftly master third-party platform development by introducing some common basic concepts.
    DEV MSG: We support customized query time zone now! check the documentation!

    1. Introduction to Terminology#

    TermDescription
    appIdOpen platform appId
    appSecretOpen platform appSecret
    timestampTimestamp required when calling the API
    appSignThe security signature needed for API calls, generated based on appId, appSecret, and timestamp. The specific generation rule can be found at: https://fscut-open-en.apifox.cn/doc-2946218
    zoneIdFor users who are not in China or whose local time zone differs from Beijing Time(UTC+8:00), we received your message and now offer a method for querying machine data based on your local time zone! You can specify the time zone for query parameters and return values by including the request header zoneId when calling certain APIs. Check the Api doc
    šŸ“Œ
    appId, appSecret, and appSign are fundamental for OpenApi calls, serving as pre-call identification.

    2. Application Steps#

    First, go to my machine tool open interface platform: https://open.fscut.com/

    2.1 Login with email#

    ā‘  Click email Login button
    image.png
    ā‘” Login with email
    image.png

    šŸ’”
    If you are new user in Friendess, please follow the register
    tutorial.
    image.png
    image.png
    image.png
    image.png
    image.png
    image.png

    2.2 Enter Personal Center#

    After successfully scanning and logging in, you will be directed to the dashboard. Click on the personal center button located in the top menu bar.
    image.png

    2.3 'My Machine' Verification#

    Upon entering the personal center, check the verification user identification in the top right corner to confirm whether you are a verified user of 'My Machine'.
    image.png
    šŸ“Œ
    If you are not a verified user, you won't be able to use OpenApi. Please first go to My Machine for verification. The specific verification process can be referred to at: https://fscut-open-en.apifox.cn/doc-2946219

    2.4 Obtain appId & appSecret#

    Once you're on the personal center page, you can directly view your appId.
    image.png
    šŸ“Œ
    appSecret is sensitive information that users should handle with care.
    Congratulations! At this moment, you've obtained all the prerequisites for using OpenApi.

    3. My First API Call#

    šŸ“Œ
    API calls require the following headers: app-id, time-stamp, and app-sign.
    ā‘  app-id: It is the appId you acquired earlier.
    ā‘” time-stamp: Timestamp valid for ten minutes before and after the API call moment.
    ā‘¢ app-sign: A signature computed using app-id, app-secret, and time-stamp.
    Example:
    {
        "app-id": "op18725d72811234d2", 
        "time-stamp": 1680592492719, 
        "app-sign": "c227fc9d75471a36e3dee7bd4cc8630e"
    }

    3.1 Generation Methods#

    3.1.1 Quick Solution#
    Considering user convenience, Friendess has created header generation demos for popular languages.
    Head to: https://fscut-open-en.apifox.cn/doc-2946217
    3.1.2 Manual Generation#
    šŸ’”
    If your preferred language is not available in the above quick solution, you can contact Bochu customer service or manually generate the request headers.
    For more details, visit: https://fscut-open-en.apifox.cn/doc-2946218

    4 Start Making Calls!#

    API interfaces open to users can be seen in the API documentation module of the open platform.
    Head to: https://open.fscut.com/#/api
    image.png
    Find the interface you're interested in and get started!

    4.1 Points to Note#

    šŸ“Œ
    ā‘  Users can only call accessible devices from their device list. For more details, refer to: https://fscut-open-en.apifox.cn/doc-2946219
    ā‘” There are daily maximum calls and frequency restrictions for API calls. For more details, refer to: https://fscut-open-en.apifox.cn/doc-2946220
    Modified atĀ 2024-10-12 02:28:33
    Next
    a. Use our demo to quickly generate request headers
    Built with