Below V2 API documentation is being deprecated. For latest API docs, visit
Export candidate report as PDF
-
Description
Export candidate's test details in pdf format.
Note: File download will not work with XMLHttpRequest (AJAX request) because Javascript cannot save files directly to a user's computer. You have to use URL request to download file. -
URL structure
https://api.interviewmocha.com/v2/org/report/{testInvitationId}/pdf
-
Request Method
GET
-
Request Data
ParametersParameter Description Default Data Type Is Mandatory testInvitationId Test Invitation Id associated with candidate giving particular test. None Int64 Yes -
Response Data
ParametersArgument Name Description Return Data Type None Pdf file in HTTP Response HTTP Response -
Sample Code
Example Curl request will look like this:curl -i -H "x-api-key:YOUR_API_KEY_HERE" -H "content-type:application/json;charset=utf-8" -X GET https://api.interviewmocha.com/v2/report/840799/pdf