POST api/UserLike
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
model | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "userId": "sample string 1", "language": "sample string 2", "projectId": "sample string 3", "typeOfLikeId": 1, "exProjectId": 1, "itemId": 1 }
text/html
Sample:
{"userId":"sample string 1","language":"sample string 2","projectId":"sample string 3","typeOfLikeId":1,"exProjectId":1,"itemId":1}
application/xml, text/xml
Sample:
<UserIdBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FairCatalogue.WebApi.Models"> <ExProjectId>1</ExProjectId> <ItemId>1</ItemId> <Language>sample string 2</Language> <ProjectId>sample string 3</ProjectId> <TypeOfLikeId>1</TypeOfLikeId> <UserId>sample string 1</UserId> </UserIdBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
[ { "id": 1, "projectId": "sample string 2", "exhibitorId": 3, "exProjectId": 4, "itemId": 5, "typeOfLikeId": 6, "userId": "sample string 7", "removed": true, "timeStamp": "2025-03-14T08:00:34.0427522+01:00" }, { "id": 1, "projectId": "sample string 2", "exhibitorId": 3, "exProjectId": 4, "itemId": 5, "typeOfLikeId": 6, "userId": "sample string 7", "removed": true, "timeStamp": "2025-03-14T08:00:34.0427522+01:00" }, { "id": 1, "projectId": "sample string 2", "exhibitorId": 3, "exProjectId": 4, "itemId": 5, "typeOfLikeId": 6, "userId": "sample string 7", "removed": true, "timeStamp": "2025-03-14T08:00:34.0427522+01:00" } ]
text/html
Sample:
[{"id":1,"projectId":"sample string 2","exhibitorId":3,"exProjectId":4,"itemId":5,"typeOfLikeId":6,"userId":"sample string 7","removed":true,"timeStamp":"2025-03-14T08:00:34.0427522+01:00"},{"id":1,"projectId":"sample string 2","exhibitorId":3,"exProjectId":4,"itemId":5,"typeOfLikeId":6,"userId":"sample string 7","removed":true,"timeStamp":"2025-03-14T08:00:34.0427522+01:00"},{"id":1,"projectId":"sample string 2","exhibitorId":3,"exProjectId":4,"itemId":5,"typeOfLikeId":6,"userId":"sample string 7","removed":true,"timeStamp":"2025-03-14T08:00:34.0427522+01:00"}]
application/xml, text/xml
Sample:
<ArrayOfUserLike xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FairCatalogue.CrossCutting.Entities"> <UserLike> <ExProjectId>4</ExProjectId> <ExhibitorId>3</ExhibitorId> <Id>1</Id> <ItemId>5</ItemId> <ProjectId>sample string 2</ProjectId> <Removed>true</Removed> <TimeStamp>2025-03-14T08:00:34.0427522+01:00</TimeStamp> <TypeOfLikeId>6</TypeOfLikeId> <UserId>sample string 7</UserId> </UserLike> <UserLike> <ExProjectId>4</ExProjectId> <ExhibitorId>3</ExhibitorId> <Id>1</Id> <ItemId>5</ItemId> <ProjectId>sample string 2</ProjectId> <Removed>true</Removed> <TimeStamp>2025-03-14T08:00:34.0427522+01:00</TimeStamp> <TypeOfLikeId>6</TypeOfLikeId> <UserId>sample string 7</UserId> </UserLike> <UserLike> <ExProjectId>4</ExProjectId> <ExhibitorId>3</ExhibitorId> <Id>1</Id> <ItemId>5</ItemId> <ProjectId>sample string 2</ProjectId> <Removed>true</Removed> <TimeStamp>2025-03-14T08:00:34.0427522+01:00</TimeStamp> <TypeOfLikeId>6</TypeOfLikeId> <UserId>sample string 7</UserId> </UserLike> </ArrayOfUserLike>