POST openapi/Supplier/JK01
供应商库存接口,每日库存结余不再变化变时发送,建议发送时间(如20:00-23:59)
测试环境地址/Test OpenUrl
http://113.57.157.140:8089/openapi/Supplier/JK01
生产环境地址/Production OpenUrl
None.
请求信息/Request Information
URI参数/URI Parameters
None.
Body Parameters
库存数据
Jk01EntityName | Description | Type | Additional information |
---|---|---|---|
user_name |
WSCM登录用户名(必填) |
string |
Required |
timestamp |
当前时间(必填),与北京时间相差不超过1分钟 |
string |
Required 格式:yyyyMMddHHmmss |
sign |
签名(必填) |
string |
Required MD5加密规则:MD5(user_name={0}×tamp={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 JK01PartInfo |
Required List<JK01PartInfo> |
请求格式/Request Formats
application/json
Sample:
Binary JSON content. See http://bsonspec.org for details.
text/json
Sample:
{ "user_name": "41013001", "timestamp": "20240524210801", "sign": "8e51b5e881bc5cb4eb42da24c83b3699", "supply_code": "41013", "supply_place_code": "", "supply_place_name": "", "part_info": [ { "part_code": "74660TA0 A001", "part_description": "UNIT ASSY,ETC(CHINA)", "part_color": "", "date": "20240524", "qty": 500.0 }, { "part_code": "74660TA0 A002", "part_description": "UNIT ASSY,ETC", "part_color": "", "date": "20240524", "qty": 300.0 } ] }
响应信息/Response Information
响应结果
ResultEntityName | Description | Type | Additional 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": "" }