Request Service
Please find the actual service domain and address sent by E-mail, which might vary for different products. After login the token_id
will be returned and can be used for actual request.
Once you successfully request for the service, the data would be returned. Please see the method and parameters for request at the pages of products.
Interaction
Every request should be:
POST
/GET
request- Format:
JSON
- Timeout: 20 seconds (at least 5s)
- Encode:
UTF-8
Response
Besides the requested service data, every response would contain the one unique trace_id
, one response_code
which shows the request status, and one message
for the code description. You can check the details of response code at the following table.
Code Details
Response Code | Message | Comment |
---|---|---|
00 |
success | Request successful |
02 |
authentication service error, please contact customer service | |
10000001 |
service processing error, please contact customer service | |
10000429 |
too frequent requests | |
10000400 |
invalid request: {0} | {0} is filled with details |
10000401 |
unauthorized | |
10000404 |
resource not found | |
10000415 |
content-type does not supported: {0} | {0} is filled with details |
10000405 |
request method does not supported: {0} | {0} is filled with details |
20100102 |
request parameters missing | |
20100103 |
request parameters error | |
20100200 |
this service is no longer available | |
20100201 |
service is not configured, please contact customer service | |
20100202 |
insufficient service balance, please contact customer service | |
20100300 |
retrieve data error, please contact customer service | |
20100301 |
decryption failed | |
20100302 |
unsupported encoding type |
Example of Failed Response
Once you have failed to request, there is no data but only the response code in the response. This is the example of failed reponse:
{
"response_code": "20100103",
"message": "request parameters error",
"trace_id": "896f713aba9f8388"
}
If it happens, please contact your IceKredit account manager for more info.