项目

一般

简介

错误 #26478

由 葛程 更新于 11 个月 之前

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

入参:
{
"user_id": "1e846066a9c149e6ab7f2fdfa2a3e43c",
"person_id": "RY1664473117976879106",
"project_id": "Pj6120000001",
"warehouse_id": "CK612000000112c16adf825744408ab13d802474e0c8",
"warehouse_name": "",
"inbound_type": "",
"remark": "",
"inbound_date": "",
"total_amount": "",
"attachment": [
{
"type": "",
"name": "",
"key": ""
}
],
"consumables": [
{
"template_id": "HCMBadb9d05cddb847628440f9885286088d",
"project_template_id": "",
"name": "ApiTestpbtZ",
"code": "284449",
"unit_price": "",
"type": "启辉器",
"brand": "apiTest",
"specification": "1221",
"supplier": "",
"picture": "",
"unit": "",
"num": "1",
"total_num": "",
"amount": "",
"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"
}

返回