全部产品
云市场

ListShadowSchemas

更新时间:2018-09-19 19:03:50

描述

根据项目id,分页信息获取schema的分页数据

请求参数

参数 类型 是否必选 示例值 描述
ProjectId String PIC3UA0V

项目id

PageIndex Integer 1

查询的页码

PageSize Integer 10

每页查询的数量

QueryType String deviceModelId

查询类型

QueryValue String 120

和查询类型匹配的查询值

返回参数

参数 类型 示例值 描述
RequestId String 629586FE-CB2E-4742-995E-121F952CEB72

本次请求编号

PageList

查询结果列表

  └List

结果列表

    └AuthTypeDesc String 基于账号

认证类型描述

    └Id Long 12

数据唯一记录id

    └ProjectId String PIC3UA0V

项目id

    └DeviceModelId Long 120

设备型号id

    └DeviceModel String model_2nd

设备机型

    └ModuleSchema String {“a”:”b”}

机型shema信息

    └Namespace String b09e93ce436aaf0dcfc2fb2004c1fde8

命名空间

    └AuthType Integer 0

账号认证类型

    └GmtCreate Long 1537255499517

创建时间

    └GmtModified Long 1537255499517

修改时间

  └Pagination

分页信息

    └TotalCount Integer 10

总记录数

    └TotalPageCount Integer 1

总页数

    └PageIndex Integer 1

当前页

    └PageSize Integer 10

每页记录数

    └SimpleSign Boolean false

是否简单验证(无参考价值)

    └HasNextPage Boolean false

是否有下一页

示例

请求示例

  1. /?ProjectId=PIC3UA0V
  2. &PageIndex=1
  3. &PageSize=10
  4. &QueryType=deviceModelId
  5. &QueryValue=120
  6. &<公共请求参数>

正常返回示例

