Top

Error Handling

Response HTTP status code 200 tells the client requested operation is completed successfully. HTTP status code 4XX or 5XX tells the client requested operation has failed. Error message is sent as part of server response.

General Error Handling
Generic error messages are sent when server cannot proceed with request authentication.
Accounts
PUT /app/api/account
POST /app/api/account/meta
GET /app/api/account/:account_id/tags
POST /app/api/account/:account_id/tags
PUT /app/api/account/:account_id/tags
DELETE /app/api/account/:account_id/tags
SubAccounts
POST /app/api/subaccounts
PUT /app/api/subaccounts
DELETE /app/api/subaccounts/:account_id/
Users
GET /app/api/account/:account_id/users/
POST /app/api/account/users/
PUT /app/api/account/users/
DELETE /app/api/account/:account_id/users/:user_id
GET /app/api/user/tags/:account_id/:user_id
POST /app/api/user/tags/:account_id/:user_id
DELETE /app/api/user/tags/:account_id/:user_id
Invites
POST /app/api/account/invite/
Assessments
GET /app/api/assessments/:account_id
PUT /app/api/assessment/transfer
GET /app/api/assessment/:assessment_id
DELETE /app/api/assessment/:assessment_id
GET /app/api/assessment/core/:assessment_id
GET /app/api/assessment/pages/:assessment_id
GET /app/api/assessment/results/:account_id
GET /app/api/assessment/results/calculate/:result_id
GET /app/api/assessment/results/download/:result_id
GET /app/api/assessment/results/download_graph/:result_id
GET /app/api/assessment/results/report_summary/:result_id
Client Side
POST /app/api/assessment/client_side/initialize
PUT /app/api/assessment/client_side/response
GET /app/api/assessment/client_side/results/:account_id
GET /app/api/assessment/client_side/results/calculate/:result_id
GET /app/api/assessment/client_side/results/download/:result_id
GET /app/api/assessment/client_side/results/download_graph/:result_id
GET /app/api/assessment/client_side/results/report_summary/:result_id
GET /app/api/assessment/client_side/user/tags
POST /app/api/assessment/client_side/user/tags
DELETE /app/api/assessment/client_side/user/tags
GET /app/api/benchmark/apply/client_side/:benchmark_id/:result_id
GET /app/api/benchmark/apply/client_side/report/simple/:benchmark_id/:result_id
GET /app/api/benchmark/apply/client_side/report/full/:benchmark_id/:result_id
Benchmarking
GET /app/api/benchmark/list
GET /app/api/benchmark/available_assessment_tests/:benchmark_id
GET /app/api/benchmark/calculate
GET /app/api/benchmark/calculated/list
GET /app/api/benchmark/calculated/results/:config_id
GET /app/api/benchmark/calculated/report/simple/:benchmark_result_id
GET /app/api/benchmark/calculated/report/full/:benchmark_result_id
GET /app/api/benchmark/apply/:benchmark_id/:result_id
GET /app/api/benchmark/apply/report/simple/:benchmark_id/:result_id
GET /app/api/benchmark/apply/report/full/:benchmark_id/:result_id

General Error Handling

Response HTTP status code 200 tells the client requested operation is completed successfully. HTTP status code 4XX or 5XX tells the client requested operation has failed. Error message is sent as part of server response.
Generic error messages are sent when server cannot proceed with request authentication.

Status Code: 400
Message: Invalid request: bad request timestamp
Description: 'X-Time' header not found in the request or bad request timestamp provided.

Status Code: 400
Message: Invalid request: public key not specified
Description: 'X-Public' header not found in the request.

Status Code: 401
Message: Invalid request: public key unknown
Description: The public key provided in 'X-Public' header is unknown.

Status Code: 400
Message: Invalid request: bad request hash
Description: 'X-Hash' header not found in the request or the hash value provided does not match the request body.

Status Code: 500
Message: Server error: cannot proceed with request authentication
Description: Internal server error during request authentication.

Beyond the generic errors above, the operation specific error codes 4XX, 5XX and messages can be returned.


Accounts


PUT /app/api/account

Status Code: 400
Message: Meta data key already exists or is reserved for system use
Description: Meta data key specified in the request already exists or is reserved for system use.

Status Code: 403
Message: Not allowed to add meta data to the account specified in the request
Description: The caller does not have rights to add meta data to the specified account (the account specified in the request is not a caller’s account or subaccount).

POST /app/api/account/meta

Status Code: 403
Message: Account data not valid
Description: Unable to update account attributes with values provided in the request.

