计价规则
正式环境
正式环境
GET
/v1/product/standard
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.xiaojukeji.com//v1/product/standard?lat=40.058922&lng=116.312615' \
--header 'Authorization: Bearer domain|{access_token}' \
--header 'Authorization;' \
--header 'Content-Type: application/x-www-form-urlencode'
响应示例响应示例
[
{
"product_type": "string",
"ride_type": "string",
"price_details": {
"distance_unit": "string",
"cost_per_minute": 0,
"minimum": 0,
"cost_per_distance": 0,
"base": 0,
"cancellation_fee": 0,
"currency_code": "string"
}
}
]
请求参数
Query 参数
lat
string
起点纬度
示例值:
40.058922
lng
string
起点经度
示例值:
116.312615
ride_type
string
运力类型
示例值:
compact
product_type
string
产品类型
示例值:
private-car
map_type
string
可选
Header 参数
Content-Type
string
必需
示例值:
application/x-www-form-urlencode
Authorization
string
必需
示例值:
Bearer domain|{access_token}
undefined
string
可选
返回响应
修改于 2021-11-21 07:49:08