JSON 格式

  1. {
  2. "PageList":{
  3. "List":[{
  4. "AuthType":101,
  5. "AuthTypeDesc":"用户模式",
  6. "DeviceModel":"model_2nd",
  7. "DeviceModelId":208,
  8. "GmtCreate":1537255499517,
  9. "GmtModified":1537255499517,
  10. "Id":53,
  11. "ModuleSchema":"{\"ecu\": {\"node_desc\": \"动力系统\", \"brake_controll\": {\"handbrake\": \"手刹状态\", \"node_desc\": \"驻车制动\", \"brake_fluid\": \"制动液\", \"brake_lining\": \"制动衬片\", \"brake_status\": \"刹车状态\", \"brake_auxiliary\": \"辅助制动\", \"brake_emergency\": \"应急制动\", \"brake_pedal_strength\": \"刹车踏板强度\"}}, \"device_info\": {\"vin\": \"车架号\", \"uuid\": \"uuid\", \"brand\": \"设备品牌\", \"product\": \"对内型号\", \"version\": \"schema版本\", \"node_desc\": \"设备描述\", \"manufacture\": \"制造商\", \"device_model\": \"对外型号\", \"plugin_version\": {\"ra\": \"远程诊断\", \"control\": \"远程控制\", \"node_desc\": \"插件版本号\", \"yundevice\": \"yundevice版本号\"}, \"system_version\": \"系统版本号\"}, \"car_body_hvac\": {\"door\": {\"node_desc\": \"车门\", \"bonnet_ststus\": \"引擎盖状态\", \"vehicle_rl_door\": {\"node_desc\": \"后左侧门\", \"door_status\": \"开合状态\"}, \"vehicle_rr_door\": {\"node_desc\": \"后右侧门\", \"door_status\": \"开合状态\"}, \"vehicle_driver_door\": {\"node_desc\": \"驾驶员车门\", \"door_status\": \"开合状态\"}, \"vehicle_locked_status\": \"锁止状态\", \"vehicle_passenger_door\": {\"node_desc\": \"副驾驶车门\", \"door_status\": \"开合状态\"}}, \"hvac\": {\"ac\": {\"ac_type\": \"控温模式\", \"ac_switch\": \"AC开启\", \"node_desc\": \"空调系统\", \"ac_engine_status\": \"压缩机运转状态\", \"ac_setting_temperature\": \"空调设定温度\"}, \"node_desc\": \"通风与空气调节\", \"air_temperature\": \"车内温度\", \"ventilation_system\": {\"air_rate\": \"风速\", \"node_desc\": \"通风系统\", \"air_recirc\": \"空气循环方式\", \"air_direction\": \"风向\"}}, \"chair\": {\"node_desc\": \"座椅\", \"chair_memory\": {\"node_desc\": \"座椅记忆\", \"chair_driver_hight\": \"驾驶位座椅高度\", \"chair_driver_header\": \"驾驶位座椅头枕\", \"chair_driver_shifting\": \"驾驶位座椅位移\", \"chair_passenger_hight\": \"副驾驶位座椅高度\", \"chair_passenger_header\": \"副驾驶位座椅头枕\", \"chair_passenger_shifting\": \"副驾驶位座椅位移\"}, \"seat_heating\": {\"node_desc\": \"座椅加热\", \"seat_heating_driver_gear\": \"主驾驶座加热档位\", \"seat_heating_passenger_gear\": \"副驾驶座加热档位\"}}, \"light\": {\"fog_light\": {\"node_desc\": \"雾灯\", \"fog_fl_light\": \"前左雾灯\", \"fog_fr_light\": \"前右雾灯\", \"fog_rear_light\": \"后雾灯\"}, \"node_desc\": \"灯光\", \"foot_light\": \"脚灯\", \"read_light\": {\"node_desc\": \"阅读灯\", \"read_fl_light\": \"左前阅读灯\", \"read_fr_light\": \"右前阅读灯\", \"read_rl_light\": \"右前阅读灯\", \"read_rr_light\": \"右后阅读灯\"}, \"tail_light\": {\"node_desc\": \"尾灯\", \"tail_l_light\": \"左尾灯\", \"tail_r_light\": \"右尾灯\"}, \"turn_light\": {\"node_desc\": \"转向灯\", \"turn_l_light\": \"左侧转向灯\", \"turn_r_light\": \"左侧转向灯\", \"turn_fl_light\": \"左前转向灯\", \"turn_fr_light\": \"右前转向灯\", \"turn_rl_light\": \"左后转向灯\", \"turn_rr_light\": \"右后转向灯\"}, \"brake_light\": {\"node_desc\": \"刹车灯\", \"brake_h_light\": \"高位刹车灯\", \"brake_l_light\": \"左刹车灯\", \"brake_r_light\": \"右刹车灯\"}, \"trunk_light\": \"后备箱灯\", \"backup_light\": \"倒车灯\", \"hazard_light\": \"警示灯\", \"license_light\": \"牌照灯\", \"welcome_light\": {\"node_desc\": \"迎宾灯\", \"welcome_fl_light\": \"左前迎宾灯\", \"welcome_fr_light\": \"右前迎宾灯\", \"welcome_rl_light\": \"左后迎宾灯\", \"welcome_rr_light\": \"右后迎宾灯\"}, \"cosmetic_light\": {\"node_desc\": \"化妆灯\", \"cosmetic_fl_light\": \"左前化妆灯\", \"cosmetic_fr_light\": \"右后化妆灯\", \"cosmetic_rl_light\": \"左后化妆灯\"}, \"glovebox_light\": \"手套箱灯\", \"clearance_light\": \"示廓灯\", \"rear_view_ground\": \"后视镜照地灯\", \"head_light_status\": \"大灯照明模式\"}, \"radar\": {\"node_desc\": \"雷达\", \"raer_radar\": {\"node_desc\": \"后雷达\", \"rear_radar_status\": \"后雷达状态\", \"rear_radar_interval\": \"后方障碍物距离\"}, \"front_radar\": {\"node_desc\": \"前雷达\", \"front_radar_status\": \"前雷达状态\", \"front_radar_interval\": \"前方障碍物距离\"}}, \"cooling\": {\"coolant\": \"冷却液\", \"node_desc\": \"冷却系统\", \"water_pump\": \"水泵\", \"water_tank\": \"水箱\", \"cooling_fan\": \"风扇\", \"cooling_radiator\": \"散热器\", \"water_temperature\": \"水温\"}, \"steering\": {\"node_desc\": \"方向盘\", \"steering_wheel_angle\": \"打转角度\"}, \"node_desc\": \"车身与HVAC\", \"lubricating\": {\"oil_pump\": \"机油泵\", \"node_desc\": \"润滑系统\", \"oil_ducts\": \"油道\", \"oil_level\": \"机油油位\", \"oil_filter\": \"机油滤清器\", \"pressure_plug\": \"感压塞\", \"oil_gather_colander\": \"集滤器\", \"pressure_limiting_valve\": \"限压阀\"}, \"cigar_lighter\": {\"node_desc\": \"点烟器\", \"cigar_lighter_rear\": \"后点烟器\", \"cigar_lighter_temp\": \"点烟器温度\", \"cigar_lighter_driver\": \"前点烟器\"}, \"cleaning_fluid\": \"清洗液\"}}",
  12. "Namespace":"b09e93ce436aaf0dcfc2fb2004c1fde8",
  13. "ProjectId":"PIC3UA0V"
  14. }],
  15. "Pagination":{
  16. "HasNextPage":true,
  17. "PageIndex":1,
  18. "PageSize":10,
  19. "TotalCount":1,
  20. "TotalPageCount":1
  21. }
  22. },
  23. "RequestId":"973C5884-2CB8-40B4-9D9F-F92BA38BD85F"
  24. }

异常返回示例

JSON 格式

  1. {
  2. "Code":"InvalidTenant",
  3. "HostId":"iovcc.cn-shanghai.aliyuncs.com",
  4. "Message":"User is not a valid tenant",
  5. "RequestId":"6F25F67C-F411-499F-BCE2-67CA563CB064"
  6. }

错误码

查看本产品错误码