POST api/events/{eventId}/fav-unfav
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
eventId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
EventOutputModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
DisplayOrder | integer |
None. |
|
IsActive | boolean |
None. |
|
IsFeatured | boolean |
None. |
|
Type | string |
None. |
|
ImageUrl | string |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
WhatsAppNumber | string |
None. |
|
ContactNumber | string |
None. |
|
WebsiteUrl | string |
None. |
|
YoutubeUrl | string |
None. |
|
Location | string |
None. |
|
Latitude | decimal number |
None. |
|
Longitude | decimal number |
None. |
|
IsLiked | boolean |
None. |
|
Title | string |
None. |
|
Description | string |
None. |
|
ShortDescription | string |
None. |
|
TermAndCondition | string |
None. |
|
LanguageCode | string |
None. |
|
ShouldPromptRSVP | boolean |
None. |
|
IsRegistered | boolean |
None. |
|
Images | Collection of EventImageModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "DisplayOrder": 2, "IsActive": true, "IsFeatured": true, "Type": "sample string 5", "ImageUrl": "sample string 6", "StartDate": "2025-04-04T13:33:24.9325672+08:00", "EndDate": "2025-04-04T13:33:24.9325672+08:00", "WhatsAppNumber": "sample string 9", "ContactNumber": "sample string 10", "WebsiteUrl": "sample string 11", "YoutubeUrl": "sample string 12", "Location": "sample string 13", "Latitude": 14.0, "Longitude": 15.0, "IsLiked": true, "Title": "sample string 17", "Description": "sample string 18", "ShortDescription": "sample string 19", "TermAndCondition": "sample string 20", "LanguageCode": "sample string 21", "ShouldPromptRSVP": true, "IsRegistered": true, "Images": [ { "Id": 1, "ImageUrl": "sample string 2" }, { "Id": 1, "ImageUrl": "sample string 2" } ] }
application/xml, text/xml
Sample:
<EventOutputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HyperQB.Property.API.Models"> <ContactNumber>sample string 10</ContactNumber> <Description>sample string 18</Description> <DisplayOrder>2</DisplayOrder> <EndDate>2025-04-04T13:33:24.9325672+08:00</EndDate> <Id>1</Id> <ImageUrl>sample string 6</ImageUrl> <Images> <EventImageModel> <Id>1</Id> <ImageUrl>sample string 2</ImageUrl> </EventImageModel> <EventImageModel> <Id>1</Id> <ImageUrl>sample string 2</ImageUrl> </EventImageModel> </Images> <IsActive>true</IsActive> <IsFeatured>true</IsFeatured> <IsLiked>true</IsLiked> <IsRegistered>true</IsRegistered> <LanguageCode>sample string 21</LanguageCode> <Latitude>14</Latitude> <Location>sample string 13</Location> <Longitude>15</Longitude> <ShortDescription>sample string 19</ShortDescription> <ShouldPromptRSVP>true</ShouldPromptRSVP> <StartDate>2025-04-04T13:33:24.9325672+08:00</StartDate> <TermAndCondition>sample string 20</TermAndCondition> <Title>sample string 17</Title> <Type>sample string 5</Type> <WebsiteUrl>sample string 11</WebsiteUrl> <WhatsAppNumber>sample string 9</WhatsAppNumber> <YoutubeUrl>sample string 12</YoutubeUrl> </EventOutputModel>