Demo mode. This is a showcase cabinet of a company that has been “running” for several months: 20 employees, groups, invoices. Try any actions — changes live only in your tab and reset on page reload. No real data is affected.
ТОВ «Демо Транс» (зразок)
Settings
Inviting employees
There are two ways to onboard employees — pick what fits:
- Shared link — easy to hand out to the whole team (chat, notice board). Everyone who comes via it joins the approval queue: access opens only after your approval in the “Employees” section. Random people won’t get access.
- Personal email invitations (“Employees” → “Invite by email”) — for specific people. Those who already have an account join immediately; the rest receive an email, and access turns on automatically after registering with that email. No queue.
Your invitation link:
https://pdrtest.com/b/demoExport API — access key
The key lets your internal systems automatically export employee data — of your company only. The key is shown once upon generation — save it in a password manager. We store only a hash of the key; it cannot be recovered — only regenerated.
Loading…
- “Regenerate” — the old key stops working immediately (rotate when people change).
- “Revoke” — exporting stops until you generate a new key.
How to use the export API
In the demo cabinet the key is not active — the endpoint and examples are for reference. Real exporting works in your cabinet after generating a key.
- Generate a key (block above) and save it — it looks like
pdrent_a1b2c3… - Make a GET request to the endpoint:
https://pdrtest.com/api/business/export/members
For CSV (Excel / Google Sheets) add?format=csv. - The key is passed in the HTTP header
Authorization: Bearer <key>of every request — not in the URL and not in the body. So simply opening the URL in a browser returns 401 — a request with the header is required.
Example — terminal (curl):
curl -H "Authorization: Bearer pdrent_YOUR_KEY" \ https://pdrtest.com/api/business/export/members
Example — JavaScript (fetch; the key goes in headers.Authorization):
const res = await fetch(
'https://pdrtest.com/api/business/export/members',
{
headers: {
Authorization: 'Bearer pdrent_YOUR_KEY',
},
},
)
const data = await res.json()
console.log(data.members)Export fields (per employee):
- Identity:
uid,displayName(full name),email,phoneNumber,category(training categories),groups(preparation groups),enterpriseDisabled(access disabled) - Progress and quality:
percent(course %),success/sum(completed of total),mistakes,score(overall score 0–100),successSeries/successSeriesMax(current/best streak) - Activity:
timeSeconds(time in tests),activeDays7(active days per week),activityLast7(answers per day over 7 days),signInTimes(sign-ins) - Dates (epoch ms):
signUpAt,signInAt,enterpriseJoinedAt,timeActive(last activity)
Example response (JSON):
{
"members": [
{
"uid": "…",
"displayName": "Іван Петренко",
"email": "ivan@company.com",
"percent": 62,
"mistakes": 48,
"score": 71.5,
"timeSeconds": 54360,
"activeDays7": 4,
"activityLast7": [0, 80, 112, 0, 64, 96, 0],
"groups": ["Новачки"],
"timeActive": 1782900000000
}
]
}Typical scenarios: weekly CSV export for a road-safety report; integration with an internal dashboard; checking driver readiness before dispatch.