Export test report as Excel

  • Description

    Export test report in Excel file with test details, candidate details and section details.

    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/report/{testId}/excel

  • Request Method

    GET

  • Request Data

    Parameters
    Parameter Description Default Data Type Is Mandatory
    testId Test Id associated with particular test None Int64 Yes
  • Response Data

    Parameters
    Argument Name Description Return Data Type
    None Excel 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/excel