IDENTIFICATION

Identifying Requests

All requests to the public API are identified by the x-trace-id header. Its value is generated in UUIDv4 format by the client or, if the client does not provide it, by the API service. This identifier is returned to the client in the response's x-trace-id header and can be used when logging system actions.

Example of the x-trace-id header:

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-trace-id: 09b9b69c-68cf-4f44-ba0a-180398d71da0' \
  -H 'x-version: 409' \
  -H 'x-tenant-id: 3fa85f64-5717-4562-b3fc-2c963f66afa6'
'

Identifying a Space

All enterprise or user data is associated with a specific space. To retrieve data from PLAN-R, provide the user token and specify the ID of the space you are requesting data from in the HTTP request's x-tenant-id header.

Example of the x-tenant-id header:

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-tenant-id: 3fa85f64-5717-4562-b3fc-2c963f66afa6' \
  -H 'x-version: 409' \
  -H 'x-trace-id: 09b9b69c-68cf-4f44-ba0a-180398d71da0'
'

Finding a Space ID

You can find a space's unique identifier in the "Spaces" section of the web administration console. Double-click the required space in the list and copy the identifier from the dialog that opens.


608.0-5d1f26c7