Public Parameters
#
Common Request Headerthe corresponding http request header (all interfaces must pass this header):
Parameter | Type | Required | Maximum length | Example | Description |
---|---|---|---|---|---|
distributorId | String | Y | 32 | ABC | Channel Code, apply to Huazhu for the corresponding code before docking |
timestamp | Long | Y | 1632538967000 | Request timestamp: the total number of milliseconds from 00: 00: 00 GMT on January 1, 1970 to the present. Beijing time: 2021-09-25 11:02:47 then assignment: 1632538967000 | |
traceId | String | Y | 64 | efb555f1-befe-4bae-a5e8-fcc0889f159d | Request link ID, troubleshooting, UUID recommended |
Authorization | String | Y | 128 | Bearer abc **** 123 | token for reference: authentication security |
#
Common Response ParametersParameter | Type | Required | Maximum length | Example | Description |
---|---|---|---|---|---|
code | Integer | Y | - | Response status code | |
content | Object | N | - | Response body content | |
message | String | N | 500 | Error Information | |
responseDes | String | N | 2000 | Error message description, daily troubleshooting use | |
echoToken | String | N | 128 | Response unique identification, daily troubleshooting use |