Request
1.Interface address=>HTTP
DEMO如下:
Request method: POST
1.2 Request
1.2.1 Header Request Parameters
companyId
long
Required
System unique company identifier
trace
String
Required
Global link unique identifier
timestamp
long
Required
Timestamp, milliseconds
version
String
Not required
Interface version number
group
String
Not required
Interface Grouping
lang
String
Not required
Language information, default is zh-CN
token
String
Not required
Token information, required after logging in
1.2.2 Request Body Parameters
bizBody
JSON
Required
Request message body,JSON
1.2 Interface address=>websocket
The DEMO is as follows:
Pass in parameters:
header
JSON
Required
Consistent with http
body
JSON
Required
Consistent with http
The DEMO is as follows:
The heartbeat format is as follows: bizType is fixed to ping
The format of the heartbeat return message body is as follows: bizType is fixed to pong
Return parameter:
code
String
System general return code. 0-success, other exceptions
msg
String
returned messages
bizCode
String
Module identification code
tm
Long
Processing time (milliseconds)
trace
String
Global link flag information
msgParams
String
Returns the placeholder parameter string in the description. Multiple parameters are separated by ,
data
Object
Data body, unified return of each business response information, return bizType in case of exception
Last updated