POST api/AddUpdateDoubtAnswer
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
objDoubtAnswer | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "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" } ] }
text/html
Sample:
{"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"}]}
application/xml, text/xml
Sample:
<DoubtAnswerViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModels.DoubtDiscussion"> <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>
application/x-www-form-urlencoded
Sample: