文档
测试

查询充电订单详情Query charging order details

POST
/queryChargeOrderDetail

请求参数

application/x-www-form-urlencoded
参数名
类型
描述
必填
token
String
身份标识 Identification
必填
orderNum
String
订单号 order number
可选

响应参数

参数名
类型
描述
必填
data
list
充电订单明细列表
可选
userId
Integer
用户id User id
可选
portNum
Integer
插座号 Socekt No.
可选
status
Integer
支付状态 Payment status 0 未付款 Unpaid 1 付款未充电 (道闸付款未开门) Paid uncharged (barrier gate paid unopened) 2 充电中 Charging 3 正常充电结束 (道闸开门成功) Normal charge end(barrier gate open success) 4 异常结束 Abnormal end 5 叠加结束 Superposition end
可选
type
Integer
支付用途: Payment purpose 1、充值支付 1. Top up payment 2、代人充值 2. Top up for others 3、充电支付 3. Charge payment 4、支付购买月卡 Pay to buy monthly card
可选
targetUserId
Integer
到账用户id Account ID 1、自己充值就是支付用户Id Payment ID: Top up for own 2、代人充值就是到账用户Id Other ID: Top up for others
可选
payWay
Integer
支付方式 Payment method 1、扣除微信充值余额 Deduct wechat top up balance 2、扣除微信赠送余额 Deduct wehcat handsel balance 3、扣除支付宝充值余额 Deduct ali top up balance 4、扣除支付宝赠送余额 Deduct ali handsel balance 5、月卡支付 Monthly card payment 6、微信支付 Wechatpay 7、支付宝支付 Alipay
可选
payType
Integer
支付类型 Payment Types 月卡支付:5 Monthly card payment: 5 微信支付:6 WeChat Pay: 6 支付宝支付:7 Alipay payment: 7 翼支付支付: 16 Bestpay payment: 16
可选
cardId
Integer
电卡Id Electric card 1、代人充值,卡Id值为代充电卡Id Top up for others: 2、刷卡支付,卡Id值为所刷卡Id Swipe to charge:
可选
orderNum
String
订单号 order number
可选
ownerId
Integer
用户归属公众号Id User attribution official account ID
可选
workTime
Integer
购买工作时长 Buy working hours
可选
electricQuantity
Double
购买电量 (单位:度) Purchase electricity (unit: degree)
可选
payPrice
Double
消费金额 pay price
可选
actualElectricQuantity
Double
实际耗电量(单位:度) Actual power consumption (unit: degree)
可选
inTime
Long
插入时间 Interposition time
可选
originalPrice
Double
原始价格 original price
可选
discountDetail
String
折扣详情(JSON格式) Discount details (JSON format)
可选
provinceId
Integer
支付类型 Payment Types 月卡支付:5 Monthly card payment: 5 微信支付:6 WeChat Pay: 6 支付宝支付:7 Alipay payment: 7 翼支付支付: 16 Bestpay payment: 16
可选
provinceName
String
省份名称 Province name
可选
cityId
Integer
城市id City id
可选
cityName
String
城市名称 city name
可选
countyId
Integer
县区id County id
可选
countyName
String
县区名称 County name
可选
estateId
Integer
小区id estate id
可选
estateName
String
小区名称 Community name
可选
deviceId
String
设备id Device id
可选
deviceName
String
设备名 Equipment name
可选
updateTime
Long
更新时间 update time 单位:毫秒
可选
isCount
Integer
是否统计 0正常订单(会进入统计) 1不统计订单(不统计) 2退款订单(不进入统计) Whether to statistics 0 normal order (will enter the statistics) 1 Orders are not counted (not statistics) 2Refund order (do not enter statistics)
可选
balance
Double
余额 Balance
可选
actualTime
Integer
实际充电时间,单位:分钟 Actual charging time, unit: minute
可选
priceInfoType
Integer
0、自定义时间 1、功率分段 2、电量计费 99、未知 0, custom time 1. Power segmentation 2. Charge By Quantity of electricity 99、Unknown
可选
userSelectPriceType
Integer
用户选择的充电类型 0,关闭充满断电 1,开启充满断电 2、X元充满自停 0,Turn off the power when it's full 1,Turn on the power when it's full 2,X RMB will full and stops automatically
可选
priceType
Integer
0:关闭充满断电, 1:开启充满断电,2:X元充满自停 0,Turn off the power when it's full 1,Turn on the power when it's full 2,X RMB will full and stops automatically
可选
priceDetail
String
消费标准明细(JSON格式数据),单价,单价充电时间 Consumption standard details (JSON format data), unit price, unit price charging time
可选
priceBefore
Integer
0、预先付费,1、结束后付费 0, pay in advance, 1. pay after the end
可选
priceEndDetail
String
充电结束费用计算明细(JSON格式数据) when Charging end cost calculation details
可选
endType
Integer
结束原因 Reason for ending 1:计时结束 Timing ends 2:充满结束 full end 3:手动结束 Manual end 4:功率过大 Too much power 5:空载结束 End of no-load 6:中途异常拔掉插座 Unplug the socket abnormally midway 7:保险丝故障 Fuse failure 8:未连接电枪 The electric gun is not connected 9:叠加结束 End of stacking 其他值:未知 Other values: unknown
可选
paymentPrice
Double
付款金额 Payment amount
可选
chargeType
Integer
开电属性 Power-on attributes 0:时间 0: time 1:金额 1: amount 2:电量开电 2:Turn on of Quantity of electricity
可选
isAdvanceReceive
Integer
是否收了预收款 0:收了预收款 1:没收预收款 Whether to receive advance payment 0: received advance payment 1: No advance payment collection
可选
realTimeCharge
Integer
是否开启实时计费: 0、关闭 1、开启 Whether to enable real-time billing: 0, close 1. Turn on
可选
refundType
Integer
退费方式 0、退余额 1、原路退回 Refund method 0, refund the balance 1. return the money to the original path
可选
sysUserId
Integer
代表余额支付时扣除的是用户在哪个商户充值的余额 -1或者为空或者不存在该字段时:非代理商余额支付 When paying on behalf of the balance, the balance deducted from which merchant the user recharged -1 When the field is empty or does not exist: non agent balance payment
可选
deviceType
Integer
设备类型 Supported device types
可选
ownerName
String
公众号名 Official account name
可选
totalElectricMoney
Double
电费总额
可选
totalServiceFee
Double
服务费总额
可选
success
boolean
请求成功与否标识 Identification for request success or no
必填

