文档
测试

添加路线

POST
192.168.0.23:8044/routeStation/add

接口描述

传一个json数组 添加时, 路线code需要保持一致,orderNo需要从1递增,站点不能重复,开门状态要有

请求参数

参数名
类型
描述
必填
0
object
数据字典
必填
routeCode
string
示例:tele
必填
stationCode
string
示例:he
必填
orderNo
int
示例:1
必填
upDoorStatus
object
示例:null
必填
downDoorStatus
object
示例:null
必填
firstUpArriveTime
首发上行到达时间
必填
firstDownArriveTime
首发下行到达时间
必填
lastUpArriveTime
末班上行到达时间
必填
lastDownArriveTime
末班下行到达时间
必填
1
object
数据字典
必填
routeCode
string
示例:tele
必填
stationCode
string
示例:he
必填
orderNo
int
示例:2
必填
upDoorStatus
object
示例:null
必填
downDoorStatus
object
示例:null
必填
firstUpArriveTime
必填
firstDownArriveTime
必填
lastUpArriveTime
必填
lastDownArriveTime
必填

响应参数

参数名
类型
描述
必填
status
-8 重复的路线code -14参数错误
必填

说明 / 示例

[ { "id": null, "routeCode": "tele", "stationCode": "he", "orderNo": 1, "upDoorStatus": null, "downDoorStatus": null }, { "id": null, "routeCode": "tele", "stationCode": "he", "orderNo": 2, "upDoorStatus": null, "downDoorStatus": null } ]