GAT1400视图库卡口相关接口
卡口相关接口
卡口查询
1.接口概览
URI | /VIID/Tollgates | ||
方法 | 查询字符串 | 消息体 | 返回结果 |
GET | Tollgate属性键-值对 | 无 | <TollgateList> |
备注 |
2.查询字符串
查询指令为Tollgate属性键-值对,特征属性定义参考A.3 。
3.返回结果
4.示例
URI | /VIID/Tollgates |
请求方法 | GET |
请求头 | 参见请求参数 |
查询参数 | ?TollgateID=65010000001210000080 & Name =huanggengxin & Longitude =13.145678 &… |
响应体 | { “TollgateListObject”: { “TollgateObject”: [ { “TollgateID”: “65010000001210000080”, “Name”: “huanggengxin”, “Longitude”: 13.145678, “Latitude”: 14.253654, “Place”: “jiedao”, “Status”: 1, “TollgateCat”: “30”, “TollgateCat2”: 80, “LaneNum”: 7, “OrgCode”: 650095768654, “ActiveTime”: “20171111122324” } ] } } |
车道相关接口
查询车道
1.接口概览
URI | /VIID/Lanes | ||
方法 | 查询字符串 | 消息体 | 返回结果 |
GET | Lane 属性键-值对 | 无 | <LaneList> |
备注 | Lane、LaneList 的定义应符合 C.4中的规定。 |
2.消息体特征参数
Lane 属性键-值对,字段定义参考A.4。
3.返回结果
4.示例
URI | /VIID/Lanes |
请求方法 | GET |
请求头 | 参见请求参数 |
查询参数 | ?TollgateID=65010000001210000001 &LaneId=4 &LaneNo=1&… |
响应体 | { “LaneListObject”: { “LaneObject”: [ { “TollgateID”: “65010000001210000001”, “LaneId”: 4, “LaneNo”: 1, “Name”: “123123123”, “Direction”: 1, “Desc”: “123123123”, “MaxSpeed”: 120, “CityPass”: 1, “ApeID”: “65010000001190000001” } ] } } |
机动车相关接口
批量机动车新增
1.接口概览
URI | /VIID/MotorVehicles | ||
方法 | 查询字符串 | 消息体 | 返回结果 |
POST | 无 | <MotorVehicleList > | <ResponseStatusList> |
备注 |
2.消息体特征参数
3.返回结果
4.示例
URI | /VIID/MotorVehicles |
请求方法 | POST |
请求头 | 参见请求参数 |
请求体 | { “MotorVehicleListObject”: { “MotorVehicleObject”: [ { “MotorVehicleID”: “330101010012100000010220171018080608022060269899”, “InfoKind”: 1, “SourceID”: “33010101001210000001022017101808060802206”, “TollgateID”: “2141245”, “DeviceID”: “65010000001190000001”, “StorageUrl1”: “9527/upload/122/20130901/00/0524-NAS221-50151415-AS.jpg”, “StorageUrl3”: “3”, “StorageUrl5”: “1”, “LeftTopX”: 1, “LeftTopY”: 2, “RightBtmX”: 3, “RightBtmY”: 4, “LaneNo”: 1, “HasPlate”: “1”, “PlateClass”: “99”, “PlateColor”: “99”, “PlateNo”: “苏NF5676”, “PlateNoAttach”: “1”, “PlateDescribe”: “12”, “IsDecked”: “1”, “IsAltered”: “1”, “IsCovered”: “1”, “Speed”: 8, “Direction”: “0”, “DrivingStatusCode”: “1”, “UsingPropertiesCode”: “1”, “VehicleClass”: “1”, “VehicleBrand”: “1”, “VehicleModel”: “1”, “VehicleStyles”: “12”, “VehicleLength”: 0, “VehicleWidth”: 23, “VehicleHeight”: 31, “VehicleColor”: “1”, “VehicleColorDepth”: “2”, “VehicleHood”: “4”, “VehicleTrunk”: “5”, “VehicleWheel”: “1”, “WheelPrintedPattern”: “1”, “VehicleWindow”: “1”, “VehicleRoof”: “1”, “VehicleDoor”: “1”, “SideOfVehicle”: “1”, “CarOfVehicle”: “1”, “RearviewMirror”: “1”, “VehicleChassis”: “1”, “VehicleShielding”: “1”, “FilmColor”: “1”, “IsModified”: “1”, “HitMarkInfo”: “1”, “VehicleBodyDesc”: “1”, “VehicleFrontItem”: “1”, “DescOfFrontItem”: “1”, “VehicleRearItem”: “4”, “DescOfRearItem”: “3”, “NumOfPassenger”: 2, “PassTime”: “20160912220107”, “NameOfPassedRoad”: “12”, “IsSuspicious”: “1”, “PlateReliability”: “1”, “PlateCharReliability”: “苏-80,B-90,1-90,2-88,3-90,4-67,5-87”, “BrandReliability”: “1”, “SubImageList”: { “SubImageInfoObject”: [ { “ImageID”: “33020300001190000001022017122111111100001”, “EventSort”: 4, “DeviceID”: “55220299011190000253”, “StoragePath”: “http://localhost:9080/testx_108_20170908/a2421c4fde6d4a74ac923e8470d6e7fa.jpg”, “Type”: “01”, “FileFormat”: “Jpeg”, “ShotTime”: “20170925032455”, “Width”: 437, “Height”: 350 } ] } } ] } } |
响应体 | { “ResponseStatusListObject”: { “ResponseStatusObject”: [ { “RequestURL”: “http://localhost:8080/VIID/MotorVehicles”, “StatusCode”: 0, “StatusString”: “正常”, “Id”: “330101010012100000010220171018080608022060269899”, “LocalTime”: “20171222104143” } ] } } |
批量机动车查询
1.接口概览
URI | /VIID/MotorVehicles | ||
方法 | 查询字符串 | 消息体 | 返回结果 |
GET | MotorVehicle属性键-值对 | 无 | < MotorVehicleList> |
备注 |
2. 查询字符串
查询指令为MotorVehicle属性键-值对,特征属性定义参考A.10 。
3.返回结果
4.示例
URI | /VIID/MotorVehicles |
请求方法 | GET |
请求头 | 参见请求参数 |
查询参数 | ?MotorVehicleID=330101010012100000010220171018080608022060269895 &InfoKind=1 &SourceID=33010101001210000001022017101808060802206 &DeviceID=65010000001190000001&… |
响应体 | { “MotorVehicleListObject”: { “MotorVehicleObject”: [ { “MotorVehicleID”: “330101010012100000010220171018080608022060269895”, “InfoKind”: 1, “SourceID”: “33010101001210000001022017101808060802206”, “DeviceID”: “65010000001190000001”, “StorageUrl1”: “9527/upload/122/20130901/00/0524-NAS221-50151415-AS.jpg”, “StorageUrl3”: “3”, “StorageUrl5”: “1”, “LeftTopX”: 1, “LeftTopY”: 2, “RightBtmX”: 3, “RightBtmY”: 4, “LaneNo”: 1, “HasPlate”: “1”, “PlateClass”: “99”, “PlateColor”: “99”, “PlateNo”: “苏NF5676”, “PlateNoAttach”: “1”, “PlateDescribe”: “12”, “IsDecked”: “1”, “IsAltered”: “1”, “IsCovered”: “1”, “Speed”: 8, “Direction”: “9”, “DrivingStatusCode”: “1”, “VehicleClass”: “X99”, “VehicleBrand”: “1”, “VehicleModel”: “1”, “VehicleStyles”: “12”, “VehicleLength”: 0, “VehicleColor”: “1”, “VehicleColorDepth”: “2”, “VehicleHood”: “4”, “VehicleTrunk”: “5”, “VehicleWheel”: “1”, “WheelPrintedPattern”: “1”, “VehicleWindow”: “1”, “VehicleRoof”: “1”, “VehicleDoor”: “1”, “SideOfVehicle”: “1”, “CarOfVehicle”: “1”, “RearviewMirror”: “1”, “VehicleChassis”: “1”, “VehicleShielding”: “1”, “FilmColor”: “1”, “HitMarkInfo”: “1”, “VehicleBodyDesc”: “1”, “VehicleFrontItem”: “1”, “DescOfFrontItem”: “1”, “VehicleRearItem”: “4”, “DescOfRearItem”: “3”, “PassTime”: “20160912220107”, “NameOfPassedRoad”: “12”, “IsSuspicious”: “1”, “SafetyBelt”: 0, “PlateReliability”: “1”, “PlateCharReliability”: “苏-80,B-90,1-90,2-88,3-90,4-67,5-87”, “BrandReliability”: “1”, “SubImageList”: { “SubImageInfoObject”: [ { “ImageID”: “33020300001190000001022017122111111100001”, “EventSort”: 1, “DeviceID”: “33070299011190000253”, “StoragePath”: “http://localhost:8080/pictures//07314a17009347ab86d1d4a9b52abd1d.jpg”, “Type”: “11”, “FileFormat”: “Jpeg”, “ShotTime”: “20171221104550”, “Width”: 100, “Height”: 100 } ] } } ] } } |
批量机动车修改
1.接口概览
URI | /VIID/MotorVehicles | ||
方法 | 查询字符串 | 消息体 | 返回结果 |
PUT | 无 | <MotorVehicleList > | <ResponseStatusList> |
备注 |
2.消息体特征参数
3.返回结果
4.示例
URI | /VIID/MotorVehicles |
请求方法 | PUT |
请求头 | 参见请求参数 |
请求体 | { “MotorVehicleListObject”: { “MotorVehicleObject”: [ { “MotorVehicleID”: “330101010012100000010220171018080608022060269899”, “InfoKind”: 1, “SourceID”: “33010101001210000001022017101808060802206”, “TollgateID”: “2141245”, “DeviceID”: “65010000001190000001”, “StorageUrl1”: “9527/upload/122/20130901/00/0524-NAS221-50151415-AS.jpg”, “StorageUrl3”: “3”, “StorageUrl5”: “1”, “LeftTopX”: 1, “LeftTopY”: 2, “RightBtmX”: 3, “RightBtmY”: 4, “LaneNo”: 1, “HasPlate”: “1”, “PlateClass”: “99”, “PlateColor”: “99”, “PlateNo”: “京A66666” ……. } ] } } |
响应体 | { “ResponseStatusListObject”: { “ResponseStatusObject”: [ { “RequestURL”: “http://localhost:8080/VIID/MotorVehicles”, “StatusCode”: 0, “StatusString”: “正常”, “Id”: “330101010012100000010220171018080608022060269899”, “LocalTime”: “20171223102656” } ] } } |
批量机动车删除
1. 接口概览
URI | /VIID/MotorVehicles | ||
方法 | 请求参数 | 消息体 | 返回结果 |
DELETE | 键为IDList,值为用英文半角分号”,”分隔的字符串 | 无 | <ResponseStatusList> |
备注 |
2. 请求参数
IDList=<MotorVehicleID>,<MotorVehicleID>。
3.返回结果
4.示例
URI | /VIID/MotorVehicles |
请求方法 | DELETE |
请求头 | 参见请求参数 |
请求参数 | ?IDList=330101010012100000010220171018080608022060269895, 330101010012100000010220171018080608022060269899 |
响应体 | { “ResponseStatusListObject”: { “ResponseStatusObject”: [ { “RequestURL”: “http://localhost:9080/VIID/MotorVehicles”, “StatusCode”: 0, “StatusString”: “正常”, “LocalTime”: “20171223103213” }, { “RequestURL”: “http://localhost:9080/VIID/MotorVehicles”, “StatusCode”: 0, “StatusString”: “正常”, “LocalTime”: “20171223103213” } ] } } |
单个机动车查询
1.接口概览
URI | /VIID/MotorVehicles/<ID> | ||
方法 | 查询字符串 | 消息体 | 返回结果 |
GET | 无 | 无 | < MotorVehicle> |
备注 |
2.返回结果
3.示例
URI | /VIID/MotorVehicles/330203000011900000010220171218150122000010200005 |
请求方法 | GET |
请求头 | 参见请求参数 |
响应体 | { “MotorVehicleObject”: { “MotorVehicleID”: “330203000011900000010220171218150122000010200005”, “InfoKind”: 1, “SourceID”: “33020300001190000001022017122111111100001”, “DeviceID”: “65010000001190000001”, “StorageUrl1”: “http://localhost:8080/1.jpg”, “StorageUrl2”: “http://localhost:8080/2.jpg”, “StorageUrl3”: “http://localhost:8080/3.jpg”, “StorageUrl4”: “http://localhost:8080/4.jpg”, “StorageUrl5”: “http://localhost:8080/5.jpg”, “LeftTopX”: 1, “LeftTopY”: 2, “RightBtmX”: 3, “RightBtmY”: 4, “MarkTime”: “20171102101241”, “DisappearTime”: “20171102101241”, “LaneNo”: 1, “HasPlate”: “1”, “PlateClass”: “99”, “PlateColor”: “1”, “PlateNo”: “京A66666”, “PlateNoAttach”: “京A88888”, “PlateDescribe”: “这是一个车牌号的描述”, “IsDecked”: “1”, “IsAltered”: “1”, “IsCovered”: “1”, “Speed”: 80, “Direction”: “9”, “DrivingStatusCode”: “01”, “VehicleClass”: “X99”, “VehicleBrand”: “0”, “VehicleModel”: “这是车辆型号描述”, “VehicleStyles”: “2000年”, “VehicleLength”: 12345, “VehicleColor”: “1”, “VehicleColorDepth”: “1”, “VehicleHood”: “这是车前盖的描述”, “VehicleTrunk”: “这是车后盖的描述”, “VehicleWheel”: “这是车轮的描述”, “WheelPrintedPattern”: “11”, “VehicleWindow”: “这是车窗的描述”, “VehicleRoof”: “这是车顶的描述”, “VehicleDoor”: “这是车门的描述”, “SideOfVehicle”: “这是车侧的描述”, “CarOfVehicle”: “这是车厢的描述”, “RearviewMirror”: “这是后视镜的描述”, “VehicleChassis”: “这是底盘的描述”, “VehicleShielding”: “这是遮挡的描述”, “FilmColor”: “1”, “HitMarkInfo”: “1”, “VehicleBodyDesc”: “这是车身的描述”, “VehicleFrontItem”: “1”, “DescOfFrontItem”: “这是车前部物品描述”, “VehicleRearItem”: “1”, “DescOfRearItem”: “这是车后部物品描述”, “PassTime”: “20171218150122”, “NameOfPassedRoad”: “这是经过道路的名称描述”, “IsSuspicious”: “1”, “Sunvisor”: 1, “SafetyBelt”: 1, “Calling”: 1, “PlateReliability”: “80”, “PlateCharReliability”: “苏-80,B-90,1-90,2-88,3-90,4-67,5-87”, “BrandReliability”: “88”, “SubImageList”: { “SubImageInfoObject”: [ { “ImageID”: “33020300001190000001022017122111111100001”, “EventSort”: 4, “DeviceID”: “55220299011190000253”, “StoragePath”: “http://localhost:8080/testx_108_20170908/a2421c4fde6d4a74ac923e8470d6e7fa.jpg”, “Type”: “01”, “FileFormat”: “Jpeg”, “ShotTime”: “20170925032455”, “Width”: 437, “Height”: 350 } ] } } } |
单个机动车修改
1.接口概览
URI | /VIID/MotorVehicles/<ID> | ||
方法 | 查询字符串 | 消息体 | 返回结果 |
PUT | 无 | <MotorVehicle> | <ResponseStatus> |
备注 |
2.消息体特征参数
3.返回结果
4.示例
URI | /VIID/MotorVehicles/330203000011900000010220171218150122000010200005 |
请求方法 | PUT |
请求头 | 参见请求参数 |
请求体 | { “MotorVehicleObject”: { “InfoKind”: 1, “SourceID”: “33010101001210000001022017101808060802206”, “TollgateID”: “2141245”, “DeviceID”: “65010000001190000001”, “StorageUrl1”: “9527/upload/122/20130901/00/0524-NAS221-50151415-AS.jpg”, “StorageUrl3”: “3”, “StorageUrl5”: “1”, “LeftTopX”: 1, “LeftTopY”: 2, “RightBtmX”: 3, “RightBtmY”: 4, “LaneNo”: 1, “HasPlate”: “1”, “PlateClass”: “99”, “PlateColor”: “99”, “PlateNo”: “苏NF5676”, “PlateNoAttach”: “1”, “PlateDescribe”: “12”, “IsDecked”: “1”, “IsAltered”: “1”, “IsCovered”: “1”, “Speed”: 8, “Direction”: “0”, “DrivingStatusCode”: “1”, “UsingPropertiesCode”: “1”, “VehicleClass”: “1”, “VehicleBrand”: “1”, “VehicleModel”: “1”, “VehicleStyles”: “12”, “VehicleLength”: 0, “VehicleWidth”: 23, “VehicleHeight”: 31, “VehicleColor”: “1”, “VehicleColorDepth”: “2”, “VehicleHood”: “4”, “VehicleTrunk”: “5”, “VehicleWheel”: “1”, “WheelPrintedPattern”: “1”, “VehicleWindow”: “1”, “VehicleRoof”: “1”, “VehicleDoor”: “1”, “SideOfVehicle”: “1”, “CarOfVehicle”: “1”, “RearviewMirror”: “1”, “VehicleChassis”: “1”, “VehicleShielding”: “1”, “FilmColor”: “1”, “IsModified”: “1”, “HitMarkInfo”: “1”, “VehicleBodyDesc”: “1”, “VehicleFrontItem”: “1”, “DescOfFrontItem”: “1”, “VehicleRearItem”: “4”, “DescOfRearItem”: “3”, “NumOfPassenger”: 2, “PassTime”: “20160912220107”, “NameOfPassedRoad”: “12”, “IsSuspicious”: “1”, “PlateReliability”: “1”, “PlateCharReliability”: “苏-80,B-90,1-90,2-88,3-90,4-67,5-87”, “BrandReliability”: “1”, “SubImageList”: { “SubImageInfoObject”: [ { “ImageID”: “33020300001190000001022017122111111100001”, “EventSort”: 4, “DeviceID”: “55220299011190000253”, “StoragePath”: “http://localhost:9080/testx_108_20170908/a2421c4fde6d4a74ac923e8470d6e7fa.jpg”, “Type”: “01”, “FileFormat”: “Jpeg”, “ShotTime”: “20170925032455”, “Width”: 437, “Height”: 350 } ] } } } |
响应体 | { “ResponseStatusObject”: { “RequestURL”: “http://localhost:8080/VIID/MotorVehicles/330203000011900000010220171218150122000010200005”, “StatusCode”: 0, “StatusString”: “正常”, “Id”: “330203000011900000010220171218150122000010200005”, “LocalTime”: “20171223135728” } } |
单个机动车删除
1.接口概览
URI | /VIID/MotorVehicles/<ID> | ||
方法 | 查询字符串 | 消息体 | 返回结果 |
DELETE | 无 | 无 | <ResponseStatus> |
备注 |
2.返回结果
3.示例
URI | /VIID/DELETE/330203000011900000010220171218150122000010200005 |
请求方法 | DELETE |
请求头 | 参见请求参数 |
响应体 | { “ResponseStatusObject”: { “RequestURL”: “http://172.6.3.107/VIID/MotorVehicles/330203000011900000010220171218150122000010200005”, “StatusCode”: 0, “StatusString”: “正常”, “LocalTime”: “20171223140026” } } |
非机动车相关接口
批量非机动车新增
1.接口概览
URI | /VIID/NonMotorVehicles | ||
方法 | 查询字符串 | 消息体 | 返回结果 |
POST | 无 | <NonMotorVehicleList > | <ResponseStatusList> |
备注 |
2.消息体特征参数
3.返回结果
4.示例
URI | /VIID/NonMotorVehicles |
请求方法 | POST |
请求头 | 参见请求参数 |
请求体 | { “NonMotorVehicleListObject”: { “NonMotorVehicleObject”: [ { “NonMotorVehicleID”: “330101010012100000010220171018080608022060369856”, “InfoKind”: 1, “SourceID”: “33010101001210000001022017101808060802206”, “DeviceID”: “65010000001190000001”, “LeftTopX”: 4, “LeftTopY”: 2, “RightBtmX”: 21, “RightBtmY”: 23, “HasPlate”: “1”, “PlateClass”: “01”, “PlateColor”: “2”, “PlateNo”: “京A66666”, “PlateNoAttach”: “312”, “PlateDescribe”: “312”, “IsDecked”: “1”, “IsAltered”: “1”, “IsCovered”: “1”, “DrivingStatusCode”: “5”, “UsingPropertiesCode”: “152”, “VehicleBrand”: “2”, “VehicleType”: “1”, “VehicleLength”: 12, “VehicleWidth”: 45, “VehicleHeight”: 45, “VehicleColor”: “2”, “VehicleHood”: “44”, “VehicleTrunk”: “55”, “VehicleWheel”: “33”, “WheelPrintedPattern”: “2”, “VehicleWindow”: “013”, “VehicleRoof”: “1”, “VehicleDoor”: “1”, “SideOfVehicle”: “1”, “CarOfVehicle”: “1”, “RearviewMirror”: “1”, “VehicleChassis”: “1”, “VehicleShielding”: “1”, “FilmColor”: “1”, “SubImageList”: { “SubImageInfoObject”: [ { “ImageID”: “33020300001190000001022017122111111100001”, “EventSort”: 4, “DeviceID”: “55220299011190000253”, “StoragePath”: “http://localhost:9080/testx_108_20170908/a2421c4fde6d4a74ac923e8470d6e7fa.jpg”, “Type”: “01”, “FileFormat”: “Jpeg”, “ShotTime”: “20170925032455”, “Width”: 437, “Height”: 350 } ] } } ] } } |
响应体 | { “ResponseStatusListObject”: { “ResponseStatusObject”: [ { “RequestURL”: “http://localhost/VIID/NonMotorVehicles”, “StatusCode”: 0, “StatusString”: “正常”, “Id”: “330101010012100000010220171018080608022060369856”, “LocalTime”: “20171222104652” } ] } } |
批量非机动车查询
1.接口概览
URI | /VIID/NonMotorVehicles | ||
方法 | 查询字符串 | 消息体 | 返回结果 |
GET | NonMotorVehicle属性键-值对 | 无 | <NonMotorVehicleList> |
备注 |
2.查询字符串
查询指令为NonMotorVehicle属性键-值对,特征属性定义参考A.11 。
3.返回结果
4.示例
URI | /VIID/NonMotorVehicles |
请求方法 | GET |
请求头 | 参见请求参数 |
查询参数 | ?NonMotorVehicleID=330101010012100000010220171018080608022060269856 &LeftTopX=4&… |
响应体 | { “NonMotorVehicleListObject”: { “NonMotorVehicleObject”: [ { “NonMotorVehicleID”: “330101010012100000010220171018080608022060269856”, “InfoKind”: 1, “SourceID”: “33010101001210000001022017101808060802206”, “DeviceID”: “33010101001210000001”, “LeftTopX”: 4, “LeftTopY”: 2, “RightBtmX”: 21, “RightBtmY”: 23, “HasPlate”: “1”, “PlateClass”: “1”, “PlateColor”: “2”, “PlateNo”: “312”, “PlateNoAttach”: “312”, “PlateDescribe”: “312”, “IsDecked”: “1”, “IsAltered”: “1”, “IsCovered”: “1”, “DrivingStatusCode”: “5”, “UsingPropertiesCode”: “152”, “VehicleBrand”: “2”, “VehicleType”: “1”, “VehicleLength”: 12, “VehicleWidth”: 45, “VehicleHeight”: 45, “VehicleColor”: “2”, “VehicleHood”: “44”, “VehicleTrunk”: “55”, “VehicleWheel”: “33”, “WheelPrintedPattern”: “2”, “VehicleWindow”: “013”, “VehicleRoof”: “1”, “VehicleDoor”: “1”, “SideOfVehicle”: “1”, “CarOfVehicle”: “1”, “RearviewMirror”: “1”, “VehicleChassis”: “1”, “VehicleShielding”: “1”, “FilmColor”: 1 } ] } } |
批量非机动车修改
1.接口概览
URI | /VIID/NonMotorVehicles | ||
方法 | 查询字符串 | 消息体 | 返回结果 |
PUT | 无 | <NonMotorVehicleList > | <ResponseStatusList> |
备注 |
2.消息体特征参数
3.返回结果
4.示例
URI | /VIID/NonMotorVehicles |
请求方法 | PUT |
请求头 | 参见请求参数 |
请求体 | { “NonMotorVehicleListObject”: { “NonMotorVehicleObject”: [ { “NonMotorVehicleID”: “330101010012100000010220171018080608022060369856”, “InfoKind”: 1, “SourceID”: “33010101001210000001022017101808060802206”, “DeviceID”: “65010000001190000001”, “LeftTopX”: 4, “LeftTopY”: 2, “RightBtmX”: 21, “RightBtmY”: 23, “HasPlate”: “1”, “PlateClass”: “01”, “PlateColor”: “2”, “PlateNo”: “京A66666”, “PlateNoAttach”: “312”, “PlateDescribe”: “312”, “IsDecked”: “1”, “IsAltered”: “1”, “IsCovered”: “1”, “DrivingStatusCode”: “5”, “UsingPropertiesCode”: “152”, “VehicleBrand”: “2”, “VehicleType”: “1”, “VehicleLength”: 12, “VehicleWidth”: 45, “VehicleHeight”: 45, “VehicleColor”: “2”, “VehicleHood”: “44”, “VehicleTrunk”: “55”, “VehicleWheel”: “33”, “WheelPrintedPattern”: “2” … } ] } } |
响应体 | { “ResponseStatusListObject”: { “ResponseStatusObject”: [ { “RequestURL”: “http://localhost/VIID/NonMotorVehicles”, “StatusCode”: 0, “StatusString”: “正常”, “Id”: “330101010012100000010220171018080608022060369856”, “LocalTime”: “20171222104652” } ] } } |
批量非机动车删除
1.接口概览
URI | /VIID/NonMotorVehicles | ||
方法 | 查询字符串 | 消息体 | 返回结果 |
DELETE | 键为IDList,值为用英文半角分号”,”分隔的字符串 | 无 | <ResponseStatusList> |
备注 |
2.请求参数
IDList=<NonMotorVehicleID>,<NonMotorVehicleID>。
3.返回结果
4.示例
URI | /VIID/NonMotorVehicles |
请求方法 | DELETE |
请求头 | 参见请求参数 |
请求参数 | ?IDList=330101010012100000010220171018080608022060369856 |
响应体 | { “ResponseStatusListObject”: { “ResponseStatusObject”: [ { “RequestURL”: “http://localhost:9080/VIID/NonMotorVehicles”, “StatusCode”: 0, “StatusString”: “正常”, “LocalTime”: “20171225095830” } ] } } |
单个非机动车查询
1.接口概览
URI | /VIID/NonMotorVehicles/<ID> | ||
方法 | 查询字符串 | 消息体 | 返回结果 |
GET | 无 | 无 | < NonMotorVehicle > |
备注 |
2.返回结果
3.示例
URI | /VIID/NonMotorVehicles/330101010012100000010220171018080608022060369856 |
请求方法 | GET |
请求头 | 参见请求参数 |
响应体 | { “NonMotorVehicleObject”: { “NonMotorVehicleID”: “330101010012100000010220171018080608022060369856”, “InfoKind”: 1, “SourceID”: “33010101001210000001022017101808060802206”, “DeviceID”: “65010000001190000001”, “LeftTopX”: 4, “LeftTopY”: 2, “RightBtmX”: 21, “RightBtmY”: 23, “HasPlate”: “1”, “PlateClass”: “01”, “PlateColor”: “2”, “PlateNo”: “京A66666”, “PlateNoAttach”: “312”, “PlateDescribe”: “312”, “IsDecked”: “1”, “IsAltered”: “1”, “IsCovered”: “1”, “DrivingStatusCode”: “5”, “UsingPropertiesCode”: “152”, “VehicleBrand”: “2”, “VehicleType”: “1”, “VehicleLength”: 12, “VehicleWidth”: 45, “VehicleHeight”: 45, “VehicleColor”: “2”, “VehicleHood”: “44”, “VehicleTrunk”: “55”, “VehicleWheel”: “33”, “WheelPrintedPattern”: “2”, “VehicleWindow”: “013”, “VehicleRoof”: “1”, “VehicleDoor”: “1”, “SideOfVehicle”: “1”, “CarOfVehicle”: “1”, “RearviewMirror”: “1”, “VehicleChassis”: “1”, “VehicleShielding”: “1”, “FilmColor”: 1 } } |
单个非机动车修改
1.接口概览
URI | /VIID/NonMotorVehicles/<ID> | ||
方法 | 查询字符串 | 消息体 | 返回结果 |
PUT | 无 | <NonMotorVehicle > | <ResponseStatus> |
备注 |
2.消息体特征参数
3.返回结果
4.示例
URI | /VIID/NonMotorVehicles/330101010012100000010220171018080608022060369856 |
请求方法 | PUT |
请求头 | 参见请求参数 |
请求体 | { “NonMotorVehicleObject”: { “NonMotorVehicleID”: “330101010012100000010220171018080608022060369856”, “InfoKind”: 1, “SourceID”: “33010101001210000001022017101808060802206”, “DeviceID”: “65010000001190000001”, “LeftTopX”: 4, “LeftTopY”: 2, “RightBtmX”: 21, “RightBtmY”: 23, “HasPlate”: “1”, “PlateClass”: “01”, “PlateColor”: “2”, “PlateNo”: “京A66666”, “PlateNoAttach”: “312”, “PlateDescribe”: “312”, “IsDecked”: “1”, “IsAltered”: “1”, “IsCovered”: “1”, “DrivingStatusCode”: “5”, “UsingPropertiesCode”: “152”, “VehicleBrand”: “2”, “VehicleType”: “1”, “VehicleLength”: 12, “VehicleWidth”: 45, “VehicleHeight”: 45, “VehicleColor”: “2”, “VehicleHood”: “44”, “VehicleTrunk”: “55”, “VehicleWheel”: “33”, “WheelPrintedPattern”: “2”, “VehicleWindow”: “013”, “VehicleRoof”: “1”, “VehicleDoor”: “1”, “SideOfVehicle”: “1”, “CarOfVehicle”: “1”, “RearviewMirror”: “1”, “VehicleChassis”: “1”, “VehicleShielding”: “1”, “FilmColor”: “1”, “SubImageList”: { “SubImageInfoObject”: [ { “ImageID”: “33020300001190000001022017122111111100001”, “EventSort”: 4, “DeviceID”: “55220299011190000253”, “StoragePath”: “http://localhost:9080/testx_108_20170908/a2421c4fde6d4a74ac923e8470d6e7fa.jpg”, “Type”: “01”, “FileFormat”: “Jpeg”, “ShotTime”: “20170925032455”, “Width”: 437, “Height”: 350 } ] } } } |
响应体 | { “ResponseStatusObject”: { “RequestURL”: “http://localhost:8080/VIID/NonMotorVehicles/330101010012100000010220171018080608022060369856”, “StatusCode”: 0, “StatusString”: “正常”, “Id”: “330101010012100000010220171018080608022060369856”, “LocalTime”: “20171225100249” } } |
单个非机动车删除
1.接口概览
URI | /VIID/NonMotorVehicles/<ID> | ||
方法 | 查询字符串 | 消息体 | 返回结果 |
DELETE | 无 | 无 | < ResponseStatus > |
备注 |
2.返回结果
3.示例
URI | /VIID/NonMotorVehicles/330101010012100000010220171018080608022060369856 |
请求方法 | DELETE |
请求头 | 参见请求参数 |
响应体 | { “ResponseStatusObject”: { “RequestURL”: “http://localhost:8080/VIID/NonMotorVehicles/330101010012100000010220171018080608022060369856”, “StatusCode”: 0, “StatusString”: “正常”, “LocalTime”: “20171225100642” } } |