- 权限
- 公用设置
- 基本信息
- 销售管理
- 采购管理
- 存货管理
- 生产管理
- 测试数据
- 工艺管理
更新
已测完
开发环境
http://192.168.0.18:30000
开发环境
http://192.168.0.18:30000
POST
/api/rgw/order/Update
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Body 参数application/json
data
object
必需
dcsiba
object
订单单头档
dcsibbs
array [object {66}]
订单单身档
dcsibcs
array [object {33}]
订单选配档
示例
{
"type": "object",
"properties": {
"dcsiba": {
"type": "object",
"properties": {
"IBA001": {
"type": "string",
"title": "单号"
},
"IBA003": {
"type": "string",
"title": "日期"
},
"IBA028": {
"type": "string",
"title": "预留字段"
}
},
"required": [
"IBA001",
"IBA003",
"IBA028"
],
"x-apifox-orders": [
"IBA001",
"IBA003",
"IBA028"
],
"title": "订单单头档"
},
"dcsibbs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"IBB001": {
"type": "string",
"title": "单号"
},
"IBB002": {
"type": "string",
"title": "序号"
},
"IBB028": {
"type": "string",
"title": "预留字段"
},
"state": {
"type": "integer"
}
},
"x-apifox-orders": [
"IBB001",
"IBB002",
"IBB028",
"state"
]
},
"title": "订单单身档"
},
"dcsibcs": {
"type": "array",
"items": {
"type": "string"
},
"title": "订单选配档"
}
},
"required": [
"dcsiba",
"dcsibbs",
"dcsibcs"
],
"x-apifox-orders": [
"dcsiba",
"dcsibbs",
"dcsibcs"
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://192.168.0.18:30000/api/rgw/order/Update' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "object",
"properties": {
"dcsiba": {
"type": "object",
"properties": {
"IBA001": {
"type": "string",
"title": "单号"
},
"IBA003": {
"type": "string",
"title": "日期"
},
"IBA028": {
"type": "string",
"title": "预留字段"
}
},
"required": [
"IBA001",
"IBA003",
"IBA028"
],
"x-apifox-orders": [
"IBA001",
"IBA003",
"IBA028"
],
"title": "订单单头档"
},
"dcsibbs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"IBB001": {
"type": "string",
"title": "单号"
},
"IBB002": {
"type": "string",
"title": "序号"
},
"IBB028": {
"type": "string",
"title": "预留字段"
},
"state": {
"type": "integer"
}
},
"x-apifox-orders": [
"IBB001",
"IBB002",
"IBB028",
"state"
]
},
"title": "订单单身档"
},
"dcsibcs": {
"type": "array",
"items": {
"type": "string"
},
"title": "订单选配档"
}
},
"required": [
"dcsiba",
"dcsibbs",
"dcsibcs"
],
"x-apifox-orders": [
"dcsiba",
"dcsibbs",
"dcsibcs"
]
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
null
必需
extras
null
必需
timestamp
integer
必需
timeConsuming
integer
必需
示例
{
"code": 200,
"msg": "操作成功",
"data": null,
"extras": null,
"timestamp": 1721271746889,
"timeConsuming": 173
}