MES标准开放接口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

2.4 KiB

LeaptonGetDeliveryPlan

此接口用于获取发货计划。


基本信息

方法:GET, POST

URL: http://localhost:8033/open/leaptonGetDeliveryPlan


请求

请求参数

参数名 类型 必填 说明
key string 发货记录主键

GET 请求示例

/open/leaptonGetDeliveryPlan?key=0b9bed8807a04f678a7ac9761270fffd

POST 请求示例

{
    "data": {
        "key": "0b9bed8807a04f678a7ac9761270fffd"
    }
}

响应

保存成功时,服务端将返回此条记录,和记录的主键。

新增的字段:

字段 类型 说明
key string 主键,由系统自动生成。
headKey string 主记录的主键,由系统自动填写。
lineIndex integer 行索引,由系统自动填写,从 0 开始。
{
  "clock": "2023-08-22 11:26:48.559",
  "duration": "112ms",
  "status": "ok",
  "data": {
    "deleted": "",
    "profile": "profile",
    "billType": "",
    "planner": "",
    "maker": "",
    "sourceType": "",
    "billCode": "",
    "lines": [
      {
        "headKey": "0b9bed8807a04f678a7ac9761270fffd",
        "lineIndex": 0,
        "lineNum": 0,
        "customer": "",
        "receivingLocation": "",
        "matCode": "",
        "matName": "",
        "qty": 1.0,
        "unit": "",
        "dispatchingDate": "",
        "storageLocation": "",
        "detailBillCode": "",
        "totalPrice": 1.0,
        "untaxedPrice": 1.0,
        "unitPrice": 1.0,
        "created": "2023-08-22 10:35:47.876",
        "updated": "2023-08-22 10:35:47.876",
        "key": "f1c9f505a3ea4dfb8aa693de23602655",
        "flag": 1
      },
      {
        "headKey": "0b9bed8807a04f678a7ac9761270fffd",
        "lineIndex": 1,
        "lineNum": 0,
        "customer": "",
        "receivingLocation": "",
        "matCode": "",
        "matName": "",
        "qty": 2.0,
        "unit": "",
        "dispatchingDate": "",
        "storageLocation": "",
        "detailBillCode": "",
        "totalPrice": 3.0,
        "untaxedPrice": 3.0,
        "unitPrice": 1.5,
        "created": "2023-08-22 10:35:47.882",
        "updated": "2023-08-22 10:35:47.882",
        "key": "4d296cc2907d4919a9e4bfd86d98e3db",
        "flag": 1
      }
    ],
    "created": "2023-08-22 10:35:47.872",
    "updated": "2023-08-22 10:35:47.872",
    "key": "0b9bed8807a04f678a7ac9761270fffd",
    "flag": 1
  }
}