本文档由 江苏华文数字技术有限公司 提供,团队为客户及开发人员提供成品接口和源码服务,帮助客户快速实现U8与异构系统的集成应用.
Authorization: ********************{
"entity": [
{
"bomType": 0,
"version": 0,
"versionDesc": "string",
"versionEffDate": "2019-08-24T14:15:22Z",
"parent": {
"cInvCode": "string",
"cInvName": "string",
"components": [
{
"cInvCode": "string",
"sortSeq": 0,
"baseQtyN": 0,
"baseQtyD": 0,
"compScrap": 0,
"define28": "string",
"componentOpts": [
{
"optionsId": 0
}
],
"componentSubs": [
{
"cInvCode": "string"
}
],
"componentLocs": [
{}
],
"componentScraps": [
{}
]
}
]
}
}
]
}curl --location --request POST 'https://localhost:44342/u8api/bom/insert' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"entity": [
{
"bomType": 0,
"version": 0,
"versionDesc": "string",
"versionEffDate": "2019-08-24T14:15:22Z",
"parent": {
"cInvCode": "string",
"cInvName": "string",
"components": [
{
"cInvCode": "string",
"sortSeq": 0,
"baseQtyN": 0,
"baseQtyD": 0,
"compScrap": 0,
"define28": "string",
"componentOpts": [
{
"optionsId": 0
}
],
"componentSubs": [
{
"cInvCode": "string"
}
],
"componentLocs": [
{}
],
"componentScraps": [
{}
]
}
]
}
}
]
}'{
"statusCode": 0,
"data": "string",
"succeeded": true,
"errors": null,
"extras": null,
"timestamp": 0
}
扫码加入 用友U8API 微信交流群
提供咨询服务,U8接口订制及源代码服务

扫码加入交流群