文档
测试

新增白名单

POST
http://ip:port/LAPI/V1.0/ParkingLots/Vehicle/AllowList

接口描述

新增白名单车辆

请求参数

参数名
类型
描述
必填
Num
int
新增白名单数量,单次16条名单以内
必填
AllowListInfo
array
白名单车辆信息
必填
AllowID
int
白名单ID,此ID为平台中该白名单的唯一ID值
必填
PlateNo
string
车牌号码,UTF-8编码。例:浙A12345
必填
OwnerName
string
车主姓名,UTF-8编码。例:张三
必填
PhoneNo
string
手机号码,例:123456789
必填
BeginTime
int
开始时间,UTC时间,单位秒。例:1592807453
必填
EndTime
int
结束时间,UTC时间,单位秒。例:1592807453
必填
Remarks
string
备注,例:固定放行车辆
必填

响应参数

参数名
类型
描述
必填
Response
object
响应消息
必填
ResponseURL
string
响应URL,例:/LAPI/V1.0/ParkingLots/Vehicle/AllowList
必填
CreatedID
int
仅新增订阅用户时,该字段有意义,其余无意义,默认:-1
必填
ResponseCode
int
响应结果码,涉及:0-成功;1-通用错误;2-参数非法;3-未鉴权;4-设备不支持
必填
SubResponseCode
int
子响应结果,仅ResponseCode为3时字段有意义,涉及:0-正常鉴权失败;1-需要二次鉴权
必填
ResponseString
string
响应结果描述,涉及:0-Succeed;1-Common Error;2-Invalid Arguments;3-Not Authorized;4-Not Supported
必填
StatusCode
int
标准响应码,涉及:200;401
必填
StatusString
string
响应描述,涉及:200-Succeed;401-Unauthorized
必填
Data
string
数据
必填

说明 / 示例

请求示例: { "Num": 2, "AllowListInfo": [ { "AllowID": 1, "PlateNo": "浙A12345", "OwnerName": "张三", "PhoneNo": "123456789", "BeginTime": 1592807453, "EndTime": 1592807453, "Remarks": "固定放行车辆" },{ "AllowID": 2, "PlateNo": "浙A66666", "OwnerName": "李四", "PhoneNo": "123456789", "BeginTime": 1592807453, "EndTime": 1592807453, "Remarks": "固定放行车辆" }] } 响应示例: { "Response": { "ResponseURL": "/LAPI/V1.0/ParkingLots/Vehicle/AllowList", "CreatedID": -1, "ResponseCode": 0, "SubResponseCode": 0, "ResponseString": "Succeed", "StatusCode": 0, "StatusString": "Succeed", "Data": "null" } }