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.
 

1.1 KiB

查询供应商详情(GetSupplier)

此接口用于查询供应商详情


基本信息

方法:POST

URL: http://localhost:8033/open/GetSupplier


请求

请求参数

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

示例 1:查询供应商详情

{
	"data": {
		"profile": "测试",
		"supplierCode": "1002210180009192"
	}
}

响应

响应字段

字段 类型 说明
supplierCode string 供应商编码
descriptions string 供应商名称
country string 国家
region string 省市

查询成功时,响应如下:

{
    "clock": "2023-07-05 13:39:40.615",
    "status": "ok",
    "data": {
        "info": {
            "supplierCode": "1002210180009192",
            "descriptions": "无锡联晟光伏科技有限公司",
            "country": "china",
            "region": "beijing",
        }
    }
}

查询报错:

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