Status Code: 403
Message: Not allowed to update specified account
Description: The caller does not have rights to update specified account (the account specified in the request is not a caller’s account or subaccount).

GET /app/api/account/:account_id/tags

Status Code: 403
Message: Not allowed to retrieve information about the account specified in the request
Description: The caller does not have rights to retrieve information about specified account (the account specified in the request is not a caller’s account or subaccount).


POST /app/api/account/:account_id/tags

Status Code: 400
Message: Tags not specified
Description: The tags parameter not found, not a JSON array or contains an empty list of tags

Status Code: 403
Message: Not allowed to create tags for the account specified in the request
Description: The caller does not have rights to create tags for the specified account (the account specified in the request is not a caller’s account or subaccount).


PUT /app/api/account/:account_id/tags

Status Code: 400
Message: Tags not specified
Description: The tags parameter not found, not a JSON array or contains an empty list of tags

Status Code: 403
Message: Not allowed to create tags for the account specified in the request
Description: The caller does not have rights to edit tags for the specified account (the account specified in the request is not a caller’s account or subaccount).


DELETE /app/api/account/:account_id/tags

Status Code: 400
Message: Tags not specified
Description: The tags parameter not found, not a JSON array or contains an empty list of tags

Status Code: 403
Message: Not allowed to create tags for the account specified in the request
Description: The caller does not have rights to delete tags for the specified account (the account specified in the request is not a caller’s account or subaccount).


Subaccounts


POST /app/api/subaccounts

Status Code: 400
Message: Sub-account data not valid
Description: Unable to create subaccount with attributes provided in the request.

Status Code: 403
Message: Not allowed to add sub-account to the account specified in the request
Description: The caller does not have rights to create subaccount in the specified account (the account specified in the request is not a caller’s account or subaccount).

PUT /app/api/subaccounts

Status Code: 400
Message: Sub-account data not valid
Description: Unable to update subaccount with attributes provided in the request.

Status Code: 403
Message: Not allowed to update sub-account specified in the request
Description: The caller does not have rights to update specified subaccount (the account specified in the request is not a caller’s subaccount).

DELETE /app/api/subaccounts/:account_id/

Status Code: 400
Message: Unable to delete sub-account (sub-account does not exist)
Description: Subaccount specified in the request does not exist or cannot be deleted (constrained by the existing data linked to the account in the database).

Status Code: 403
Message: Not allowed to delete sub-account specified in the request
Description: The caller does not have rights to delete specified subaccount (the account specified in the request is not a caller’s subaccount).

Users


GET /app/api/account/:account_id/users/

Status Code: 403
Message: Not allowed to get the list of users for the account specified in the request
Description: The caller does not have rights to list users in the account (the account specified in the request is not a caller’s account or subaccount).

POST /app/api/account/users/

Status Code: 400
Message: User data not valid
Description: Unable to create new user with attributes provided in the request (user with given email already exists).

Status Code: 403
Message: Not allowed to add new user to the account specified in the request
Description: The caller does not have rights to add users to the specified account (the account specified in the request is not a caller’s account or subaccount).

PUT /app/api/account/users/

Status Code: 400
Message: User data not valid or the user is not a member of the account specified
Description: User membership attributes are not valid or the user is not a member of the account specified.

Status Code: 403
Message: Not allowed to modify user in the account specified in the request
Description: The caller does not have rights to modify membership data for the account (the account specified in the request is not a caller’s account or subaccount).

DELETE /app/api/account/:account_id/users/:user_id

Status Code: 400
Message: User does not exist or is not a member of the account specified
Description: User with given ID does not exist or is not a member of the account specified.

Status Code: 403
Message: Not allowed to remove users from the account specified in the request
Description: The caller does not have rights to modify membership of the account (the account specified in the request is not a caller’s account or subaccount).

GET /app/api/user/tags/:account_id/:user_id

Status Code: 400
Message: User does not exist or is not a member of the account specified
Description: User with given ID does not exist or is not a member of the account specified.

Status Code: 403
Message: Not allowed to list tags for the user specified in the request
Description: The caller does not have rights to list tags for users of the given account (the account specified in the request is not a caller’s account or subaccount).

POST /app/api/user/tags/:account_id/:user_id

Status Code: 400
Message: Tags not specified
Description: The tags parameter not found, not a JSON array or contains an empty list of tags.

Status Code: 400
Message: User does not exist or is not a member of the account specified
Description: User with given ID does not exist or is not a member of the account specified.

