POST api/LikeOrDislike
Request Information
URI Parameters
None.
Body Parameters
EntityLikes| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| EntityType | integer |
None. |
|
| ParentId | integer |
None. |
|
| ApplicationId | integer |
None. |
|
| UserId | integer |
None. |
|
| IsLike | boolean |
None. |
|
| CreatedDtm | date |
None. |
|
| UpdatedDtm | date |
None. |
|
| Location | string |
None. |
|
| IsUpdated | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"EntityType": 2,
"ParentId": 3,
"ApplicationId": 4,
"UserId": 1,
"IsLike": true,
"CreatedDtm": "2026-07-22T12:24:21.8359784-07:00",
"UpdatedDtm": "2026-07-22T12:24:21.8359784-07:00",
"Location": "sample string 8",
"IsUpdated": true
}
application/xml, text/xml
Sample:
<EntityLikes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GM.Business.Entity"> <ApplicationId>4</ApplicationId> <CreatedDtm>2026-07-22T12:24:21.8359784-07:00</CreatedDtm> <EntityType>2</EntityType> <Id>1</Id> <IsLike>true</IsLike> <IsUpdated>true</IsUpdated> <Location>sample string 8</Location> <ParentId>3</ParentId> <UpdatedDtm>2026-07-22T12:24:21.8359784-07:00</UpdatedDtm> <UserId>1</UserId> </EntityLikes>
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.