材料任务预创建

更新时间:2021-01-25 10:19:55

接口说明

材料任务预创建

基本信息

请求方式:POST

请求路径:

https://prod.open-api.mysre.cn/eq/{tenentCode}/api/material-task/pre-create

请求参数

参数名 参数位置 参数类型 必填 默认值 示例 描述
tenentCode path string
projName body string 项目分期名称
materialName body string 材料名称
shippingNo body string 送货单编号
supplier body string 供应商
mobile body string 建设单位人员手机号
shippingID body string 送货单id
shippingDetail body array 送货单详情
sourceType body number 单据来源,1:体制内;2:体制外

请求示例

{
    "projName":"四季花城-一期",
    "materialName":"钢筋",
    "shippingNo":"20201020181923001",
    "supplier":"明源",
    "mobile":"13800138000",
    "sourcetype": 1,
    "shippingDetail":[
        {
            "id":"20201020181923001",
            "quantity":100,
            "materialType":"螺纹钢",
            "materialSpecification":"100*200",
            "remark":"备注"
        }
    ]
}

返回成功示例

{
  "errcode": 0,
  "errmsg": "success"
}

返回参数说明(成功)

参数名 参数类型 描述
errcode number 错误码
errmsg string 错误内容

失败返回示例

{
  "errcode": 4100,
  "errmsg": "项目ID不能为空"
}

返回参数说明(失败)

参数名 参数类型 描述
errcode number 错误码
errmsg string 错误内容

results matching ""

    No results matching ""