物料图纸信息上传
POST
/api/open/v2/items/blueprint/update
请求参数
Body 参数application/json
body
必需
Any of
code
string | null
必需
物料编码
blueprints
array[object (BluePrintFileParam) {4}] | null
必需
示例
{
"body": {
"code": "string",
"blueprints": [
{
"name": "string",
"url": "string",
"size": "string",
"type": "string"
}
]
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://c2.xinheyun.com/api/open/v2/items/blueprint/update' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": {
"code": "string",
"blueprints": [
{
"name": "string",
"url": "string",
"size": "string",
"type": "string"
}
]
}
}'
返回响应
🟢200成功
application/json
Body
基础http返回信息
code
integer
可选
message
string
可选
示例
{
"code": 0,
"message": ""
}