Status Code: 403
Message: Not allowed to add tags to the user specified in the request
Description: The caller does not have rights to modify tags for users of the given account (the account specified in the request is not a caller’s account or subaccount).

DELETE /app/api/user/tags/:account_id/:user_id

Status Code: 400
Message: Tags not specified
Description: The tags parameter not found, not a JSON array or contains an empty list of tags.

Status Code: 400
Message: User does not exist or is not a member of the account specified
Description: User with given ID does not exist or is not a member of the account specified.

Status Code: 403
Message: Not allowed to drop tags to the user specified in the request
Description: The caller does not have rights to modify tags for users of the given account (the account specified in the request is not a caller’s account or subaccount).

Invites


POST /app/api/account/invite/

Status Code: 400
Message: Assessment ID not specified
Description: The participant flag is set, but the assessment_id parameter not found or is set to 0.

Status Code: 400
Message: Email address not specified
Description: The email parameter not found or is an empty string.

Status Code: 402
Message: You have to purchase more assessments
Description: The caller does not have available assessment passes for given assessment to transfer to the invitee.

Status Code: 403
Message: Not allowed to create invite URL for the account specified in the request
Description: The caller does not have rights to create invite URL on behalf of the specified account (the account specified in the request is not a caller’s account or subaccount).

Assessments


GET /app/api/assessments/:account_id

Status Code: 403
Message: Not allowed to get the list of assessments for the account specified in the request
Description: The caller does not have rights to list assessments for the account specified (the account specified in the request is not a caller’s account or subaccount).

PUT /app/api/assessment/transfer

Status Code: 400
Message: Sender and recipient accounts are the same
Description: The sender and recipient accounts specified in the request are the same.

Status Code: 400
Message: Number of assessments must be a positive value
Description: Number of assessments to transfer must be a positive value.

Status Code: 403
Message: Not allowed to transfer assessments from the account specified
Description: The caller does not have rights to make an assessment transfer from the account specified (the sender account is not a caller’s account or subaccount).

Status Code: 403
Message: Not allowed to transfer assessments to the account specified
Description: The caller does not have rights to make an assessment transfer to the account specified (the recipient account is not a caller’s account or subaccount).

Status Code: 403
Message: The sender account does not have enough assessments to transfer
Description: The sender account does not have enough available assessment passes for given assessment to transfer.

Status Code: 500
Message: Unable to complete assessments transfer
Description: The server has failed to complete assessment transfer transaction.

GET /app/api/assessment/:assessment_id

Status Code: 403
Message: Assessment does not exist or not allowed to get details of the assessment specified
Description: The caller does not have rights to get detailed information about given assessment (does not have purchase record for the assessment) or the assessment does not exist.

Delete /app/api/assessment/:assessment_id

Status Code: 403
Message: Not allowed to delete the assessment
Description: Current version of API rejects requests to delete the assessment.

GET /app/api/assessment/core/:assessment_id

Status Code: 403
Message: Assessment does not exist
Description: Assessment with specified ID does not exist.

GET /app/api/assessment/pages/:assessment_id

Status Code: 403
Message: Assessment does not exist
Description: Assessment with specified ID does not exist.

GET /app/api/assessment/results/:account_id

Status Code: 403
Message: Not allowed to get results for the account specified
Description: The caller does not have rights to list assessment results for the account specified (the account specified in the request is not a caller’s account or subaccount).

GET /app/api/assessment/results/calculate/:result_id

Status Code: 400
Message: Assessment not complete
Description: The system cannot calculate results of the unfinished assessment.

Status Code: 403
Message: Result does not exist or not allowed to calculate scores for the result specified
Description: The caller does not have rights to view results of the assessment test (the user who took the test is not a member of the caller’s account or subaccount) or the result with specified ID does not exist.

GET /app/api/assessment/results/download/:result_id

Status Code: 400
Message: Assessment not complete
Description: The system cannot calculate results of the unfinished assessment.

Status Code: 403
Message: Result does not exist or not allowed to get PDF report for the result specified
Description: The caller does not have rights to view results of the assessment test (the user who took the test is not a member of the caller’s account or subaccount) or the result with specified ID does not exist.

Status Code: 500
Message: Unable to load result details
Description: Unable to load result details – internal server error.

GET /app/api/assessment/results/download_graph/:result_id

Status Code: 400
Message: Assessment not complete
Description: The system cannot calculate results of the unfinished assessment.

Status Code: 403
Message: Result does not exist or not allowed to get PDF report for the result specified
Description: The caller does not have rights to view results of the assessment test (the user who took the test is not a member of the caller’s account or subaccount) or the result with specified ID does not exist.

