- api-passenger
- service-verificationCode
- service-passenger-user
- service-price
- service-map
- service-driver-user
- api-boos
- api-driver
- service-order
- service-sse-push
修改计价规则
开发中
POST
/price-rule/edit
请求参数
Body 参数application/json
cityCode
string
必需
vehicleType
string
必需
startFare
integer
必需
startMile
integer
必需
unitPricePerMile
integer
必需
unitPricePerMinute
integer
必需
示例
{
"cityCode": "string",
"vehicleType": "string",
"startFare": 0,
"startMile": 0,
"unitPricePerMile": 0,
"unitPricePerMinute": 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 '/price-rule/edit' \
--header 'Content-Type: application/json' \
--data-raw '{
"cityCode": "string",
"vehicleType": "string",
"startFare": 0,
"startMile": 0,
"unitPricePerMile": 0,
"unitPricePerMinute": 0
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
示例
{
"code": 0,
"message": "string"
}
修改于 2022-11-30 08:36:23