POST api/AddUpdateDoubtQuestion
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
objDoubtQuestion | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "DoubtQuestionID": 1, "DoubtQuestionNo": "sample string 2", "DoubtQuestionDate": "sample string 3", "QuestionByStudentID": 4, "SubjectID": 5, "QuestionToTeacherID": 6, "Title": "sample string 7", "QuestionText": "sample string 8", "IsAttachment": true, "IsAnswered": true, "CreatedByUserID": 11, "CreatedOnDate": "sample string 12", "IsActive": true, "objDoubtAttachmentList": [ { "DoubtAttachmentID": 1, "DoubtQuestionID": 2, "DoubtAnswerID": 3, "AttachmentURL": "sample string 4" }, { "DoubtAttachmentID": 1, "DoubtQuestionID": 2, "DoubtAnswerID": 3, "AttachmentURL": "sample string 4" }, { "DoubtAttachmentID": 1, "DoubtQuestionID": 2, "DoubtAnswerID": 3, "AttachmentURL": "sample string 4" } ], "objDoubtAnswerList": [ { "DoubtAnswerID": 1, "DoubtAnswerNo": "sample string 2", "DoubtAnswerDate": "sample string 3", "DoubtQuestionID": 4, "AnswerText": "sample string 5", "IsAttachment": true, "IsCorrectAnswer": true, "AnswerByUserID": 8, "CreatedByUserID": 9, "CreatedOnDate": "sample string 10", "IsActive": true, "UserName": "sample string 12", "TeacherName": "sample string 13", "objDoubtAttachmentList": [ { "DoubtAttachmentID": 1, "DoubtQuestionID": 2, "DoubtAnswerID": 3, "AttachmentURL": "sample string 4" }, { "DoubtAttachmentID": 1, "DoubtQuestionID": 2, "DoubtAnswerID": 3, "AttachmentURL": "sample string 4" }, { "DoubtAttachmentID": 1, "DoubtQuestionID": 2, "DoubtAnswerID": 3, "AttachmentURL": "sample string 4" } ] }, { "DoubtAnswerID": 1, "DoubtAnswerNo": "sample string 2", "DoubtAnswerDate": "sample string 3", "DoubtQuestionID": 4, "AnswerText": "sample string 5", "IsAttachment": true, "IsCorrectAnswer": true, "AnswerByUserID": 8, "CreatedByUserID": 9, "CreatedOnDate": "sample string 10", "IsActive": true, "UserName": "sample string 12", "TeacherName": "sample string 13", "objDoubtAttachmentList": [ { "DoubtAttachmentID": 1, "DoubtQuestionID": 2, "DoubtAnswerID": 3, "AttachmentURL": "sample string 4" }, { "DoubtAttachmentID": 1, "DoubtQuestionID": 2, "DoubtAnswerID": 3, "AttachmentURL": "sample string 4" }, { "DoubtAttachmentID": 1, "DoubtQuestionID": 2, "DoubtAnswerID": 3, "AttachmentURL": "sample string 4" } ] }, { "DoubtAnswerID": 1, "DoubtAnswerNo": "sample string 2", "DoubtAnswerDate": "sample string 3", "DoubtQuestionID": 4, "AnswerText": "sample string 5", "IsAttachment": true, "IsCorrectAnswer": true, "AnswerByUserID": 8, "CreatedByUserID": 9, "CreatedOnDate": "sample string 10", "IsActive": true, "UserName": "sample string 12", "TeacherName": "sample string 13", "objDoubtAttachmentList": [ { "DoubtAttachmentID": 1, "DoubtQuestionID": 2, "DoubtAnswerID": 3, "AttachmentURL": "sample string 4" }, { "DoubtAttachmentID": 1, "DoubtQuestionID": 2, "DoubtAnswerID": 3, "AttachmentURL": "sample string 4" }, { "DoubtAttachmentID": 1, "DoubtQuestionID": 2, "DoubtAnswerID": 3, "AttachmentURL": "sample string 4" } ] } ], "Subject": "sample string 14", "EnrollmentNo": "sample string 15", "StudentName": "sample string 16", "UserName": "sample string 17", "TeacherName": "sample string 18" }
text/html
Sample:
{"DoubtQuestionID":1,"DoubtQuestionNo":"sample string 2","DoubtQuestionDate":"sample string 3","QuestionByStudentID":4,"SubjectID":5,"QuestionToTeacherID":6,"Title":"sample string 7","QuestionText":"sample string 8","IsAttachment":true,"IsAnswered":true,"CreatedByUserID":11,"CreatedOnDate":"sample string 12","IsActive":true,"objDoubtAttachmentList":[{"DoubtAttachmentID":1,"DoubtQuestionID":2,"DoubtAnswerID":3,"AttachmentURL":"sample string 4"},{"DoubtAttachmentID":1,"DoubtQuestionID":2,"DoubtAnswerID":3,"AttachmentURL":"sample string 4"},{"DoubtAttachmentID":1,"DoubtQuestionID":2,"DoubtAnswerID":3,"AttachmentURL":"sample string 4"}],"objDoubtAnswerList":[{"DoubtAnswerID":1,"DoubtAnswerNo":"sample string 2","DoubtAnswerDate":"sample string 3","DoubtQuestionID":4,"AnswerText":"sample string 5","IsAttachment":true,"IsCorrectAnswer":true,"AnswerByUserID":8,"CreatedByUserID":9,"CreatedOnDate":"sample string 10","IsActive":true,"UserName":"sample string 12","TeacherName":"sample string 13","objDoubtAttachmentList":[{"DoubtAttachmentID":1,"DoubtQuestionID":2,"DoubtAnswerID":3,"AttachmentURL":"sample string 4"},{"DoubtAttachmentID":1,"DoubtQuestionID":2,"DoubtAnswerID":3,"AttachmentURL":"sample string 4"},{"DoubtAttachmentID":1,"DoubtQuestionID":2,"DoubtAnswerID":3,"AttachmentURL":"sample string 4"}]},{"DoubtAnswerID":1,"DoubtAnswerNo":"sample string 2","DoubtAnswerDate":"sample string 3","DoubtQuestionID":4,"AnswerText":"sample string 5","IsAttachment":true,"IsCorrectAnswer":true,"AnswerByUserID":8,"CreatedByUserID":9,"CreatedOnDate":"sample string 10","IsActive":true,"UserName":"sample string 12","TeacherName":"sample string 13","objDoubtAttachmentList":[{"DoubtAttachmentID":1,"DoubtQuestionID":2,"DoubtAnswerID":3,"AttachmentURL":"sample string 4"},{"DoubtAttachmentID":1,"DoubtQuestionID":2,"DoubtAnswerID":3,"AttachmentURL":"sample string 4"},{"DoubtAttachmentID":1,"DoubtQuestionID":2,"DoubtAnswerID":3,"AttachmentURL":"sample string 4"}]},{"DoubtAnswerID":1,"DoubtAnswerNo":"sample string 2","DoubtAnswerDate":"sample string 3","DoubtQuestionID":4,"AnswerText":"sample string 5","IsAttachment":true,"IsCorrectAnswer":true,"AnswerByUserID":8,"CreatedByUserID":9,"CreatedOnDate":"sample string 10","IsActive":true,"UserName":"sample string 12","TeacherName":"sample string 13","objDoubtAttachmentList":[{"DoubtAttachmentID":1,"DoubtQuestionID":2,"DoubtAnswerID":3,"AttachmentURL":"sample string 4"},{"DoubtAttachmentID":1,"DoubtQuestionID":2,"DoubtAnswerID":3,"AttachmentURL":"sample string 4"},{"DoubtAttachmentID":1,"DoubtQuestionID":2,"DoubtAnswerID":3,"AttachmentURL":"sample string 4"}]}],"Subject":"sample string 14","EnrollmentNo":"sample string 15","StudentName":"sample string 16","UserName":"sample string 17","TeacherName":"sample string 18"}
application/xml, text/xml
Sample:
<DoubtQuestionViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModels.DoubtDiscussion"> <CreatedByUserID>11</CreatedByUserID> <CreatedOnDate>sample string 12</CreatedOnDate> <DoubtQuestionDate>sample string 3</DoubtQuestionDate> <DoubtQuestionID>1</DoubtQuestionID> <DoubtQuestionNo>sample string 2</DoubtQuestionNo> <EnrollmentNo>sample string 15</EnrollmentNo> <IsActive>true</IsActive> <IsAnswered>true</IsAnswered> <IsAttachment>true</IsAttachment> <QuestionByStudentID>4</QuestionByStudentID> <QuestionText>sample string 8</QuestionText> <QuestionToTeacherID>6</QuestionToTeacherID> <StudentName>sample string 16</StudentName> <Subject>sample string 14</Subject> <SubjectID>5</SubjectID> <TeacherName>sample string 18</TeacherName> <Title>sample string 7</Title> <UserName>sample string 17</UserName> <objDoubtAnswerList> <DoubtAnswerViewModel> <AnswerByUserID>8</AnswerByUserID> <AnswerText>sample string 5</AnswerText> <CreatedByUserID>9</CreatedByUserID> <CreatedOnDate>sample string 10</CreatedOnDate> <DoubtAnswerDate>sample string 3</DoubtAnswerDate> <DoubtAnswerID>1</DoubtAnswerID> <DoubtAnswerNo>sample string 2</DoubtAnswerNo> <DoubtQuestionID>4</DoubtQuestionID> <IsActive>true</IsActive> <IsAttachment>true</IsAttachment> <IsCorrectAnswer>true</IsCorrectAnswer> <TeacherName>sample string 13</TeacherName> <UserName>sample string 12</UserName> <objDoubtAttachmentList> <DoubtAttachmentViewModel> <AttachmentURL>sample string 4</AttachmentURL> <DoubtAnswerID>3</DoubtAnswerID> <DoubtAttachmentID>1</DoubtAttachmentID> <DoubtQuestionID>2</DoubtQuestionID> </DoubtAttachmentViewModel> <DoubtAttachmentViewModel> <AttachmentURL>sample string 4</AttachmentURL> <DoubtAnswerID>3</DoubtAnswerID> <DoubtAttachmentID>1</DoubtAttachmentID> <DoubtQuestionID>2</DoubtQuestionID> </DoubtAttachmentViewModel> <DoubtAttachmentViewModel> <AttachmentURL>sample string 4</AttachmentURL> <DoubtAnswerID>3</DoubtAnswerID> <DoubtAttachmentID>1</DoubtAttachmentID> <DoubtQuestionID>2</DoubtQuestionID> </DoubtAttachmentViewModel> </objDoubtAttachmentList> </DoubtAnswerViewModel> <DoubtAnswerViewModel> <AnswerByUserID>8</AnswerByUserID> <AnswerText>sample string 5</AnswerText> <CreatedByUserID>9</CreatedByUserID> <CreatedOnDate>sample string 10</CreatedOnDate> <DoubtAnswerDate>sample string 3</DoubtAnswerDate> <DoubtAnswerID>1</DoubtAnswerID> <DoubtAnswerNo>sample string 2</DoubtAnswerNo> <DoubtQuestionID>4</DoubtQuestionID> <IsActive>true</IsActive> <IsAttachment>true</IsAttachment> <IsCorrectAnswer>true</IsCorrectAnswer> <TeacherName>sample string 13</TeacherName> <UserName>sample string 12</UserName> <objDoubtAttachmentList> <DoubtAttachmentViewModel> <AttachmentURL>sample string 4</AttachmentURL> <DoubtAnswerID>3</DoubtAnswerID> <DoubtAttachmentID>1</DoubtAttachmentID> <DoubtQuestionID>2</DoubtQuestionID> </DoubtAttachmentViewModel> <DoubtAttachmentViewModel> <AttachmentURL>sample string 4</AttachmentURL> <DoubtAnswerID>3</DoubtAnswerID> <DoubtAttachmentID>1</DoubtAttachmentID> <DoubtQuestionID>2</DoubtQuestionID> </DoubtAttachmentViewModel> <DoubtAttachmentViewModel> <AttachmentURL>sample string 4</AttachmentURL> <DoubtAnswerID>3</DoubtAnswerID> <DoubtAttachmentID>1</DoubtAttachmentID> <DoubtQuestionID>2</DoubtQuestionID> </DoubtAttachmentViewModel> </objDoubtAttachmentList> </DoubtAnswerViewModel> <DoubtAnswerViewModel> <AnswerByUserID>8</AnswerByUserID> <AnswerText>sample string 5</AnswerText> <CreatedByUserID>9</CreatedByUserID> <CreatedOnDate>sample string 10</CreatedOnDate> <DoubtAnswerDate>sample string 3</DoubtAnswerDate> <DoubtAnswerID>1</DoubtAnswerID> <DoubtAnswerNo>sample string 2</DoubtAnswerNo> <DoubtQuestionID>4</DoubtQuestionID> <IsActive>true</IsActive> <IsAttachment>true</IsAttachment> <IsCorrectAnswer>true</IsCorrectAnswer> <TeacherName>sample string 13</TeacherName> <UserName>sample string 12</UserName> <objDoubtAttachmentList> <DoubtAttachmentViewModel> <AttachmentURL>sample string 4</AttachmentURL> <DoubtAnswerID>3</DoubtAnswerID> <DoubtAttachmentID>1</DoubtAttachmentID> <DoubtQuestionID>2</DoubtQuestionID> </DoubtAttachmentViewModel> <DoubtAttachmentViewModel> <AttachmentURL>sample string 4</AttachmentURL> <DoubtAnswerID>3</DoubtAnswerID> <DoubtAttachmentID>1</DoubtAttachmentID> <DoubtQuestionID>2</DoubtQuestionID> </DoubtAttachmentViewModel> <DoubtAttachmentViewModel> <AttachmentURL>sample string 4</AttachmentURL> <DoubtAnswerID>3</DoubtAnswerID> <DoubtAttachmentID>1</DoubtAttachmentID> <DoubtQuestionID>2</DoubtQuestionID> </DoubtAttachmentViewModel> </objDoubtAttachmentList> </DoubtAnswerViewModel> </objDoubtAnswerList> <objDoubtAttachmentList> <DoubtAttachmentViewModel> <AttachmentURL>sample string 4</AttachmentURL> <DoubtAnswerID>3</DoubtAnswerID> <DoubtAttachmentID>1</DoubtAttachmentID> <DoubtQuestionID>2</DoubtQuestionID> </DoubtAttachmentViewModel> <DoubtAttachmentViewModel> <AttachmentURL>sample string 4</AttachmentURL> <DoubtAnswerID>3</DoubtAnswerID> <DoubtAttachmentID>1</DoubtAttachmentID> <DoubtQuestionID>2</DoubtQuestionID> </DoubtAttachmentViewModel> <DoubtAttachmentViewModel> <AttachmentURL>sample string 4</AttachmentURL> <DoubtAnswerID>3</DoubtAnswerID> <DoubtAttachmentID>1</DoubtAttachmentID> <DoubtQuestionID>2</DoubtQuestionID> </DoubtAttachmentViewModel> </objDoubtAttachmentList> </DoubtQuestionViewModel>
application/x-www-form-urlencoded
Sample: