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.5 模板消息推送接口

开发中
POST
/openapi/message/send/template

请求参数

Body 参数application/json

示例
{
    "extendedParams": {},
    "messageTheme": "string",
    "pickChannels": [
        0
    ],
    "recipientList": [
        {
            "code": "string",
            "recipientSettingItems": [
                {
                    "ccUser": {
                        "clientId": "string",
                        "idType": 0,
                        "identities": [
                            "string"
                        ],
                        "identityList": [
                            {
                                "identity": "string",
                                "identityName": "string"
                            }
                        ]
                    },
                    "orgCode": "string",
                    "orgType": "string",
                    "toUser": [
                        {
                            "clientId": "string",
                            "idType": 0,
                            "identities": [
                                "string"
                            ],
                            "identityList": [
                                {
                                    "identity": "string",
                                    "identityName": "string"
                                }
                            ]
                        }
                    ]
                }
            ],
            "tagType": "string",
            "userMapping": {}
        }
    ],
    "taskId": 0,
    "templateId": 0,
    "templateParam": {},
    "todoId": "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/message/send/template' \
--header 'Content-Type: application/json' \
--data-raw '{
    "extendedParams": {},
    "messageTheme": "string",
    "pickChannels": [
        0
    ],
    "recipientList": [
        {
            "code": "string",
            "recipientSettingItems": [
                {
                    "ccUser": {
                        "clientId": "string",
                        "idType": 0,
                        "identities": [
                            "string"
                        ],
                        "identityList": [
                            {
                                "identity": "string",
                                "identityName": "string"
                            }
                        ]
                    },
                    "orgCode": "string",
                    "orgType": "string",
                    "toUser": [
                        {
                            "clientId": "string",
                            "idType": 0,
                            "identities": [
                                "string"
                            ],
                            "identityList": [
                                {
                                    "identity": "string",
                                    "identityName": "string"
                                }
                            ]
                        }
                    ]
                }
            ],
            "tagType": "string",
            "userMapping": {}
        }
    ],
    "taskId": 0,
    "templateId": 0,
    "templateParam": {},
    "todoId": "string"
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "success": true,
    "code": "string",
    "msg": "string",
    "data": {
        "message": "string",
        "requestDate": "string",
        "requestId": "string",
        "success": "string"
    },
    "error": {
        "appName": "string",
        "errorDetail": "string",
        "errorTime": "string",
        "instance": "string",
        "traceId": "string"
    }
}
修改于 2025-05-08 07:02:12
上一页
1.4 商场信息查询接口
下一页
2.1 查询设备信息接口
Built with