POST api/AddUpdateDoubtAttachment

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objDoubtAttachment
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "DoubtAttachmentID": 1,
  "DoubtQuestionID": 2,
  "DoubtAnswerID": 3,
  "AttachmentURL": "sample string 4"
}

text/html

Sample:
{"DoubtAttachmentID":1,"DoubtQuestionID":2,"DoubtAnswerID":3,"AttachmentURL":"sample string 4"}

application/xml, text/xml

Sample:
<DoubtAttachmentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModels.DoubtDiscussion">
  <AttachmentURL>sample string 4</AttachmentURL>
  <DoubtAnswerID>3</DoubtAnswerID>
  <DoubtAttachmentID>1</DoubtAttachmentID>
  <DoubtQuestionID>2</DoubtQuestionID>
</DoubtAttachmentViewModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DoubtAttachmentViewModel'.