Status Code: 500
Message: Unable to load result details
Description: Unable to load result details – internal server error.

GET /app/api/assessment/results/report_summary/:result_id

Status Code: 400
Message: Assessment not complete
Description: The system cannot calculate results of the unfinished assessment.

Status Code: 403
Message: Result does not exist or not allowed to get report summary for the result specified
Description: The caller does not have rights to view results of the assessment test (the user who took the test is not a member of the caller’s account or subaccount) or the result with specified ID does not exist.

Client Side Assessments


POST /app/api/assessment/client_side/initialize

Status Code: 400
Message: Assessment ID not specified
Description: The assessment_id parameter not found or is set to 0.

Status Code: 400
Message: User external ID not specified
Description: The user_external_id parameter not found or is an empty string.

Status Code: 402
Message: You have to purchase more assessments
Description: The caller’s account (or account specified by account_id parameter) does not have available passes for given assessment.

Status Code: 403
Message: Not allowed to initialize assessment passage for the account specified in the request
Description: The caller does not have rights to initialize assessment passage on behalf of the specified account (the account specified in the request is not a caller’s account or subaccount).

Status Code: 500
Message: Unable to initialize assessment passage
Description: The server has failed to initialize assessment passage (internal server error).

PUT /app/api/assessment/client_side/response

Status Code: 400
Message: Invalid assessment page ID
Description: The page_id parameter not found or page does not belong to the current assessment.

Status Code: 400
Message: User response is already saved
Description: The user response to questions on given assessment test page is already saved.

Status Code: 400
Message: Unrecognized user response format
Description: The response parameter not found or server is unable to parse response JSON.

Status Code: 403
Message: Result does not exist or not allowed to save user responses for the result specified
Description: The caller does not have rights to access the result specified (the user who is taking the test is not associated with the caller’s account or subaccount) or the result with specified ID does not exist.

Status Code: 500
Message: Unable to save user response
Description: The server has failed to save user response to assessment questions (internal server error).

GET /app/api/assessment/client_side/results/:account_id

Status Code: 403
Message: Not allowed to get results for the account specified
Description: The caller does not have rights to list client-side assessment results for the account specified (the account specified in the request is not a caller’s account or subaccount).

GET /app/api/assessment/client_side/results/calculate/:result_id

Status Code: 400
Message: Assessment not complete
Description: The system cannot calculate results of the unfinished assessment.

Status Code: 403
Message: Result does not exist or not allowed to calculate scores for the result specified
Description: The caller does not have rights to view results of the client-side assessment test (the user who took the test is not associated with the caller’s account or subaccount) or the result with specified ID does not exist.

GET /app/api/assessment/client_side/results/download/:result_id

Status Code: 400
Message: Assessment not complete
Description: The system cannot calculate results of the unfinished assessment.

Status Code: 403
Message: Result does not exist or not allowed to get PDF report for the result specified
Description: The caller does not have rights to view results of the client-side assessment test (the user who took the test is not associated with the caller’s account or subaccount) or the result with specified ID does not exist.

Status Code: 500
Message: Unable to load result details
Description: Unable to load result details – internal server error.

GET /app/api/assessment/client_side/results/download_graph/:result_id

Status Code: 400
Message: Assessment not complete
Description: The system cannot calculate results of the unfinished assessment.

Status Code: 403
Message: Result does not exist or not allowed to get PDF report for the result specified
Description: The caller does not have rights to view results of the client-side assessment test (the user who took the test is not associated with the caller’s account or subaccount) or the result with specified ID does not exist.

Status Code: 500
Message: Unable to load result details
Description: Unable to load result details – internal server error.

GET /app/api/assessment/client_side/results/report_summary/:result_id

Status Code: 400
Message: Assessment not complete
Description: The system cannot calculate results of the unfinished assessment.

Status Code: 403
Message: Result does not exist or not allowed to get report summary for the result specified
Description: The caller does not have rights to view results of the client-side assessment test (the user who took the test is not associated with the caller’s account or subaccount) or the result with specified ID does not exist.

GET /app/api/assessment/client_side/user/tags

Status Code: 400
Message: User external ID not specified
Description: The user_external_id parameter not found

Status Code: 400
Message: User not found
Description: The user with specified external ID does not exist in the given account.

Status Code: 403
Message: Not allowed to list tags for the user specified in the request
Description: : The caller does not have rights to list tags for external user of the given account (the account specified in the request is not a caller’s account or subaccount).

