OpenAPI
  • Quick Start
  • Documentation
    • Instruction
    • Log Update
    • Glossary
  • Integration Instruction
    • Interface Specification
    • Callback Rules
    • Public Parameters
  • Best Practice
    • Integration Procedures
    • Integration Solution
  • Standardized Interface
    • Obtain Platform Access Credentials
    • Obtain Vehicle Health Check Report
    • Create Service Order Callback
    • Release Health Check Report Callback
      • Basic Integration: Embedded URL to H5 Health Check Report
      • Deep Integration: Comprehensive Health Check Result Data
    • Vehicle Condition & Maintenance Plan Callback
  • Customized Interface
    • Synchronize Vehicle Service Item Info
    • Synchronize Work Procedure Info
    • Synchronize Work Report Info
      • Basic Integration: Embedded URL to H5 Work Report
      • Deep Integration: Comprehensive Work Result Data
  • FAQ
    • Code Encryption DEMO
    • HTTPS Settings Instruction
  • ⚙️Translation
    • 简体中文
Powered by GitBook
On this page
  • Request Address
  • Request Parameter
  • Response Parameter

Was this helpful?

  1. Standardized Interface

Obtain Platform Access Credentials

Request Address

Environment

HTTPS Request Address

Mainland China Sandbox Environment

https://cnopenapi.autox3.com/openapi/api-v1/auth

Mainland China Production Environment

https://cnopengateway.autox3.com/openapi/api-v1/auth

Other Countries Environment

N/A

Request Parameter

Item

Required

Length

Type

Instruction

appKey

Yes

64

String

Authorization Key

appSecret

Yes

64

String

Authorization Key

Example:

{
  "appKey": "AK02522A2B2726FB0",
  "appSecret": "84336629F874E793035255E12E88DAE87556274D860432BBB21A93951B9F98E"
} 

Request Command (take curl command as an example) Example:

curl 'https://openapi.autox3.com/openapi/api-v1/auth' \
  -H 'Content-Type: application/json;charset=UTF-8' \
  --data-raw '{"appKey": "AK02522A2B2726FB0","appSecret": 
  "84336629F874E793035255E12E88DAE87556274D860432BBB21A93951B9F98E"}'  

Response Parameter

Item

Sub-item

Required

Length

Type

Instruction

Sample Value

status

Yes

--

Integer

Please refer to Page "Public Parameters --> Error Code"

0

errorInfo

Yes

--

String

Error Info

network error

data

Yes

--

Object

Response JSON

expiresIn

Yes

--

Integer

Expire time, unit: second. The default expired time is 7 days

529200

accessToken

Yes

--

String

Open platform accessToken

0354980F3F116

Example:

{
	"data":{
		"expiresIn":529200,         
		"accessToken":"0354980F3F1162CFD25C4BD3DE69E6D686D60722"
	},
	"errorInfo":null,
	"status":0
}  
PreviousIntegration SolutionNextObtain Vehicle Health Check Report

Last updated 3 years ago

Was this helpful?