API VERSIONING
PLAN-R is continuously evolving: new features are added, internal functions are optimized, and other changes affect the system's internal operation. To protect our customers from unexpected changes in functionality, we support versioning of the public API. Each API version's functionality remains unchanged for at least six months. Endpoints scheduled for removal are marked as deprecated and removed after six months.
To specify the API version, include its number in the HTTP request's x-version header, for example, x-version: 409. If the header is omitted, the highest API version is used by default.
Attention! For stable operation, we recommend always explicitly specifying the API version you use.
Example:
curl -X 'GET' \
'https://your-org.domain/public-api/eps' \
-H 'accept: application/json;odata.metadata=minimal;odata.streaming=true' \
-H 'Authorization: client-text-token'
-H 'x-version: 409' \
-H 'x-tenant-id: 3fa85f64-5717-4562-b3fc-2c963f66afa6'