版本:202201
批量删除采购项
DELETE/openapi/2022-01/procurements/:id/items
批量删除指定采购单中的采购项。
请求
Path参数
id string必填
Procurement's ID
- application/json
- 请求体
- 示例
请求体
procurement_item_idsstring[]
Procurements's IDs
{
"procurement_item_ids": [
"string"
]
}
响应
- 200
- 400
- 422
200
- application/json
无 Schema
400
- text/plain
- 数据结构
- 示例
- Result
数据结构
errorsstring[]
{
"errors": [
"invalid procurement_id"
]
}
{
"errors": [
"invalid procurement_id"
]
}
422
- application/json
- 数据结构
- 示例
- Result
数据结构
errorsstring[]
{
"errors": [
"The procurement cannot be operated"
]
}
{
"errors": [
"The procurement cannot be operated"
]
}