# 查询业务指标
# 简介
查询业务指标
# 服务提供方
享道
# 接口URL(示例)
/openapi/order/metrics
# 请求方式
POST
# 请求频次
单次
# 请求参数
参数名称 | 类型 | 必选 | 说明 |
---|---|---|---|
timestamp | long | 是 | 请求时间,Unix Timestamp单位毫秒 |
data_date | string | 是 | 日期,如2024-01-17 |
data_time | string | 是 | 时间,如16:10,只能为整数10分钟 |
city_code | string | 否 | 城市编码, 不传时返回所有城市 |
# 响应参数
参数名称 | 类型 | 必有 | 说明 |
---|---|---|---|
errCode | int | 是 | 服务响应状态,参见附录5 |
errMsg | string | 是 | 服务响应状态说明,参见附录5 |
content | object | 是 | |
content.data | list | 是 | 分城市数据 |
content.data[].city_code | string | 是 | 城市编码 |
content.data[].total_demand_cnts | long | 是 | 当日累计呼叫数 |
content.data[].total_dispatch_cnts | long | 是 | 当日累计举手数 |
content.data[].total_confirm_cnts | long | 是 | 当日累计确认数 |
# 请求示例
请求
curl --location --request POST 'https://open-sit.saicmobility.com/merchant/v1/openapi/order/metrics' \
--header 'X-Sign: f79f59997530992a9849f8bf9b0018c0f9254a80' \
--header 'X-SignAlgorithm: 1' \
--header 'X-Timestamp: 20201020193600' \
--header 'X-MerchantId: xxx' \
--header 'Content-Type: application/json' \
--data-raw '{"timestamp":1603192859627,"dataDate":"2024-01-17","data_time":"16:10", "city_code":"021"}'
响应
{
"errCode": 10000,
"errMsg": "successful",
"content": {
"data": [
{
"city_code": "021",
"total_demand_cnts": 1111,
"total_dispatch_cnts": 111,
"total_confirm_cnts": 11
}
]
}
}