1. Orders
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
      POST
    • List borrow orders
      POST
  • 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. Orders

List orders

POST
/adminapi/openapi_orderIndex
Query order details within the authorized scope. Optional filters include date range, work order number, lathe/CNC, machine, product, personnel, and order status.

请求参数

Query 参数

Header 参数

Body 参数
application/json

示例
{
    "limit": 20,
    "gdh": "GDH-20250717-001",
    "lname": "CNC-01"
}

请求示例代码

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_orderIndex?limit=1&days=2025-02-01%2C2025-03-01&gdh=undefined&lid=undefined&lname=undefined&jqcode=undefined&mid=undefined&order_status=undefined&outstate=undefined&order_type=undefined&pcode=undefined&pname=undefined&work_number=undefined&realname=undefined' \
--header 'token: sasaasddsadsasda' \
--header 'Content-Type: application/json' \
--data '{
    "limit": 20,
    "gdh": "GDH-20250717-001",
    "lname": "CNC-01"
}'

返回响应

🟢200
application/json
Bodyapplication/json

示例
{
    "code": 200,
    "msg": "success",
    "data": [
        {
            "ono": "D2503011543201050771",
            "pid": 1092,
            "odmark1": null,
            "odmark2": null,
            "odmark3": null,
            "omark1": null,
            "omark2": null,
            "omark3": null,
            "lid": null,
            "lname": null,
            "work_number": "E10086",
            "realname": "Huang Jiajian",
            "returntime": "2025-03-01 15:44:02",
            "order_type": 6,
            "id": 867726,
            "creat_time": "2025-03-01 15:43:20",
            "organization_id": 141,
            "oid": 713791,
            "organization_name": "Lingye Factory Test",
            "jqcode": "10507",
            "jqname": "",
            "pname": "Tungsten Steel Alloy Tool",
            "cname": "Alloy",
            "rno": 101,
            "price": 0,
            "pay_type": 10,
            "order_status": 9,
            "outstate": 1,
            "source": 1,
            "pay3_no": "",
            "pcode": "6901234567890",
            "sku": 1
        }
    ]
}
修改于 2026-07-07 11:41:57
上一页
Query inventory change records
下一页
List borrow orders
Built with