Message
Explanation: Send verification code. According to each business type (bizType) and sender (toUser/customerNo), only 5 SMS and 5 email messages are allowed within half an hour
version=0.0.1 bizType=message.app.VerificationApiService.verifyCodeSend
Enable CAPTCHA version=0.0.2 bizType=message.app.VerificationApiService.verifyCodeSend
{{company}}en-US{{mock_trace}}0.0.1Company Id
Client Id
Business type. EMAIL_COMMON_VERIFICATION_CODE-Email common verification code; EMAIL_LOGIN_VERIFICATION_CODE-Email login verification code; EMAIL_REGISTER_VERIFICATION_CODE-Email registration verification code; EMAIL_PASSWORD_VERIFICATION_CODE-Email forget password verification code; EMAIL_LOGINED_VERIFICATION_CODE-Common verification code-logged in-get recipient from client information; SMS_COMMON_VERIFICATION_CODE-SMS common verification code; SMS_LOGIN_VERIFICATION_CODE-SMS login verification code; SMS_REGISTER_VERIFICATION_CODE-SMS registration verification code; SMS_PASSWORD_VERIFICATION_CODE-SMS forget password verification code; SMS_LOGINED_VERIFICATION_CODE-Common verification code-logged in-get recipient from client information; SMS_TELEGRAM_VERIFICATION_CODE-SMS telegram verification code;
Recipient. toUser, customerNo must be filled in: if need to get from client information, fill in customerNo, if sending telegram verification code, fill in third party userId
Recipient. toUser, customerNo must have one to fill: if you need to get it from customer information, pass customerNo
Recipient's country information
POST /api/global/message.app.VerificationApiService.verifyCodeSend HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 103
{
"companyId": 39,
"bizType": "EMAIL_PASSWORD_VERIFICATION_CODE",
"toUser": "[email protected]",
"customerId": 88
}{
"msg": "Success",
"fail": false,
"trace": "x-45c2ptm3-u5p98t3-gf1b2x-9pbyl41-1678691805",
"code": "0",
"data": {
"token": "38caf08b-fafd-4cb5-b36c-ebdd1878b974"
},
"bizCode": "",
"tm": 34,
"msgParams": null,
"ok": true
}Description: Verify verification code
version=0.0.1 bizType=message.app.VerificationApiService.verifyCodeCheck
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Company Id
Client Id
Business type. EMAIL_COMMON_VERIFICATION_CODE-Email common verification code; EMAIL_LOGIN_VERIFICATION_CODE-Email login verification code; EMAIL_REGISTER_VERIFICATION_CODE-Email registration verification code; EMAIL_PASSWORD_VERIFICATION_CODE-Email forget password verification code; EMAIL_LOGINED_VERIFICATION_CODE-Common verification code-logged in-get recipient from customer information; SMS_COMMON_VERIFICATION_CODE-SMS common verification code; SMS_LOGIN_VERIFICATION_CODE-SMS login verification code; SMS_REGISTER_VERIFICATION_CODE-SMS registration verification code; SMS_PASSWORD_VERIFICATION_CODE-SMS forget password verification code; SMS_LOGINED_VERIFICATION_CODE-Common verification code-logged in-get recipient from customer information;
Recipient
Send ticket
Verification code. Can only be used once, and at least one of verifyCodeToken must have a value
Verification token. Returned after the first verification of the verification code. (At least one of code must have a value. If both code and code have values, only this field is verified). Note: If there are 5 verification errors, the verification token will be invalidated directly
POST /api/global/message.app.VerificationApiService.verifyCodeCheck HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 154
{
"companyId": 12,
"bizType": "sit sint ut sed occaecat",
"toUser": "in",
"sendToken": "fugiat ipsum occaecat",
"customerId": 49,
"code": "53",
"verifyCodeToken": "95"
}{
"msg": "Success",
"fail": false,
"trace": "x-71o574-2tn5hk-pkj44361-3612md-1678691829",
"code": "0",
"data": {
"token": "647a8a53-b97c-4d4a-b936-ffdce2096ad6"
},
"bizCode": "",
"tm": 10,
"msgParams": null,
"ok": true
}Explanation: Get the list of station message types under the specified company
version=0.0.1 bizType=message.app.PlatFormMessageTempApiService.getPlatformTempParentTypeList
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1POST /api/global/message.app.PlatFormMessageTempApiService.getPlatformTempParentTypeList HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"companyId": 1
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"ok": true,
"fail": true,
"data": [
{
"type": "text",
"desc": "text"
}
]
}Explanation: Get the message list of the specified company
version=0.0.1 bizType=message.app.PlatFormMessageLogApiService.queryPlatFormMessageLogList
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.11-Unread; 2-Read; 3-Delete;
POST /api/global/message.app.PlatFormMessageLogApiService.queryPlatFormMessageLogList HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 90
{
"companyId": 1,
"bizType": "text",
"status": 1,
"language": "text",
"accountId": 1,
"customerId": 1
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"ok": true,
"fail": true,
"data": [
{
"bizType": "text",
"status": "text",
"title": "text",
"content": "text",
"redirectType": "text",
"redirectUrl": "text",
"createdBy": "text"
}
]
}Explanation: Paging query channel message template list
version=0.0.1 bizType=message.app.PlatFormMessageLogApiService.queryPlatFormMessageLogByPage
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Company Id
Business type
Status. 1-Unread; 2-Read; 3-Deleted;
Language
Account ID
Type
Title
Total type
Client ID
Start sending time
End sending time
Number of Items per Page
Current Page
POST /api/global/message.app.PlatFormMessageLogApiService.queryPlatFormMessageLogByPage HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 189
{
"companyId": 1,
"bizType": "text",
"status": 1,
"language": "text",
"accountId": 1,
"type": 1,
"title": "text",
"parentType": "text",
"customerId": 1,
"startSendTime": 1,
"endSendTime": 1,
"size": 1,
"current": 1
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"ok": true,
"fail": true,
"data": [
{
"companyId": 1,
"content": "text",
"createdBy": "text",
"createTime": 1,
"customerId": 1,
"readStatus": "text",
"title": "text",
"updateBy": "text",
"updateTime": "text",
"customerNo": "text"
}
]
}Explanation: Query announcement list
version=0.0.1 bizType=message.app.CompanyNoticeApiService.customerViewNoticePage
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Company Id
Client number
Language
Number of Items per Page
Current page, starting from 1
Release time - start. 13-digit timestamp
Release time - end. 13-digit timestamp
POST /api/global/message.app.CompanyNoticeApiService.customerViewNoticePage HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 100
{
"companyId": 1,
"customerNo": "text",
"lang": "text",
"size": 1,
"current": 1,
"pubTimeFrom": 1,
"pubTimeTo": 1
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"ok": true,
"fail": true,
"data": [
{
"name": "text",
"language": "text",
"title": "text",
"content": "text",
"pubTime": 1,
"id": 1,
"companyId": 1,
"customerNo": "text"
}
]
}Explanation: Customers view message list
version=0.0.1 bizType=message.app.CompanyNoticeApiService.customerViewMsgPage
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.113-digit timestamp
13-digit timestamp
POST /api/global/message.app.CompanyNoticeApiService.customerViewMsgPage HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 100
{
"companyId": 1,
"customerNo": "text",
"lang": "text",
"size": 1,
"current": 1,
"pubTimeFrom": 1,
"pubTimeTo": 1
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"ok": true,
"fail": true,
"data": [
{
"name": "text",
"language": "text",
"title": "text",
"content": "text",
"pubTime": 1,
"id": 1,
"companyId": 1,
"customerNo": "text",
"readStatus": "text"
}
]
}Explanation: Customer reads message
version=0.0.1 bizType=message.app.CompanyNoticeApiService.msgRead
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1POST /api/global/message.app.CompanyNoticeApiService.msgRead HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 42
{
"companyId": 1,
"customerNo": "text",
"id": 1
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"ok": true,
"fail": true,
"data": {}
}Explanation: All customer messages have been read
version=0.0.1 bizType=message.app.CompanyNoticeApiService.msgAllRead
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1POST /api/global/message.app.CompanyNoticeApiService.msgAllRead HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 35
{
"companyId": 1,
"customerNo": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"ok": true,
"fail": true,
"data": {}
}Explanation: Unipush account binding clientId bizType=messagepush.app.OfflinePushService.clientIdBindCustomer
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1POST /api/global/messagepush.app.OfflinePushService.clientIdBindCustomer HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 48
{
"companyId": 1,
"customerId": 1,
"clientId": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"ok": true,
"fail": true,
"data": true
}Explanation: Send Contact Us Information
version=0.0.1 bizType=message.app.CompanyNoticeApiService.sendContactUsMsg
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Company Id
Name
Content
POST /api/global/message.app.CompanyNoticeApiService.sendContactUsMsg HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 61
{
"companyId": 1,
"name": "text",
"email": "text",
"message": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text"
}This interface is used by customers to access OpenAPI and apply for the authentication token for message subscription when they need to subscribe to account, position, and transaction push messages.
company id
{{company}}Trace
{{mock_trace}}language
zh-CNTime window
5000apiKey
{{apikey}}signature
{{sign}}POST /api/global/getMsgPushToken HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{
"msg": "Success",
"fail": false,
"trace": "",
"code": "0",
"data": "6230de2c-281a-47fe-9d5d-b5f6ac60f482push",
"bizCode": "",
"tm": 0,
"ok": true
}Last updated