Updated on 2023-09-27 GMT+08:00

Status Code Description

In the response, the status code is 200, indicating that the business is normal. Other status codes are returned as exception information.

Table 1 Status code description

Status Code

Description

Remarks

200

The business is normal.

For details, see the preceding interfaces.

401

Unauthorized access to the interface.

Check whether the authentication character string and request parameters are correct by referring to the interface authentication algorithm and Table 2. For any questions, contact the administrator.

403

The IP address is locked. The number of times that the authentication string carried in the request is incorrect exceeds the maximum number of allowed errors in a period.

Check whether the authentication character string and request parameters are correct by referring to the interface authentication algorithm and Table 2. For any questions, contact the administrator.

Table 2 Abnormal status code description

Parameter

Mandatory/Optional

Value Type

Remarks

timestamp

Mandatory

Long

Timestamp. Example: 1532142010247.

status

Mandatory

int

Status code. Example: 401, 403

error

Mandatory

String

Error type. For example, Forbidden indicates that the permission is forbidden, and Unauthorized indicates that the permission is unauthorized.

message

Mandatory

String

Prompt message. Example: No message available.

path

Mandatory

String

Requested path. Example: /CCFS/resource/ccfs/queryBillData

  • Example of the returned error code
{"timestamp":1532142010247,"status":403,"error":"Forbidden","message":"Nomessageavailable","path":"/CCFS/resource/ccfs/queryBillData"}