POST api/v1/exams/examType
Request Information
URI Parameters
None.
Body Parameters
GetExamTypeModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ExamsTypes | ExamTypeModel |
None. |
|
| CoursesMapping | Collection of ExamTypeCourseMappingModel |
None. |
|
| InstrumentTypesMapping | Collection of ExamTypeInstrumentTypeMappingModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"ExamsTypes": {
"Id": 1,
"OperatorId": 2,
"Name": "sample string 3",
"IsDeleted": true,
"GiveAutomaticRankId": 1,
"CourseId": 1,
"AutomaticUpdateCourseAsDone": true,
"DefaultSlotInMinutes": 1,
"IsIndividual": true,
"IsVisibleToParents": true,
"MinStudentYear": 64,
"MinStudentClass": 64
},
"CoursesMapping": [
{
"Id": 1,
"ExamTypeId": 2,
"CourseId": 3
},
{
"Id": 1,
"ExamTypeId": 2,
"CourseId": 3
}
],
"InstrumentTypesMapping": [
{
"Id": 1,
"ExamTypeId": 2,
"InstrumentTypeId": 3
},
{
"Id": 1,
"ExamTypeId": 2,
"InstrumentTypeId": 3
}
]
}
application/xml, text/xml
Sample:
<GetExamTypeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models">
<CoursesMapping>
<ExamTypeCourseMappingModel>
<CourseId>3</CourseId>
<ExamTypeId>2</ExamTypeId>
<Id>1</Id>
</ExamTypeCourseMappingModel>
<ExamTypeCourseMappingModel>
<CourseId>3</CourseId>
<ExamTypeId>2</ExamTypeId>
<Id>1</Id>
</ExamTypeCourseMappingModel>
</CoursesMapping>
<ExamsTypes>
<AutomaticUpdateCourseAsDone>true</AutomaticUpdateCourseAsDone>
<CourseId>1</CourseId>
<DefaultSlotInMinutes>1</DefaultSlotInMinutes>
<GiveAutomaticRankId>1</GiveAutomaticRankId>
<Id>1</Id>
<IsDeleted>true</IsDeleted>
<IsIndividual>true</IsIndividual>
<IsVisibleToParents>true</IsVisibleToParents>
<MinStudentClass>64</MinStudentClass>
<MinStudentYear>64</MinStudentYear>
<Name>sample string 3</Name>
<OperatorId>2</OperatorId>
</ExamsTypes>
<InstrumentTypesMapping>
<ExamTypeInstrumentTypeMappingModel>
<ExamTypeId>2</ExamTypeId>
<Id>1</Id>
<InstrumentTypeId>3</InstrumentTypeId>
</ExamTypeInstrumentTypeMappingModel>
<ExamTypeInstrumentTypeMappingModel>
<ExamTypeId>2</ExamTypeId>
<Id>1</Id>
<InstrumentTypeId>3</InstrumentTypeId>
</ExamTypeInstrumentTypeMappingModel>
</InstrumentTypesMapping>
</GetExamTypeModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GetExamTypeModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ExamsTypes | ExamTypeModel |
None. |
|
| CoursesMapping | Collection of ExamTypeCourseMappingModel |
None. |
|
| InstrumentTypesMapping | Collection of ExamTypeInstrumentTypeMappingModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"ExamsTypes": {
"Id": 1,
"OperatorId": 2,
"Name": "sample string 3",
"IsDeleted": true,
"GiveAutomaticRankId": 1,
"CourseId": 1,
"AutomaticUpdateCourseAsDone": true,
"DefaultSlotInMinutes": 1,
"IsIndividual": true,
"IsVisibleToParents": true,
"MinStudentYear": 64,
"MinStudentClass": 64
},
"CoursesMapping": [
{
"Id": 1,
"ExamTypeId": 2,
"CourseId": 3
},
{
"Id": 1,
"ExamTypeId": 2,
"CourseId": 3
}
],
"InstrumentTypesMapping": [
{
"Id": 1,
"ExamTypeId": 2,
"InstrumentTypeId": 3
},
{
"Id": 1,
"ExamTypeId": 2,
"InstrumentTypeId": 3
}
]
}
application/xml, text/xml
Sample:
<GetExamTypeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models">
<CoursesMapping>
<ExamTypeCourseMappingModel>
<CourseId>3</CourseId>
<ExamTypeId>2</ExamTypeId>
<Id>1</Id>
</ExamTypeCourseMappingModel>
<ExamTypeCourseMappingModel>
<CourseId>3</CourseId>
<ExamTypeId>2</ExamTypeId>
<Id>1</Id>
</ExamTypeCourseMappingModel>
</CoursesMapping>
<ExamsTypes>
<AutomaticUpdateCourseAsDone>true</AutomaticUpdateCourseAsDone>
<CourseId>1</CourseId>
<DefaultSlotInMinutes>1</DefaultSlotInMinutes>
<GiveAutomaticRankId>1</GiveAutomaticRankId>
<Id>1</Id>
<IsDeleted>true</IsDeleted>
<IsIndividual>true</IsIndividual>
<IsVisibleToParents>true</IsVisibleToParents>
<MinStudentClass>64</MinStudentClass>
<MinStudentYear>64</MinStudentYear>
<Name>sample string 3</Name>
<OperatorId>2</OperatorId>
</ExamsTypes>
<InstrumentTypesMapping>
<ExamTypeInstrumentTypeMappingModel>
<ExamTypeId>2</ExamTypeId>
<Id>1</Id>
<InstrumentTypeId>3</InstrumentTypeId>
</ExamTypeInstrumentTypeMappingModel>
<ExamTypeInstrumentTypeMappingModel>
<ExamTypeId>2</ExamTypeId>
<Id>1</Id>
<InstrumentTypeId>3</InstrumentTypeId>
</ExamTypeInstrumentTypeMappingModel>
</InstrumentTypesMapping>
</GetExamTypeModel>