新消费标准开电New consumption standard charge
POST
/newPriceStandardCharge
接口描述
应用场景 Application scenarios 新消费标准开电,支持电量、时间、功率收费 New consumption standard charge,support electricity, time, power charge
请求参数
application/x-www-form-urlencoded参数名
类型
描述
必填
token
String
身份标识 Identification
必填
simId
String
SIM卡id SIM Card Id
必填
portNum
Integer
插座号 Socekt No.
必填
param
Integer
公共参数 Public parameters 注(两个地方带有param参数): Note(two places with ‘param’ parameters 1、获取设备消费标准接口返回值中priceStandardUniteList 1. Get device consumption standard Interface return value in ‘priceStandardUniteList’ 2、查询设备插座状态接口,priceDetail内的priceStandardUniteList Query device socket status interface, ‘priceDetail’in ‘priceStandardUniteList’
必填
payMoney
Double
付款金额 汽车桩订单此字段不能为0,请传真实付款金额 二轮车开电若传0,我方平台将不进行计费,若非0,则将进行计费,订单回调时将消费金额随订单信息回调 二轮车订单如需避免平台返回错误提示余额不足,请先充值,可将此参数设置为0 Payment amount
必填
selectPriceType
Integer
是否开启充满断电 priceStandardUniteList内档位的fullBlackoutForButton值 1、获取设备消费标准接口返回值中priceStandardUniteList 1. Get device consumption standard Interface return value in ‘priceStandardUniteList’ 2、查询设备插座状态接口,priceDetail内的priceStandardUniteList Query device socket status interface, ‘priceDetail’in ‘priceStandardUniteList’ Whether open power off when full 0 不开启 0. Not open 1 开启 1. Open
必填
infoPriceId
Integer
消费标准id consumption standard ID 1、获取设备消费标准接口返回值data中的id 1. Get device consumption standard interface return value ‘data’ in ID 2、查询设备插座状态接口, priceDetail内的id Query device socket status interface, ‘priceDetail’in ID
必填
userId
Integer
用户id User id
可选
chargeBefore
Integer
0 预先付费 1 结束后付费 priceStandardUniteList内档位的chargeBefore值 1、获取设备消费标准接口返回值中priceStandardUniteList 1. Get device consumption standard Interface return value in ‘priceStandardUniteList’ 2、查询设备插座状态接口,priceDetail内的priceStandardUniteList 默认为 0 预先付费
必填
isAdvanceReceive
Integer
priceStandardUniteList内档位的isAdvanceReceive值
必填