POST api/eLearningAssessmentTestApi/SaveQuestion
Request Information
URI Parameters
None.
Body Parameters
eLearningAssesmentQuestionViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | decimal number |
None. |
|
AsessmentTestInfoIdEncrypt | string |
None. |
|
Marks | decimal number |
None. |
|
Question | string |
None. |
|
QuestionTypeId | decimal number |
None. |
|
AsessmentTestInfoId | decimal number |
None. |
|
ParagraphId | decimal number |
None. |
|
ListOptions | Collection of eLearningAssesmentQuetionOptionsFiles |
None. |
|
CreatedDate | date |
None. |
|
CreatedBy | decimal number |
None. |
|
UpdatedDate | date |
None. |
|
UpdatedBy | decimal number |
None. |
|
CorrectListOptions | Collection of eLearningAssesmentQuetionOptionsFiles |
None. |
|
IsEditMode | boolean |
None. |
|
IsRearrange | boolean |
None. |
|
QuestionType | string |
None. |
|
TrueFalseCorretValue | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1.0, "AsessmentTestInfoIdEncrypt": "sample string 2", "Marks": 3.1, "Question": "sample string 4", "QuestionTypeId": 5.0, "AsessmentTestInfoId": 6.0, "ParagraphId": 7.0, "ListOptions": [ { "Option": "sample string 1", "FilePath": "sample string 2", "Type": "sample string 3", "Id": 4.0, "IsCorrectOption": true }, { "Option": "sample string 1", "FilePath": "sample string 2", "Type": "sample string 3", "Id": 4.0, "IsCorrectOption": true } ], "CreatedDate": "2025-01-09T01:34:59.6312843+05:00", "CreatedBy": 1.0, "UpdatedDate": "2025-01-09T01:34:59.6312843+05:00", "UpdatedBy": 1.0, "CorrectListOptions": [ { "Option": "sample string 1", "FilePath": "sample string 2", "Type": "sample string 3", "Id": 4.0, "IsCorrectOption": true }, { "Option": "sample string 1", "FilePath": "sample string 2", "Type": "sample string 3", "Id": 4.0, "IsCorrectOption": true } ], "IsEditMode": true, "IsRearrange": true, "QuestionType": "sample string 10", "TrueFalseCorretValue": "sample string 11" }
application/xml, text/xml
Sample:
<eLearningAssesmentQuestionViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataModels"> <AsessmentTestInfoId>6</AsessmentTestInfoId> <AsessmentTestInfoIdEncrypt>sample string 2</AsessmentTestInfoIdEncrypt> <CorrectListOptions> <eLearningAssesmentQuetionOptionsFiles> <FilePath>sample string 2</FilePath> <Id>4</Id> <IsCorrectOption>true</IsCorrectOption> <Option>sample string 1</Option> <Type>sample string 3</Type> </eLearningAssesmentQuetionOptionsFiles> <eLearningAssesmentQuetionOptionsFiles> <FilePath>sample string 2</FilePath> <Id>4</Id> <IsCorrectOption>true</IsCorrectOption> <Option>sample string 1</Option> <Type>sample string 3</Type> </eLearningAssesmentQuetionOptionsFiles> </CorrectListOptions> <CreatedBy>1</CreatedBy> <CreatedDate>2025-01-09T01:34:59.6312843+05:00</CreatedDate> <Id>1</Id> <IsEditMode>true</IsEditMode> <IsRearrange>true</IsRearrange> <ListOptions> <eLearningAssesmentQuetionOptionsFiles> <FilePath>sample string 2</FilePath> <Id>4</Id> <IsCorrectOption>true</IsCorrectOption> <Option>sample string 1</Option> <Type>sample string 3</Type> </eLearningAssesmentQuetionOptionsFiles> <eLearningAssesmentQuetionOptionsFiles> <FilePath>sample string 2</FilePath> <Id>4</Id> <IsCorrectOption>true</IsCorrectOption> <Option>sample string 1</Option> <Type>sample string 3</Type> </eLearningAssesmentQuetionOptionsFiles> </ListOptions> <Marks>3.1</Marks> <ParagraphId>7</ParagraphId> <Question>sample string 4</Question> <QuestionType>sample string 10</QuestionType> <QuestionTypeId>5</QuestionTypeId> <TrueFalseCorretValue>sample string 11</TrueFalseCorretValue> <UpdatedBy>1</UpdatedBy> <UpdatedDate>2025-01-09T01:34:59.6312843+05:00</UpdatedDate> </eLearningAssesmentQuestionViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>