POST /app/api/assessment/client_side/user/tags

Status Code: 400
Message: Tags not specified
Description: The tags parameter not found, not a JSON array or contains an empty list of tags.

Status Code: 400
Message: User external ID not specified
Description: The user_external_id parameter not found

Status Code: 400
Message: User not found
Description: The user with specified external ID does not exist in the given account.

Status Code: 403
Message: Not allowed to add tags for the user specified in the request
Description: : The caller does not have rights to modify tags for external user of the given account (the account specified in the request is not a caller’s account or subaccount).

DELETE /app/api/assessment/client_side/user/tags

Status Code: 400
Message: Tags not specified
Description: The tags parameter not found, not a JSON array or contains an empty list of tags.

Status Code: 400
Message: User external ID not specified
Description: The user_external_id parameter not found

Status Code: 400
Message: User not found
Description: The user with specified external ID does not exist in the given account.

Status Code: 403
Message: Not allowed to drop tags for the user specified in the request
Description: The caller does not have rights to modify tags for external user of the given account (the account specified in the request is not a caller’s account or subaccount).

GET /app/api/benchmark/apply/client_side/:benchmark_id/:result_id

Status Code: 400
Message: Assessment not complete
Description: The system cannot apply benchmark to the results of the unfinished client-side assessment.

Status Code: 403
Message: Benchmark does not exist or not allowed to apply benchmark specified
Description: : The caller’s account does not have active subscription for the benchmark specified or the benchmark with specified ID does not exist.

Status Code: 403
Message: Result does not exist or not allowed to get benchmark scores for the result specified
Description: The caller does not have rights to access results of the client-side assessment test (the user who took the test is not associated with the caller’s account or subaccount) or the result with specified ID does not exist.

Status Code: 500
Message: Unable to load result details
Description: Unable to load result details – internal server error.

GET /app/api/benchmark/apply/client_side/report/simple/:benchmark_id/:result_id

Status Code: 400
Message: Assessment not complete
Description: The system cannot apply benchmark to the results of the unfinished client-side assessment.

Status Code: 403
Message: Benchmark does not exist or not allowed to apply benchmark specified
Description: : The caller’s account does not have active subscription for the benchmark specified or the benchmark with specified ID does not exist.

Status Code: 403
Message: Result does not exist or not allowed to get PDF report for the result specified
Description: The caller does not have rights to access results of the client-side assessment test (the user who took the test is not associated with the caller’s account or subaccount) or the result with specified ID does not exist.

Status Code: 500
Message: Unable to load result details
Description: Unable to load result details – internal server error.

Status Code: 500
Message: Unable to generate PDF report
Description: Unable to generate PDF report – internal server error.

GET /app/api/benchmark/apply/client_side/report/full/:benchmark_id/:result_id

Status Code: 400
Message: Assessment not complete
Description: The system cannot apply benchmark to the results of the unfinished client-side assessment.

Status Code: 403
Message: Benchmark does not exist or not allowed to apply benchmark specified
Description: : The caller’s account does not have active subscription for the benchmark specified or the benchmark with specified ID does not exist.

Status Code: 403
Message: Result does not exist or not allowed to get PDF report for the result specified
Description: The caller does not have rights to access results of the client-side assessment test (the user who took the test is not associated with the caller’s account or subaccount) or the result with specified ID does not exist.

Status Code: 500
Message: Unable to load result details
Description: Unable to load result details – internal server error.

Status Code: 500
Message: Unable to generate PDF report
Description: Unable to generate PDF report – internal server error.

Benchmarking


GET /app/api/benchmark/list

Status Code: 403
Message: Not allowed to retrieve information about the account specified in the request
Description: The caller does not have rights to retrieve information about specified account (the account specified in the request is not a caller’s account or subaccount).

GET /app/api/benchmark/available_assessment_tests/:benchmark_id

Status Code: 400
Message: Benchmark does not exist or not defined properly
Description: The benchmark with specified ID does not exist or not defined properly in PK3.

Status Code: 403
Message: Not allowed to retrieve information about the account specified in the request
Description: The caller does not have rights to retrieve information about specified account (the account specified in the request is not a caller’s account or subaccount).

Status Code: 500
Message: Unable to get list of available results
Description: Unable to get list of available results – internal server error.

POST /app/api/benchmark/calculate

Status Code: 400
Message: Assessment ID not specified
Description: The assessment_id parameter not found or is set to 0.

