页面树结构

版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

...

Toauthenticate your requests, we provide each client a pair of access token and secret
key. The secret key is only used for HMAC SHA-1 signing and not transmitted over the
wire along with your requests.Each request must contain identity authentication
information to confirm the identity and authority of the sender

introduction

       Follow these steps to quickly complete identity authentication

Step 1: get token and key

...




Test environment
Production environmen
1Hosthttp://qa.etowertech.comHost

http://cn.etowertech.com (CN server)

http://us.etowertech.com (US server)

2Tokentest5AdbzO5OEeOpvgAVXUFE0APlease contact the integrator
Token

 Please contact the integrator

3Key

79db9e5OEeOpvgAVXUFWSDPlease contact the integrator

Key

 Please contact the integrator

...

Request Headers
X-WallTeach-Date

Request sending time


Time format: RFC1123 Format

format:EEE, DD MM YYYY HH:MM:SS ZZZ

Sample:Thu, 04 Nov 2021 03:39:28 GMT

Notice: Greenwich Mean Time (GMT) is Beijing Time (GMT+8) minus 8 hours.
When the time is more than 15 minutes different from the server time, the request will be
be denied, and a HTTP 401 returned.

Authorization

The standard HTTP header carries the authentication signature.

Format: WallTech < Token>: <Base64 Encoded HMAC SHA-1 Hash>

Sample:WallTech test5AdbzO5OEeOpvgAVXUFE0A:LhpcUyKXCaGcn3tVPwY4nX44XTA=

Explain:

<Access Token>: API Token
<Base64 Encoded HMAC SHA-1 Hash>

Through the key, such as key=79db9e5OEeOpvgAVXUFWSD, use the SecretKeySpec
SecretKeySpec class to encrypt the key in HmacSHA1 mode, and then initialize a Mac object with the
the algorithm HmacSHA1, and then use the key to initialize the Mac object. Finally, the Mac
Mac objectis processed as Byte, and then Base64 conversion operation is performed on it.


Content-Typeapplication/json/
Acceptapplication/json/

...

API documentation. For technical assistance, please email etowercs@walltechsystem.cn 


1.2VersionandBackwardCompatibility

...