;

Retrieve test settings

Retrieve current/default test settings for given test. Please refer testing settings in app to map sub-objects in API response.
GET https://apiv3.interviewmocha.com/v3/tests/{testId}/settings
  • Docs
  • Try it
Request URL Parameters
Field Type Required Default
testId Integer64 Yes -
Example API endpoint

URL 1: /v3/tests/2378467/settings

Successful response

Status 200 OK

Response
{ "testSettings": { "testName": " .Net Design Patterns ", "testAliasName": " Software Design .NET Dev", "typeOfTest": 1, "practiceTest": 1 }, "questionSettings": { "randomQuestions": 1, "randomAnswers": 1, "showQuestionScore": 1 }, "displayMessageSettings": { "sectionEndPopup": 1, "sectionTimeLeftAlert": 1, "candidateFeedback": 1 }, "windowViolationSettings": { "copyPaste": 1, "displayViolationSettings": { "displayViolationPopUp": 1, "terminateTestOnWindowViolation": 1, "terminateTestAfterViolationCount": 3 }
Failed response

Status 400 Bad request

Response
{ "statusCode": 403, "message": "You do not have permission to access resource" }
Parameter Value Description Parameter Type Data Type
testId test Id associated with particular test Query Integer64
  • Response Body