POST openapi/Supplier/JK02

供应商生产计划接口,当日及未来生产计划变化时发送,默认覆盖上一次,发送时间(00:00-23:59)

测试环境地址/Test OpenUrl

http://113.57.157.140:8089/openapi/Supplier/JK02

生产环境地址/Production OpenUrl

None.

请求信息/Request Information

URI参数/URI Parameters

None.

Body Parameters

当日及未来生产计划数据

Jk02Entity
NameDescriptionTypeAdditional information
user_name

WSCM登录用户名(必填)

string

Required

timestamp

当前时间,与北京时间相差不超过1分钟

string

Required

格式:yyyyMMddHHmmss

sign

签名(必填)

string

Required

MD5加密规则:MD5(user_name={0}&timestamp={1}&password=MD5(MD5(MD5({2})))),{0}为用户名,{1}timestamp参数值,{2}用户密码

supply_code

供应商编码

string

Required

supply_place_code

供应商据点编码

string

供应商编码+两位流水号

supply_place_name

供应商据点名称

string

对应供应商据点编码的生产地址,如武汉

part_info

零件信息明细

Collection of JK02PartInfo

Required

List<JK02PartInfo>

请求格式/Request Formats

application/json

Sample:
Binary JSON content. See http://bsonspec.org for details.

text/json

Sample:
{
  "user_name": "41013001",
  "timestamp": "20240524190801",
  "sign": "8e51b5e881bc5cb4eb42da24c83b3699",
  "supply_code": "41013",
  "supply_place_code": "4101301",
  "supply_place_name": "xxxxx武汉工厂",
  "part_info": [
    {
      "part_code": "74660TA0 A000",
      "part_description": "CAP ASSY,F/MAINT HOLE",
      "part_color": "",
      "plan_date": "20240527",
      "plan_qty": 100.0
    },
    {
      "part_code": "74660TA0 A000",
      "part_description": "CAP ASSY,F/MAINT HOLE",
      "part_color": "",
      "plan_date": "20240528",
      "plan_qty": 100.0
    }
  ]
}

响应信息/Response Information

响应结果

ResultEntity
NameDescriptionTypeAdditional information
result

返回结果:1,success;0,fail

string

None.

message

错误信息ErrorMessage

string

result=0时返回

响应格式/Response Formats

application/json

Sample:
Binary JSON content. See http://bsonspec.org for details.

text/json

Sample:
{
  "result": "1",
  "message": ""
}