文档
测试

可用消费标准拉取Available consumption standard pull

POST
/listPriceStandard

接口描述

应用场景(Application scenarios) 查询可用消费标准(Query available consumption standards)

请求参数

application/x-www-form-urlencoded
参数名
类型
描述
必填
token
String
身份标识 Identification
必填
type
Integer
默认获取全部 Get all by default 0 自定义时间 Custom time 1 功率分段 Power segment 2 电量计费 Electricity billing
可选
deviceFamily
Integer
默认获取全部 Get all by default 0:二轮车 1:新能源汽车
可选

响应参数

参数名
类型
描述
必填
success
boolean
请求成功与否标识 Identification for request success or no
必填
data
array
数据列表
可选
chargeType
int
收费方式 0、限定充值余额 1、预收款
可选
createUserId
int
创建者
可选
deviceAssociateCount
int
设备关联数量
可选
deviceFamily
int
适用系列 0:二轮车 1:新能源汽车 默认
可选
deviceType
string
所支持的设备类型
可选
fullBlackout
int
0、关闭充满断电;1、开启充满断电;2、开启充满断电并选择x元充满
可选
fullPrice
int
x元充满价格
可选
fullPriceYuan
int
x元充满价格(元)
可选
id
int
主键
可选
limitMoney
int
最低余额
可选
maxTime
int
最大允许充电时长
可选
name
string
示例:固定金额-1元240分钟
可选
ownerId
int
示例:117
可选
peakPlainValley
int
是否开启峰平谷:0、关闭 1、开启
可选
powerType
int
功率计算方式:0、平均功率;1、最大功率
可选
realTimeCharge
int
是否开启实时计费 0、关闭 1、开启
可选
refundType
int
退费方式 0、退余额 1、原路退回
可选
remark
string
备注
可选
type
int
1、自定义时间; 2、功率分段; 3、电量计费
可选
viewType
int
显示开电方式:1、时间;2、金额;3、电量
可选

说明 / 示例

返回示例 Return the example ``` { "data": [ { "chargeType": 0, "createUserId": 1941, "deviceAssociateCount": 0, "deviceFamily": 0, "deviceType": "[1]", "fullBlackout": 0, "fullPrice": 0, "fullPriceYuan": 0, "id": 19240, "limitMoney": 0, "maxTime": 960, "name": "固定金额-1元240分钟", "ownerId": 117, "peakPlainValley": 0, "powerType": 0, "realTimeCharge": 0, "refundType": 0, "remark": "", "type": 0, "viewType": 1 } ], "success": true } ```