项目

一般

简介

错误 #26478

由 葛程 更新于 10 个月 之前

接口路径:https://gapmsit.persagy.com/inventory/restConsumableServer/createConsumableWarehousingEntry
header:
header:{
"Content-Type":"application/json;charset=utf-8",
"groupCode":"apiauto"
}

入参:
{
"user_id": "1e846066a9c149e6ab7f2fdfa2a3e43c",
"person_id": "RY1664473117976879106",
"project_id": "Pj6120000001",
"warehouse_id": "CK6120000001eb4cc2f29cd645f5a7314ad151153a61", "CK61200000010841f31ede754ebc9149dfb665375ca3",
"warehouse_name": "",
"inbound_type": "",
"remark": "",
"inbound_date": "",
"total_amount": "",
"attachment": [
{
"type": "",
"name": "",
"key": ""
}
],
"consumables": [
{
"type_name": "启辉器",

"template_id": "HCMBf013d1b8ce3145429274f66453a60901",
"project_template_id": "",
"name": "ApiTest1HHZ",
"code": "12",
"specification": "",
"821378",
"unit_price": "",

"type": "ECLAST",
"project_template_id": "PJHCMB6120000001BAAC28EA4A974DC5AAC7202C6437235A",
"unit": "个",
"limit_storage": "2",
"project_id": "Pj6120000001",
"启辉器",
"brand": "apiTest",
"specification": "1221",
"supplier": "--",
"name": "12",
"qr_code": "fa3039ac0b3646d29fb3c75453ec7c9c",
"template_id": "HCMBbaac28ea4a974dc5aac7202c6437235a",
"brand":
"/n*ApiTest1HHZ",
"picture":
"",

"unit": "",
"num": 1,
"1",
"total_num": "",
"amount": "0"
"",
"goods_shelf": "",
"entry_unit_type": ""
}
]
}
预期结果:
{
"Item": {
"warehousing_entry_id": "RK61200000012023080801620"
},
"ResultCode": "00000",
"Result": "success"
}
实际结果:
{
"ResultMsg": "java.lang.IllegalArgumentException: Body parameter 0 was null",
"ResultCode": "A0400",
"Result": "failure"
}

返回