获取消息Token
Get Token Msg Token
此接口用于客户接入Openapi时,需要订阅账户、持仓、交易推送消息时申请消息订阅的鉴权Token
Header parameters
companyIdstringOptionalExample:
公司ID
{{company}}tracestringOptionalExample:
Trace
{{mock_trace}}langstringOptionalExample:
语言
zh-CNrecvWindowstringOptionalExample:
时间窗口
5000apiKeystringOptionalExample:
apiKey
{{apikey}}signaturestringOptionalExample:
签名
{{sign}}Body
objectOptional
Responses
200
成功
application/json
bizCodestringOptional
模块标识码
codestringOptional
状态返回码
msgstringOptional
状态描述
tminteger · int64Optional
处理时长(毫秒)
tracestringOptional
跟踪码
msgParamsstringOptional
返回描述中占位符参数串,多个参数间以,分割
datastringRequired
Msg Token
post/global/getMsgPushToken
POST /api/global/getMsgPushToken HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 2
{}200
成功
{
"msg": "Success",
"fail": false,
"trace": "",
"code": "0",
"data": "6230de2c-281a-47fe-9d5d-b5f6ac60f482push",
"bizCode": "",
"tm": 0,
"ok": true
}Last updated