This document describes how to use the CaPPr Administrator API. For general information about how to use the API, please consult the general API documentation.
Get account information.
GET
/account
curl
-H "Content-Type: multipart/form-data"
-H "Authorization: Basic ZnJlZDpmcmVk"
-X GET https://api.cappr.org/account| Value | Description |
|---|---|
| 200 | OK |
| 400 | Invalid request |
| 401 | Authentication error |
| 429 | Too many requests |
title (string)Account title.
language (string)Account language.
email (boolean)false for Administrator accounts.
password (boolean)false for Administrator accounts.
subject (boolean)false for Administrator accounts.
position (boolean)false for Administrator accounts.
test (boolean)false for Administrator accounts.
report (string)null for Administrator accounts.
set (object)null for Administrator accounts.
positions (array)null for Administrator accounts.
200{
"title": "Account",
"language": "en",
"email": true,
"password": false,
"subject": false,
"position": false,
"test": false,
"report": null,
"set": null,
"positions": null
}Calculate overall match score.
GET
/calculate/?personality=:personality&motivation=:motivation&iq=:iq
personality (int, required)Big5 match score (min. 0, max. 100).
drives (float, required)Drives match score (min. 0, max. 100).
iq (float, required)IQ match score (min. 0, max. 100).
curl
-H "Content-Type: multipart/form-data"
-H "Authorization: Basic ZnJlZDpmcmVk"
-X GET https://api.cappr.org/calculate?personality=100&motivation=100&iq=100| Value | Description |
|---|---|
| 200 | OK |
| 400 | Invalid request |
| 401 | Authentication error |
| 429 | Too many requests |
input (object)Request input scores.
score (int)Calculated overall score (min. 0, max. 100).
200{
"input": {
"personality": 100,
"motivation": 100,
"iq": 100
},
"score": 100
}