1. 1.印力资管系统提供接口
印力商户用能系统
  • 0.通用请求方式
    • 0.1 通用请求方式
      POST
  • 1.印力资管系统提供接口
    • 1.1 每月推送电表读数接口
      POST
    • 1.3 电表信息查询接口
      POST
    • 1.4 商场信息查询接口
      POST
    • 1.5 模板消息推送接口
      POST
  • 2.畅洋系统提供接口
    • 2.1 查询设备信息接口
      POST
    • 2.2 充值交费接口
      POST
    • 2.3 用电数据查询接口
      POST
    • 2.4 余额退费接口
      POST
    • 2.5 余额调整接口
      POST
    • 2.6 同步电表数据接口
      POST
    • 2.7 支付类型查询接口
      POST
  1. 1.印力资管系统提供接口

1.1 每月推送电表读数接口

开发中
POST
/openapi/device/synchronize
数据同步

请求参数

Body 参数application/json

示例
{
    "data": [
        {
            "type": "string",
            "shopCode": "string",
            "storeNo": "string",
            "deviceActualCode": "string",
            "totalElec": 0,
            "chargeAmount": 0,
            "lossAmount": 0,
            "totalAmount": 0,
            "readNum": 0,
            "deviceElectricPriceRecordList": [
                {
                    "priceLevel": 0,
                    "readNum": 0
                }
            ],
            "readDate": "string",
            "refundAmount": 0,
            "receivableAmount": 0,
            "otherFeeDataList": [
                {
                    "otherFeeType": "string",
                    "otherFeeAmount": 0
                }
            ],
            "amount": 0
        }
    ],
    "mallCode": "string",
    "version": "string"
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://test-cn.your-api-server.com/openapi/device/synchronize' \
--header 'Content-Type: application/json' \
--data-raw '{
    "data": [
        {
            "type": "string",
            "shopCode": "string",
            "storeNo": "string",
            "deviceActualCode": "string",
            "totalElec": 0,
            "chargeAmount": 0,
            "lossAmount": 0,
            "totalAmount": 0,
            "readNum": 0,
            "deviceElectricPriceRecordList": [
                {
                    "priceLevel": 0,
                    "readNum": 0
                }
            ],
            "readDate": "string",
            "refundAmount": 0,
            "receivableAmount": 0,
            "otherFeeDataList": [
                {
                    "otherFeeType": "string",
                    "otherFeeAmount": 0
                }
            ],
            "amount": 0
        }
    ],
    "mallCode": "string",
    "version": "string"
}'

返回响应

🟢200OK
application/json
Body

示例
{
    "code": "string",
    "error": {
        "appName": "string",
        "errorDetail": "string",
        "errorTime": "string",
        "instance": "string",
        "traceId": "string"
    },
    "msg": "string",
    "success": true,
    "data": [
        {}
    ]
}
🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
修改于 2025-05-06 01:55:28
上一页
0.1 通用请求方式
下一页
1.3 电表信息查询接口
Built with