POST api/questionType/InsertUpdateQuestionType

Request Information

URI Parameters

None.

Body Parameters

QuestionType
NameDescriptionTypeAdditional information
Id

integer

None.

MarkId

integer

None.

Name

string

None.

Type

string

None.

StandardTypeId

integer

None.

StdType

string

None.

Description

string

None.

SubjectId

string

None.

SubjectIds

string

None.

StandardIds

string

None.

StandardId

string

None.

Key

string

None.

QuestionTypeId

integer

None.

QuestionAnswerId

integer

None.

TotalMark

integer

None.

QuestionNumber

string

None.

QuestionTypeName

string

None.

StandardName

string

None.

SubjectName

string

None.

TemplateName

string

None.

TotalMarkforQuestion

string

None.

QuestionName

string

None.

NumberofCount

integer

None.

OutOfCout

integer

None.

QuestionTypes

Collection of AbstractQuestionType

None.

Marks

Collection of AbstractQuestionType

None.

QuestionDescription

string

None.

CategoryQuestionCount

string

None.

AnyQuestionstring

string

None.

ALIGNMENT_TYPE

integer

None.

SolutionALIGNMENT_TYPE

integer

None.

SectionName

string

None.

QuestionNumberwiseCount

integer

None.

IsHoldCategory

boolean

None.

IsOnlyMCQ

boolean

None.

IsEnglish

boolean

None.

ChapterId

string

None.

ChapterIds

string

None.

TopicId

string

None.

TopicIds

string

None.

ChapterName

string

None.

TopicName

string

None.

QuestionCount

integer

None.

QuestionTypeJson

string

None.

QuestionTypeDescriptionJson

string

None.

QuestionTypeMarkJson

string

None.

BulletId

integer

None.

QPQId

integer

None.

Mark_Language

string

None.

CreateDate

date

Data type: Date

ModifiedDate

date

None.

CreatedBy

integer

None.

ModifiedBy

integer

None.

FieldsToNull

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "MarkId": 2,
  "Name": "sample string 3",
  "Type": "sample string 4",
  "StandardTypeId": 5,
  "StdType": "sample string 6",
  "Description": "sample string 7",
  "SubjectId": "sample string 8",
  "SubjectIds": "sample string 9",
  "StandardIds": "sample string 10",
  "StandardId": "sample string 11",
  "Key": "sample string 12",
  "QuestionTypeId": 13,
  "QuestionAnswerId": 14,
  "TotalMark": 15,
  "QuestionNumber": "sample string 16",
  "QuestionTypeName": "sample string 17",
  "StandardName": "sample string 18",
  "SubjectName": "sample string 19",
  "TemplateName": "sample string 20",
  "TotalMarkforQuestion": "sample string 21",
  "QuestionName": "sample string 22",
  "NumberofCount": 23,
  "OutOfCout": 24,
  "QuestionTypes": null,
  "Marks": null,
  "QuestionDescription": "sample string 25",
  "CategoryQuestionCount": "sample string 26",
  "AnyQuestionstring": "sample string 27",
  "ALIGNMENT_TYPE": 28,
  "SolutionALIGNMENT_TYPE": 29,
  "SectionName": "sample string 30",
  "QuestionNumberwiseCount": 31,
  "IsHoldCategory": true,
  "IsOnlyMCQ": true,
  "IsEnglish": true,
  "ChapterId": "sample string 35",
  "ChapterIds": "sample string 36",
  "TopicId": "sample string 37",
  "TopicIds": "sample string 38",
  "ChapterName": "sample string 39",
  "TopicName": "sample string 40",
  "QuestionCount": 41,
  "QuestionTypeJson": "sample string 42",
  "QuestionTypeDescriptionJson": "sample string 43",
  "QuestionTypeMarkJson": "sample string 44",
  "BulletId": 45,
  "QPQId": 46,
  "Mark_Language": "sample string 47",
  "CreateDate": "2026-01-09T22:56:07.2725206+00:00",
  "ModifiedDate": "2026-01-09T22:56:07.2725206+00:00",
  "CreatedBy": 1,
  "ModifiedBy": 1
}

text/xml

Sample:
<QuestionType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/School.Entities.V1">
  <CreateDate xmlns="http://schemas.datacontract.org/2004/07/School.Common">2026-01-09T22:56:07.2725206+00:00</CreateDate>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/School.Common">1</CreatedBy>
  <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/School.Common">1</ModifiedBy>
  <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/School.Common">2026-01-09T22:56:07.2725206+00:00</ModifiedDate>
  <ALIGNMENT_TYPE xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">28</ALIGNMENT_TYPE>
  <AnyQuestionstring xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 27</AnyQuestionstring>
  <BulletId xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">45</BulletId>
  <CategoryQuestionCount xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 26</CategoryQuestionCount>
  <ChapterId xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 35</ChapterId>
  <ChapterIds xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 36</ChapterIds>
  <ChapterName xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 39</ChapterName>
  <Description xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 7</Description>
  <Id xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">1</Id>
  <IsEnglish xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">true</IsEnglish>
  <IsHoldCategory xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">true</IsHoldCategory>
  <IsOnlyMCQ xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">true</IsOnlyMCQ>
  <Key xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 12</Key>
  <MarkId xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">2</MarkId>
  <Mark_Language xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 47</Mark_Language>
  <Marks i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract" />
  <Name xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 3</Name>
  <NumberofCount xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">23</NumberofCount>
  <OutOfCout xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">24</OutOfCout>
  <QPQId xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">46</QPQId>
  <QuestionAnswerId xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">14</QuestionAnswerId>
  <QuestionCount xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">41</QuestionCount>
  <QuestionDescription xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 25</QuestionDescription>
  <QuestionName xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 22</QuestionName>
  <QuestionNumber xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 16</QuestionNumber>
  <QuestionNumberwiseCount xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">31</QuestionNumberwiseCount>
  <QuestionTypeDescriptionJson xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 43</QuestionTypeDescriptionJson>
  <QuestionTypeId xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">13</QuestionTypeId>
  <QuestionTypeJson xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 42</QuestionTypeJson>
  <QuestionTypeMarkJson xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 44</QuestionTypeMarkJson>
  <QuestionTypeName xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 17</QuestionTypeName>
  <QuestionTypes i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract" />
  <SectionName xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 30</SectionName>
  <SolutionALIGNMENT_TYPE xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">29</SolutionALIGNMENT_TYPE>
  <StandardId xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 11</StandardId>
  <StandardIds xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 10</StandardIds>
  <StandardName xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 18</StandardName>
  <StandardTypeId xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">5</StandardTypeId>
  <StdType xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 6</StdType>
  <SubjectId xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 8</SubjectId>
  <SubjectIds xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 9</SubjectIds>
  <SubjectName xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 19</SubjectName>
  <TemplateName xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 20</TemplateName>
  <TopicId xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 37</TopicId>
  <TopicIds xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 38</TopicIds>
  <TopicName xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 40</TopicName>
  <TotalMark xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">15</TotalMark>
  <TotalMarkforQuestion xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 21</TotalMarkforQuestion>
  <Type xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 4</Type>
</QuestionType>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.