Public Parameters

Common Request Header#

the corresponding http request header (all interfaces must pass this header):

ParameterTypeRequiredMaximum lengthExampleDescription
distributorIdStringY32ABCChannel Code, apply to Huazhu for the corresponding code before docking
timestampLongY1632538967000Request 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
traceIdStringY64efb555f1-befe-4bae-a5e8-fcc0889f159dRequest link ID, troubleshooting, UUID recommended
AuthorizationStringY128Bearer abc **** 123token for reference: authentication security

Common Response Parameters#

ParameterTypeRequiredMaximum lengthExampleDescription
codeIntegerY-Response status code
contentObjectN-Response body content
messageStringN500Error Information
responseDesStringN2000Error message description, daily troubleshooting use
echoTokenStringN128Response unique identification, daily troubleshooting use