- 电商
- 电商-公务舱
- 乐山
- 乐山-文旅
- 文旅-商品
- 文旅-枚举
- 文旅- 点位
- 文旅-活动
- 文旅-订单商品项
- 文旅-订单评价
- 文旅-用户反馈
- 文旅-核销人员关联
- 文旅-订单
- 小羊-web
- 砂石
新增
POST
/samms-base/trans-volume-statistic/insert
请求参数
Body 参数application/json
constructionId
string
工地id
<= 64 字符
topsoilTransVolume
number
表土运输方量
topsoilTransVolumeFixed
number
表土运输方量-修正
topsoilTransCount
integer
表土运输次数
topsoilTransCountFixed
integer
表土运输次数-修正
gravelTransVolume
number
砂石运输方量
gravelTransVolumeFixed
number
砂石运输方量-修正
gravelTransCount
integer
砂石运输次数
gravelTransCountFixed
integer
砂石运输次数-修正
gravelSaleVolume
number
砂石拍卖运输方量
gravelSaleVolumeFixed
number
可选
gravelSaleCount
integer
砂石拍卖运输次数
gravelSaleCountFixed
integer
可选
示例
{
"constructionId": "string",
"topsoilTransVolume": 0,
"topsoilTransVolumeFixed": 0,
"topsoilTransCount": 0,
"topsoilTransCountFixed": 0,
"gravelTransVolume": 0,
"gravelTransVolumeFixed": 0,
"gravelTransCount": 0,
"gravelTransCountFixed": 0,
"gravelSaleVolume": 0,
"gravelSaleVolumeFixed": 0,
"gravelSaleCount": 0,
"gravelSaleCountFixed": 0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/samms-base/trans-volume-statistic/insert' \
--header 'Content-Type: application/json' \
--data-raw '{
"constructionId": "string",
"topsoilTransVolume": 0,
"topsoilTransVolumeFixed": 0,
"topsoilTransCount": 0,
"topsoilTransCountFixed": 0,
"gravelTransVolume": 0,
"gravelTransVolumeFixed": 0,
"gravelTransCount": 0,
"gravelTransCountFixed": 0,
"gravelSaleVolume": 0,
"gravelSaleVolumeFixed": 0,
"gravelSaleCount": 0,
"gravelSaleCountFixed": 0
}'
返回响应
🟢200成功
application/json
Body
code
integer
错误码
data
object
返回数据
msg
string
可选
示例
{
"code": 0,
"data": {},
"msg": ""
}