消息接口/AllTick

生成TG绑定地址

post

说明:登录客户请求获取TG绑定地址

version=0.0.1
bizType=message.app.CustomerTgBindApiService.createTgQrCode
Header parameters
companyIdstringOptionalExample: {{company}}
langstringOptionalExample: zh-CN
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
objectOptional
Responses
post
/global/message.app.CustomerTgBindApiService.createTgQrCode
POST /api/global/message.app.CustomerTgBindApiService.createTgQrCode HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "ok": true,
  "fail": true,
  "data": "text"
}

解绑TG账号

post

说明:登录客户解绑已经绑定过的TG账号

version=0.0.1
bizType=message.app.CustomerTgBindApiService.unbindTg
Header parameters
companyIdstringOptionalExample: {{company}}
langstringOptionalExample: zh-CN
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
chatIdstringRequired
Responses
post
/global/message.app.CustomerTgBindApiService.unbindTg
POST /api/global/message.app.CustomerTgBindApiService.unbindTg HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 17

{
  "chatId": "text"
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "ok": true,
  "fail": true,
  "data": true
}

查询已绑定TG列表

post

说明:登录客户请求获取TG绑定地址

version=0.0.1
bizType=message.app.CustomerTgBindApiService.queryCustomerTgBindList
Header parameters
companyIdstringOptionalExample: {{company}}
langstringOptionalExample: zh-CN
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
objectOptional
Responses
post
/global/message.app.CustomerTgBindApiService.queryCustomerTgBindList
POST /api/global/message.app.CustomerTgBindApiService.queryCustomerTgBindList HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "ok": true,
  "fail": true,
  "data": [
    {
      "chatId": "text",
      "firstName": "text",
      "lastName": "text"
    }
  ]
}

分页查询已绑定TG列表

post

说明:登录客户请求获取TG绑定地址

version=0.0.1
bizType=message.app.CustomerTgBindApiService.queryCustomerTgBindListByPage
Header parameters
companyIdstringOptionalExample: {{company}}
langstringOptionalExample: zh-CN
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
sizeinteger · longOptional

默认20

currentinteger · longOptional

默认1

Responses
post
/global/message.app.CustomerTgBindApiService.queryCustomerTgBindListByPage
POST /api/global/message.app.CustomerTgBindApiService.queryCustomerTgBindListByPage HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 22

{
  "size": 1,
  "current": 1
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "ok": true,
  "fail": true,
  "data": {
    "total": 1,
    "size": 1,
    "current": 1,
    "records": [
      {
        "chatId": "text",
        "firstName": "text",
        "lastName": "text"
      }
    ]
  }
}

Last updated