Skip to main content

Integration

API BASE URL

  • DEV: https://ktsp-o-dev.nwplatform.com.cn

  • UAT: https://ktsp-o-uat.nwplatform.com.cn

  • PROD: TBC

API Key

Contact the administrator

Request Headers

  • Content-Type: application/json
  • (optional) Authorization: Bearer {token}
  • (optional) X-App-Key: {appKey}

HTTP CODE

  • 401 : Unauthorized

This status code indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.

  • 200 : OK

This status code indicates that the request has succeeded.

HTTP CODE = 200 :

Common Response Parameters

FieldRequiredTypeRemarkSample
statusYesnumberstatus code of the api call , 1=success, 0=fail
messageYesstringdetail message of the api call
errorCodeNonumber

Success Response

status = 1

Sample:

{
"status": 1,
"errorCode": 0,
"message": "success"
}

Failure Response

status = 0

Sample:

{
"status": 0,
"errorCode": 1,
"message": "Internal error"
}