/api/auth-server/oauth/access-token{
"operation": {
"method": "POST",
"path": "/api/auth-server/oauth/access-token"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 100,
"text": ""
},
"responseExample": {
"code": "200",
"msg": "OK",
"data": {
"access_token": "4dcaa78e-b52d-4325-bc35-571021bb0787",
"refresh_token": "da5b5047-e6d1-496c-ab4d-d5425a6a66e4",
"expires_in": 7199
}
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | appId | appId | string | — | Required | AppID,在ERP开放接口菜单中获取 |
| 2 | appSecret | appSecret | string | — | Required | AppSecret,在ERP开放接口菜单中获取 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 200 | Required | 状态码 |
| 2 | msg | 消息提示 | string | — | Required | 消息提示 |
| 3 | data | 响应数据 | object | — | Required | 响应数据 |
| 3.1 | access_token | access_token | string | — | Required | access_token,请求令牌token |
| 3.2 | refresh_token | refresh_token | string | — | Required | refresh_token,可以使用它来给access_token延续有效期 |
| 3.3 | expires_in | access_token过期时间 | string | | Required | access_token过期时间 |
The 获取 access - token和refresh - token API (/api/auth-server/oauth/access-token) of 领星ERP is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 领星ERP version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.