Developer Documentation
ISP Get Token

Description

This interface is used for get token.

Scenario

User must go through this API to get token and use it to generate signature, then use the signature to invoke other API.

Request Information

URL

http://openapi.winit.com.cn/openapi/service

Authentication

Token,md5

Format

json

Protocol

http

Rate Limitation

Default 300 requests per minute, can request increase on needs



Request Parameter

Name

Description

Type

Required

Limitation

userName

user name

String

Yes

max 50 characters

passWord

password

String

Yes

max 50 characters



Request Example

{

    "action": "user.getToken",

    "data": {

        "userName": "rebecca",

        "passWord": "888"

    }

}

Response Example

{

    "code": 0,

    "data": {"token":"3956C49B4525EAF246B640C9A6F3CE6B"},

    "msg": "SUCCESS"

}

Response Parameter

Success response:token

Error response:Error code, Error message