POST api/interview/test/definition/create
Request Information
URI Parameters
None.
Body Parameters
InterviewTestDefinitionDTOW| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
Required Max length: 100 |
|
| description | string |
Required |
|
| instructions | string |
None. |
|
| randomize_questions | boolean |
Required |
|
| fixed_questions | boolean |
Required |
|
| is_timed | boolean |
Required |
|
| total_time_mins | integer |
None. |
|
| allow_review | boolean |
Required |
|
| show_final_score | boolean |
Required |
|
| cut_off_mark | decimal number |
None. |
|
| category | integer |
Required |
|
| has_document | boolean |
Required |
|
| doc_name | string |
Max length: 100 |
|
| doc_extension | string |
Max length: 100 |
|
| doc_url | string |
Max length: 500 |
|
| doc_guid | string |
Max length: 100 |
|
| doc_size | decimal number |
None. |
|
| doc_file_upload | Collection of byte |
None. |
|
| test_format | integer |
Required |
|
| total_score_possible | decimal number |
None. |
|
| final_score_format | integer |
Required |
|
| is_active | boolean |
None. |
|
| retake | integer |
None. |
|
| job_id | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"code": "sample string 1",
"description": "sample string 2",
"instructions": "sample string 3",
"randomize_questions": true,
"fixed_questions": true,
"is_timed": true,
"total_time_mins": 1,
"allow_review": true,
"show_final_score": true,
"cut_off_mark": 1.0,
"category": 9,
"has_document": true,
"doc_name": "sample string 11",
"doc_extension": "sample string 12",
"doc_url": "sample string 13",
"doc_guid": "sample string 14",
"doc_size": 1.0,
"doc_file_upload": "QEA=",
"test_format": 15,
"total_score_possible": 1.0,
"final_score_format": 16,
"is_active": true,
"retake": 1,
"job_id": 18
}
application/xml, text/xml
Sample:
<InterviewTestDefinitionDTOW xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Xceed365EngageApi.core.DTOs.Writable"> <allow_review>true</allow_review> <category>9</category> <code>sample string 1</code> <cut_off_mark>1</cut_off_mark> <description>sample string 2</description> <doc_extension>sample string 12</doc_extension> <doc_file_upload>QEA=</doc_file_upload> <doc_guid>sample string 14</doc_guid> <doc_name>sample string 11</doc_name> <doc_size>1</doc_size> <doc_url>sample string 13</doc_url> <final_score_format>16</final_score_format> <fixed_questions>true</fixed_questions> <has_document>true</has_document> <instructions>sample string 3</instructions> <is_active>true</is_active> <is_timed>true</is_timed> <job_id>18</job_id> <randomize_questions>true</randomize_questions> <retake>1</retake> <show_final_score>true</show_final_score> <test_format>15</test_format> <total_score_possible>1</total_score_possible> <total_time_mins>1</total_time_mins> </InterviewTestDefinitionDTOW>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.