你的位置:首页 > 新闻动态 > 技术文章

云平台透传接口

时间:2022/4/20 8:52:35      点击:

应用场景
该接口云平台只做透传操作,不做业务处理。

字段信息:

名称说明类型示例是否必传字段
service_name接口名称Stringpass_through
park_id车场编号String20170511810
uuid唯一值String7654567876545678765ak
trade_no......其他业务字段(对接开放接口的passthrough接口时使用)String2020010102020202
data业务字段(对接其他接口时传json字符串)json 字符串{"authUuid":"abc-type_1234567890","factoryCode":"200000&&20000"}

示例:
{"data":{"authUuid":"abc-type_1234567890","factoryCode":"200000&&20000","cardName":"包月1","cardCode":"month1月卡1","plateNo":"京ABCDE1","ownerName":"张三","ownerIdCardNo":"ASDFGHJKRTYUI45678","ownerPhone":"15010613623","ownerSex":1,"authStartDate":"2020-08-29 12:12:12","authEndDate":"2020-08-29 12:12:12"},"service_name":"pass_through","park_id":"20000","uuid":"d5317bbf-ab28-45c8-9ffa-c5cf7046b04a"}

方法调用返回:
注:车场返回的非必传字段,可以是data(json 字符串格式)

名称说明类型示例是否必传字段
service_name接口名称Stringpass_through
data_target传输位置Stringcloud
uuid下发下去的唯一值Stringasdaskhfaskfhaskfhak
trade_no其他业务字段Stringddddd
data业务字段(车场返回json字符串格式,云端会转发给第三方该格式的内容json 字符串{"authUuid":"abc-type_1234567890","factoryCode":"200000&&20000"}