Requests format

Request

GET or POST requests send to project address, e.g.https://domain.rezonuniversal.com/api/.

Request parameters can be sent as GET or POST parameters. List of general request parameters:

key

The access key (required)

*****

token

The access token (required)

********************************

t

Type of response

xml / json

lang

language

en / ua / ru / ..

ip

IP address of client

Response

The response can be in XML or JSON format. You can control it by t parameter (xml/json) or by setting http header Accept: application/json or application/xml

Any response contains a "wrapper" that defines the status of the response and the data

{
   "StatusCode": "200",
   "Status": "OK",
   "Body": {
      "Data": [],
   }
}

Fields of response

StatusCode - Status of response code (200 - Success; 400 - Invalid request; 401 - Not authorized; 500 - Internal error etc.)

Status - Status of response

Body/Data - Main data

RPS limit

Currently, all API methods have a limit of 2 RPS (requests per second).

In 1 minute you can send no more than 120 requests.

If this number of requests is exceeded, the system will return an error 9003 RPS limit violetes

Last updated