api上传附件:https://vip.kingdee.com/article/87232573931076096
post,
url:xxxx/K3cloud/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.Save.common.kdsvc
参数:
{
"parameters": ["BOS_Attachment",
{
"NeedReturnFields": [],
"IsAutoSubmitAndAudit": "false",
"Creator": "",
"NeedUpDateFields": [],
"IsVerifyBaseDataField": "false",
"IsEntryBatchFill": "false",
"NumberSearch": "true",
"InterationFlags": "",
"ValidateFlag": "true",
"SubSystemId": "",
"IsDeleteEntry": "false",
"Model": {
"FInterID": 0, // 单据主键 FID
"FEntryKey": "FPOOrderEntry", // 单据体标识(如果是单据头,则传一个空格)
"FEntryInterID": 0, // 单据体分录主键
"FBillNo": "", // 单据编码
"FBillType": "PUR_PurchaseOrder", // 单据标识
"FAttachmentName": "", // 附件名称
"FAttachmentSize": 0.00, // 附件大小(kb,2位小数)
"FExtName": "", // 附件后缀名称(如:.jpg)
"FAttachmentDes": "", // 附件说明
"FAttachment": "", // 附件文件流,base64
"FCreateTime": "" // 创建时间
}
}
]
}
推荐阅读