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.
 

931 B

添加供应商(AddSupplier)

此接口用于添加供应商


基本信息

方法:POST

URL: http://localhost:8033/open/AddSupplier


请求

请求参数

参数名 类型 必填 说明
profile string 厂区编码
supplierCode string 供应商编码
descriptions string 供应商名称

示例 1:添加供应商

{
	"data": {
		"profile": "测试",
		"supplierCode": "1045543weee",
		"descriptions": "新的公司"
	}
}

响应

执行成功时,响应如下:

{
    "clock": "2023-07-05 13:49:18.396",
    "status": "ok",
    "data": {
        "info": {
            "supplierCode": "1045543weee",
            "descriptions": "新的公司"
        }
    }
}

执行报错:

{
  "clock": "2023-06-25 20:00:00.000",
  "status": "exception",
  "message": "执行失败",
  "data": {}
}