文档
测试

车流量分析列表

POST
http://app.test.babazhixing.com/api/Statistical/cartraffic_analysis

请求头

参数名
类型
描述
必填
token
string
示例:uyhfuwhui2121
必填

请求参数

参数名
类型
描述
必填
parkid
string
示例:14 (停车场编号)
必填
time_type
string
时间类型(day:按日 | mon:按月 | year:按年 | self:自定义)
必填
stime
int
开始时间戳
必填
etime
int
结束时间戳
必填
channel_id
int
车道ID
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
data
array
所有数据
必填
rows
array
必填
times
string
时间
必填
allcounts
int
总次数
必填
tempcounts
int
临时车次数
必填
whitecounts
int
白名单车次数
必填
customcounts
int
特殊车次数
必填
alltotals
int
总数
必填
lists
array
必填
channel_name
string
车道名
必填
counts
int
流量数
必填
msg
string
任何信息
必填

说明 / 示例

## 返回示例 { "code": 200, "data": { "row": [ { "times": 1, "allcounts": 2, "tempcounts": 2, "whitecounts": 0, "customcounts": 0 }, { "times": 2, "allcounts": 15, "tempcounts": 15, "whitecounts": 0, "customcounts": 0 }, { "times": 3, "allcounts": 1, "tempcounts": 1, "whitecounts": 0, "customcounts": 0 }, { "times": 4, "allcounts": 0, "tempcounts": 0, "whitecounts": 0, "customcounts": 0 }, { "times": 5, "allcounts": 0, "tempcounts": 0, "whitecounts": 0, "customcounts": 0 }, { "times": 6, "allcounts": 2, "tempcounts": 2, "whitecounts": 0, "customcounts": 0 }, { "times": 7, "allcounts": 0, "tempcounts": 0, "whitecounts": 0, "customcounts": 0 }, { "times": 8, "allcounts": 10, "tempcounts": 10, "whitecounts": 0, "customcounts": 0 }, { "times": 9, "allcounts": 12, "tempcounts": 12, "whitecounts": 0, "customcounts": 0 }, { "times": 10, "allcounts": 0, "tempcounts": 0, "whitecounts": 0, "customcounts": 0 }, { "times": 11, "allcounts": 0, "tempcounts": 0, "whitecounts": 0, "customcounts": 0 }, { "times": 12, "allcounts": 0, "tempcounts": 0, "whitecounts": 0, "customcounts": 0 }, { "times": 13, "allcounts": 0, "tempcounts": 0, "whitecounts": 0, "customcounts": 0 }, { "times": 14, "allcounts": 0, "tempcounts": 0, "whitecounts": 0, "customcounts": 0 }, { "times": 15, "allcounts": 0, "tempcounts": 0, "whitecounts": 0, "customcounts": 0 }, { "times": 16, "allcounts": 0, "tempcounts": 0, "whitecounts": 0, "customcounts": 0 }, { "times": 17, "allcounts": 0, "tempcounts": 0, "whitecounts": 0, "customcounts": 0 }, { "times": 18, "allcounts": 0, "tempcounts": 0, "whitecounts": 0, "customcounts": 0 }, { "times": 19, "allcounts": 0, "tempcounts": 0, "whitecounts": 0, "customcounts": 0 }, { "times": 20, "allcounts": 0, "tempcounts": 0, "whitecounts": 0, "customcounts": 0 }, { "times": 21, "allcounts": 0, "tempcounts": 0, "whitecounts": 0, "customcounts": 0 }, { "times": 22, "allcounts": 0, "tempcounts": 0, "whitecounts": 0, "customcounts": 0 }, { "times": 23, "allcounts": 0, "tempcounts": 0, "whitecounts": 0, "customcounts": 0 }, { "times": 24, "allcounts": 0, "tempcounts": 0, "whitecounts": 0, "customcounts": 0 }, { "times": 25, "allcounts": 0, "tempcounts": 0, "whitecounts": 0, "customcounts": 0 }, { "times": 26, "allcounts": 0, "tempcounts": 0, "whitecounts": 0, "customcounts": 0 }, { "times": 27, "allcounts": 0, "tempcounts": 0, "whitecounts": 0, "customcounts": 0 }, { "times": 28, "allcounts": 0, "tempcounts": 0, "whitecounts": 0, "customcounts": 0 }, { "times": 29, "allcounts": 0, "tempcounts": 0, "whitecounts": 0, "customcounts": 0 }, { "times": 30, "allcounts": 0, "tempcounts": 0, "whitecounts": 0, "customcounts": 0 }, { "times": 31, "allcounts": 0, "tempcounts": 0, "whitecounts": 0, "customcounts": 0 } ] }, "msg": "" }