POST api/LikeHub/SendLikeValue

Request Information

URI Parameters

None.

Body Parameters

PostLikeHubModelRequest
NameDescriptionTypeAdditional information
EventId

string

None.

ItemId

string

None.

ItemType

LikeItemType

None.

Email

string

None.

LastUpdateDateTime

date

None.

ClientVersion

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EventId": "sample string 1",
  "ItemId": "sample string 2",
  "ItemType": 0,
  "Email": "sample string 3",
  "LastUpdateDateTime": "2024-07-02T02:39:36.8698073+02:00",
  "ClientVersion": "sample string 5"
}

application/xml, text/xml

Sample:
<PostLikeHubModelRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VarGroup.Model.LikeHubModel">
  <ClientVersion xmlns="http://schemas.datacontract.org/2004/07/VarGroup.Models">sample string 5</ClientVersion>
  <Email xmlns="http://schemas.datacontract.org/2004/07/VarGroup.Models">sample string 3</Email>
  <LastUpdateDateTime xmlns="http://schemas.datacontract.org/2004/07/VarGroup.Models">2024-07-02T02:39:36.8698073+02:00</LastUpdateDateTime>
  <EventId>sample string 1</EventId>
  <ItemId>sample string 2</ItemId>
  <ItemType>Session</ItemType>
</PostLikeHubModelRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PostLikeHubModelResponse
NameDescriptionTypeAdditional information
ResponseDateTime

date

None.

ErrorMessage

string

None.

IsValid

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseDateTime": "2024-07-02T02:39:36.8853011+02:00",
  "ErrorMessage": "sample string 2",
  "IsValid": true
}

application/xml, text/xml

Sample:
<PostLikeHubModelResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VarGroup.Model.LikeHubModel">
  <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/VarGroup.Models">sample string 2</ErrorMessage>
  <IsValid xmlns="http://schemas.datacontract.org/2004/07/VarGroup.Models">true</IsValid>
  <ResponseDateTime xmlns="http://schemas.datacontract.org/2004/07/VarGroup.Models">2024-07-02T02:39:36.8853011+02:00</ResponseDateTime>
</PostLikeHubModelResponse>