POST api/AddComments/InsertLikes
Request Information
URI Parameters
None.
Body Parameters
CommentName | Description | Type | Additional information |
---|---|---|---|
ResourceID | string |
None. |
|
UserID | string |
None. |
|
Comments | string |
None. |
|
like | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ResourceID": "sample string 1", "UserID": "sample string 2", "Comments": "sample string 3", "like": 4 }
application/xml, text/xml
Sample:
<Comment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalStudentServices.Models"> <Comments>sample string 3</Comments> <ResourceID>sample string 1</ResourceID> <UserID>sample string 2</UserID> <like>4</like> </Comment>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.