POST api/ChannelMessage/Like
Request Information
URI Parameters
None.
Body Parameters
ChannelLikeDtoName | Description | Type | Additional information |
---|---|---|---|
ChannelMessageID | integer |
None. |
|
IsLiked | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "channelMessageID": 1, "isLiked": true }
text/html
Sample:
{"channelMessageID":1,"isLiked":true}
application/xml, text/xml
Sample:
<ChannelLikeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Saba.Common.Ef"> <ChannelMessageID>1</ChannelMessageID> <IsLiked>true</IsLiked> </ChannelLikeDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.