错误 #23441
盘点管理—保存盘点单详细信息,userId错误/userId为空提示系统异常
0%
描述
http://api-auto-test.persagy.com/inventory/inventoryStockTaking/saveInventoryStocktakingDetails
入参:
Headers: groupCode=BR
Accept=/
Content-Type=application/json;charset=utf-8
Body:
{
"project_id": "Pj1101104435",
"user_id": "a5f98aece82343838a2771f75e551ea5",
"userId":"sdfsdfwefa5f98aece82343838a2771f75e551ea5",
"pd":"7e60690d264fc6f439baaf8800653768",
"person_id": "RY1600397292054163457",
"personId": "RY1600397292054163457",
"groupCode":"BR",
"inventory_stock_taking_id": "PD1101104435ecfedcf599e6402488380fe538db4d2a",
"inventoryStocktakingDetails": [{
"actual_number": "",
"consumable_material_code": "851769",
"consumable_material_id": "Cs1101104435ee72e57bd760401f971b5d92673590cb",
"consumable_material_name": "ApiTestPI2Z70731",
"difference_number": "",
"goods_shelf": "",
"inventory_stock_taking_details_id": "PD11011044354ca69fa50763425eb174fc6feced698b",
"inventory_stock_taking_id": "PD1101104435ecfedcf599e6402488380fe538db4d2a",
"plate_number": "1",
"remark": "这是添加的盘点备注信息",
"specification": "1",
"stock_taking_head": "RY1600397292054163457",
"stock_taking_result": "",
"unit": "个"
}]
}
响应:
{
"cause":"",
"code":"B0001",
"def_exec":true,
"is_fail":true,
"is_success":false,
"message":"系统执行出错",
"result":"fail",
"timestamp":1672054866277,
"trace_id":"63a98852e4b0cc199d6d6f07"
}
期望包含值:A
期望包含值:userId 不合法 userId 不能为空
备注:userId错误/userId为空请求均会提示系统异常