POST openapi/Supplier/JK03

供应商库存生产计划接口数据查询,查询已发送的数据是否被接收

测试环境地址/Test OpenUrl

http://113.57.157.140:8089/openapi/Supplier/JK03

生产环境地址/Production OpenUrl

None.

请求信息/Request Information

URI参数/URI Parameters

None.

Body Parameters

Jk03Entity
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}用户密码

data_type

数据类型

string

Required

1:库存,2:生产计划

begin_time

开始日期(必填)

string

Required

库存或生产计划的查询开始日期

end_time

截止日期

string

库存或生产计划的查询截止日期

请求格式/Request Formats

application/json

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

text/json

Sample:
{
  "user_name": "82014011",
  "timestamp": "20240527150832",
  "sign": "05b8a3886900204109d8c95339133e89",
  "data_type": "1",
  "begin_time": "20240327",
  "end_time": "20240327"
}

响应信息/Response Information

响应结果

DataResultEntity
NameDescriptionTypeAdditional information
result

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

string

None.

message

错误信息ErrorMessage

string

result=0时返回

part_info

零件信息明细

Collection of PartInfo

Required

List<PartInfo>

响应格式/Response Formats

application/json

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

text/json

Sample:
{
  "result": "sample string 1",
  "message": "sample string 2",
  "part_info": [
    {
      "part_code": "sample string 1",
      "part_description": "sample string 2",
      "part_color": "sample string 3",
      "date": "sample string 4",
      "qty": 5,
      "status": "sample string 6"
    },
    {
      "part_code": "sample string 1",
      "part_description": "sample string 2",
      "part_color": "sample string 3",
      "date": "sample string 4",
      "qty": 5,
      "status": "sample string 6"
    }
  ]
}