document
API test

申请借用

POST
/asset/apply

API description

直接将对应数量的这类物资状态置为审核中,同时将这批明细物资ID列表存放至某字段,新增一条审批表项,要有发起人、处理人、审批状态、借用原因、物品大类名、起时间、止时间、物品数量等字段

Request Parameters

parameter
type
description
required
token
required
assetId
required
from
string
yyyy-MM-dd HH:mm:ss时间字符串
required
to
string
yyyy-MM-dd HH:mm:ss时间字符串
required
reason
string
借用原因
required
count
申请数量
required
placeId
申请物资所在仓库
required

Response Parameters

parameter
type
description
required
data
string
申请成功,请耐心等待审批/失败原因
required