POST api/comments/sublike

Request Information

URI Parameters

None.

Body Parameters

InsertLikeComment
NameDescriptionTypeAdditional information
CommentID

globally unique identifier

None.

Like

integer

None.

UnLike

integer

None.

UserId

integer

None.

UploadId

integer

None.

isLike

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "commentID": "e30a1e66-7d07-4bfa-959c-3d181f80d566",
  "like": 2,
  "unLike": 3,
  "userId": 4,
  "uploadId": 5,
  "isLike": true
}

application/xml, text/xml

Sample:
<InsertLikeComment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cultural.Common">
  <CommentID>e30a1e66-7d07-4bfa-959c-3d181f80d566</CommentID>
  <Like>2</Like>
  <UnLike>3</UnLike>
  <UploadId>5</UploadId>
  <UserId>4</UserId>
  <isLike>true</isLike>
</InsertLikeComment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StarAPIResponseOfString
NameDescriptionTypeAdditional information
Status

string

None.

Result

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:

Sample not available.