1. Machines and Slots
Lingye Open API
  • Authentication
    • Login
      POST
    • Validate token
      POST
  • Organizations
    • List organizations
      POST
    • Create organization
      POST
    • Update organization
      POST
    • Delete organization
      POST
    • List personnel
      POST
    • Create personnel
      POST
    • Update personnel
      POST
    • Delete personnel
      POST
    • List back-office users
      POST
  • Product Catalog
    • List product categories
      POST
    • List products
      POST
    • Create, update, or delete product category
      POST
    • Create, update, or delete product
      POST
    • Delete product
      POST
  • Machines and Slots
    • List machines
      POST
    • Query slot inventory
      POST
    • Replenish or edit slot product
      POST
    • Replenish or edit slot product (same as openapi_saveRoad)
      POST
    • Query locker cell information
      POST
    • Save or update existing locker cell information
      POST
    • Open locker cell remotely
      POST
    • Trigger one-time RFID inventory
      POST
    • Update machine basic information
      POST
    • Query locker cell records
      POST
    • Query inventory change records
      POST
  • Orders
    • List orders
    • List borrow orders
  • Work Orders
    • Create or update material requisition work order
  • Events and Webhooks
    • Customer endpoint: pickup work order query
    • Customer endpoint: borrow/return work order query
    • Webhook: slot inventory change notification
    • Webhook: order status notification
    • Webhook: borrow order status notification
  • Not Public
    • MES integration reference (not public)
  • Reports
    • Vending machine operating report
    • Inventory change statistics
    • Inventory change statistics (lite)
  • Lathes
    • CNC
      • List lathes / CNC
      • Update lathe / CNC
  • 数据模型
    • OperationSuccess
  1. Machines and Slots

Save or update existing locker cell information

POST
/adminapi/openapi_saveBox
Save business information for one existing cell under an authorized machine. This endpoint only updates existing cells; it does not create, delete, or reorder cells.

请求参数

Header 参数

Body 参数application/json必填

示例
{
    "jqcode": "10339",
    "code": 1,
    "isPortion": 1,
    "portionUsers": [
        123
    ],
    "ugs": [
        5
    ]
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'https://api.en.gdlykj.com/adminapi/openapi_saveBox' \
--header 'token;' \
--header 'Content-Type: application/json' \
--data '{
    "jqcode": "10339",
    "code": 1,
    "isPortion": 1,
    "portionUsers": [
        123
    ],
    "ugs": [
        5
    ]
}'

返回响应

🟢200
application/json
See endpoint description for details.
Bodyapplication/json

示例
{
    "code": 200,
    "msg": "success",
    "data": {
        "id": 0,
        "jqcode": "string",
        "code": 0,
        "old_type": 0,
        "old_type_name": "string",
        "type": 0,
        "type_name": "string",
        "action": "string",
        "aid": 0,
        "pid": 0,
        "count": 0,
        "putcount": 0,
        "isPortion": 0,
        "portionUsers": "string",
        "ugs": "string",
        "stocks": [
            {}
        ]
    }
}
修改于 2026-07-07 11:41:57
上一页
Query locker cell information
下一页
Open locker cell remotely
Built with