说明 / 示例

返回示例 Return the example ``` { "data": { "actualElectricQuantity": 0, "actualMillisecondWorkTime": 63508140779, "actualMinuteWorkTime": 1058469, "actualTime": 0, "balance": 3, "balanceDeductionStatus": 0, "bigIntegerId": 2.941879243941342e+28, "chargeType": 1, "cityId": 545533, "cityName": "成都市", "countyId": 545534, "countyName": "市辖区", "customerOrder": true, "deviceFamily": 0, "deviceId": 106908, "deviceName": "测试设备", "deviceType": 7, "electricOrder": false, "endType": 1, "estateId": 1246, "estateName": "远大中央公园", "estatePaymentStatus": 0, "factory": 3, "freeTry": true, "fullBlackoutOrder": false, "id": -320257472, "inTime": 1594795933047, "isCount": 2, "orderNum": "20200715145211023866", "originalPrice": 0, "overPower": 0, "ownerId": 117, "ownerName": "睿核科技", "payEntrance": 2, "payPrice": 0, "payType": 2, "payWay": 1, "paymentPrice": 0, "portNum": 6, "powerOrder": false, "powerType": 0, "priceBefore": 0, "priceDetail": "{\"chargeType\":1,\"createUserId\":1,\"deviceType\":\"[1]\",\"fullBlackout\":0,\"fullPrice\":0,\"fullPriceYuan\":0.0,\"id\":1,\"limitMoney\":0,\"maxTime\":960,\"name\":\"固定金额-1元240分钟\",\"ownerId\":-1,\"param\":1,\"powerType\":0,\"price\":0,\"priceStandardCustomizeList\":[{\"endTime\":57599000,\"id\":318,\"price\":100,\"priceStandardId\":1,\"priceUnit\":\"yuan\",\"priceYuan\":1.0,\"startTime\":-28800000,\"time\":240,\"timeUnit\":\"min\"},{\"endTime\":57599000,\"id\":319,\"price\":200,\"priceStandardId\":1,\"priceUnit\":\"yuan\",\"priceYuan\":2.0,\"startTime\":-28800000,\"time\":480,\"timeUnit\":\"min\"},{\"endTime\":57599000,\"id\":320,\"price\":300,\"priceStandardId\":1,\"priceUnit\":\"yuan\",\"priceYuan\":3.0,\"startTime\":-28800000,\"time\":720,\"timeUnit\":\"min\"},{\"endTime\":57599000,\"id\":321,\"price\":400,\"priceStandardId\":1,\"priceUnit\":\"yuan\",\"priceYuan\":4.0,\"startTime\":-28800000,\"time\":960,\"timeUnit\":\"min\"}],\"priceStandardUniteList\":[{\"param\":240,\"price\":100},{\"param\":480,\"price\":200},{\"param\":720,\"price\":300},{\"param\":960,\"price\":400}],\"realTimeCharge\":0,\"refundType\":0,\"remark\":\"\",\"totalElectricFee\":1,\"totalElectricFeeYuan\":1.0,\"type\":0,\"viewType\":1}", "priceInfoType": 0, "priceType": 0, "provinceId": 545532, "provinceName": "四川省", "realTimeCharge": 0, "refundType": 0, "simId": "868487032772899", "status": 4, "stop": true, "timeOver": true, "type": 0, "updateTime": 1594795992727, "userId": 123576, "userSelectPriceType": 0, "workTime": 1 }, "success": true } ```