Status Code: 403
Message: Not allowed to calculate benchmark for the account specified in the request
Description: The caller does not have rights to use specified account (the account specified in the request is not a caller’s account or subaccount).

Status Code: 403
Message: Benchmark does not exist or not allowed to apply benchmark specified
Description: The caller’s account (or subaccount specified in the request) does not have active subscription for the benchmark specified in the request or the benchmark with specified ID does not exist.

Status Code: 500
Message: Unable to calculate benchmark
Description: Unable to calculate benchmark – internal server error.

GET /app/api/benchmark/calculated/list

Status Code: 403
Message: Not allowed to retrieve information about the account specified in the request
Description: The caller does not have rights to retrieve information about specified account (the account specified in the request is not a caller’s account or subaccount).

GET /app/api/benchmark/calculated/results/:config_id

Status Code: 403
Message: Pre-calculated benchmark does not exist or not allowed to access pre-calculated benchmark
Description: : The caller does not have rights to retrieve information about specified pre-calculated benchmark (pre-calculated benchmark specified is associated with the account that is not a caller’s account or subaccount).

GET /app/api/benchmark/calculated/report/simple/:benchmark_result_id

Status Code: 403
Message: Result does not exist or not allowed to get PDF report for the result specified
Description: The caller does not have rights to retrieve information about specified user benchmark scores (the result is of pre-calculated benchmark associated with the account that is not a caller’s account or subaccount) or the user benchmark result with specified ID does not exist.

Status Code: 500
Message: Unable to load result details
Description: Unable to load result details – internal server error.

Status Code: 500
Message: Unable to generate PDF report
Description: Unable to generate PDF report – internal server error.

GET /app/api/benchmark/calculated/report/full/:benchmark_result_id

Status Code: 403
Message: Result does not exist or not allowed to get PDF report for the result specified
Description: The caller does not have rights to retrieve information about specified user benchmark scores (the result is of pre-calculated benchmark associated with the account that is not a caller’s account or subaccount) or the user benchmark result with specified ID does not exist.

Status Code: 500
Message: Unable to load result details
Description: Unable to load result details – internal server error.

Status Code: 500
Message: Unable to generate PDF report
Description: Unable to generate PDF report – internal server error.

GET /app/api/benchmark/apply/:benchmark_id/:result_id

Status Code: 400
Message: Assessment not complete
Description: The system cannot apply benchmark to the results of the unfinished assessment.

Status Code: 403
Message: Benchmark does not exist or not allowed to apply benchmark specified
Description: The caller’s account does not have active subscription for the benchmark specified or the benchmark with specified ID does not exist.

Status Code: 403
Message: Result does not exist or not allowed to get benchmark scores for the result specified
Description: The caller does not have rights to access results of the assessment test (the user who took the test is not associated with the caller’s account or subaccount) or the result with specified ID does not exist

Status Code: 500
Message: Unable to load result details
Description: Unable to load result details – internal server error.

GET /app/api/benchmark/apply/report/simple/:benchmark_id/:result_id

Status Code: 400
Message: Assessment not complete
Description: The system cannot apply benchmark to the results of the unfinished assessment.

Status Code: 403
Message: Benchmark does not exist or not allowed to apply benchmark specified
Description: The caller’s account does not have active subscription for the benchmark specified or the benchmark with specified ID does not exist.

Status Code: 403
Message: Result does not exist or not allowed to get PDF report for the result specified
Description: The caller does not have rights to access results of the assessment test (the user who took the test is not associated with the caller’s account or subaccount) or the result with specified ID does not exist.

Status Code: 500
Message: Unable to load result details
Description: Unable to load result details – internal server error.

Status Code: 500
Message: Unable to generate PDF report
Description: Unable to generate PDF report – internal server error.

GET /app/api/benchmark/apply/report/full/:benchmark_id/:result_id

Status Code: 400
Message: Assessment not complete
Description: The system cannot apply benchmark to the results of the unfinished assessment.

Status Code: 403
Message: Benchmark does not exist or not allowed to apply benchmark specified
Description: The caller’s account does not have active subscription for the benchmark specified or the benchmark with specified ID does not exist.

Status Code: 403
Message: Result does not exist or not allowed to get PDF report for the result specified
Description: The caller does not have rights to access results of the assessment test (the user who took the test is not associated with the caller’s account or subaccount) or the result with specified ID does not exist.

Status Code: 500
Message: Unable to load result details
Description: Unable to load result details – internal server error.

Status Code: 500
Message: Unable to generate PDF report
Description: Unable to generate PDF report – internal server error.