POST Applications/SaveComment
Request Information
URI Parameters
None.
Body Parameters
SaveCommentDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| CommentDescription | string |
Required |
|
| CommentID | integer |
Required |
|
| ComplaintAttachment | ComplaintAttachmentDTO |
None. |
Request Formats
application/json, text/json
Sample:
{
"CommentDescription": "sample string 1",
"CommentID": 2,
"ComplaintAttachment": {
"FileData": "QEA=",
"FileName": "sample string 1",
"FileType": "sample string 2"
}
}
application/xml, text/xml
Sample:
<SaveCommentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudentPortalAPI.EntityDTOs.Students">
<CommentDescription>sample string 1</CommentDescription>
<CommentID>2</CommentID>
<ComplaintAttachment>
<FileData>QEA=</FileData>
<FileName>sample string 1</FileName>
<FileType>sample string 2</FileType>
</ComplaintAttachment>
</SaveCommentDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.