Get a list of server domain names in effect after publication
Debugging tools
Interface should be called on the server side, seeHattori API。
Interface Dxplaination
Interface name
getEffectiveServerDomain
Functional description
Calling mode
HTTPS call
Third Party Invocation
The calling method and parameters are the same as HTTPS, only the calling token is different
The permission set id to which this interface belongs is: 18
After the service provider has been authorized with one of the permission sets, it can do so by usingauthorizer_access_TokenCalling on behalf of the merchant
Request parameters
attribute | type | Required | Introductions |
access_Token | string | yes | Interface invokes the certificate, which is URL Parameters, non Body Parameters. useauthorizer_access_Token |
Return parameters
| attribute | type | Introductions |
| errcode | number | Return code |
| errmsg | string | Error message |
| mp_domain | object | List of server domain names configured through the public platform |
| | attribute | type | Introductions | | requestdomain | array | request Legal domain name | | wsrequestdomain | array | socket Legal domain name | | uploaddomain | array | uploadFile Legal domain name | | downloaddomain | array | downloadFile Legal domain name | | udpdomain | array | udp Legal domain name | | tcpdomain | array | tcp Legal domain name |
|
| third_domain | object | Modify via third-party platform interface_domain Configured server domain name |
| | attribute | type | Introductions | | requestdomain | array | request Legal domain name | | wsrequestdomain | array | socket Legal domain name | | uploaddomain | array | uploadFile Legal domain name | | downloaddomain | array | downloadFile Legal domain name | | udpdomain | array | udp Legal domain name | | tcpdomain | array | tcp Legal domain name |
|
| direct_domain | object | adopt “modify_domain_directly” List of server domain names configured by the interface |
| | attribute | type | Introductions | | requestdomain | array | request Legal domain name | | wsrequestdomain | array | socket Legal domain name | | uploaddomain | array | uploadFile Legal domain name | | downloaddomain | array | downloadFile Legal domain name | | udpdomain | array | udp Legal domain name | | tcpdomain | array | tcp Legal domain name |
|
| effective_domain | object | A list of domain names in effect after the last submission of the code or publication |
| | attribute | type | Introductions | | requestdomain | array | request Legal domain name | | wsrequestdomain | array | socket Legal domain name | | uploaddomain | array | uploadFile Legal domain name | | downloaddomain | array | downloadFile Legal domain name | | udpdomain | array | udp Legal domain name | | tcpdomain | array | tcp Legal domain name |
|
Call Example
Example Dxplaination: HTTPS requests
Sample Request Data
Return Data Example
Error code
Error code | Error code | Solutions |
-1 | system error | The system is busy, please wait for the developer to try again |
44002 | empty post data | POST Of the packet is empty. The post request body parameter cannot be null. |