POST api/UserLike/SetAllUserLikes
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
userLikes | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "userLikes": [ { "id": "sample string 1", "projectId": "sample string 2", "exhibitorId": 3, "exProjectId": 4, "itemId": 5, "typeOfLikeId": 6, "userId": "sample string 7" }, { "id": "sample string 1", "projectId": "sample string 2", "exhibitorId": 3, "exProjectId": 4, "itemId": 5, "typeOfLikeId": 6, "userId": "sample string 7" }, { "id": "sample string 1", "projectId": "sample string 2", "exhibitorId": 3, "exProjectId": 4, "itemId": 5, "typeOfLikeId": 6, "userId": "sample string 7" } ] }
text/html
Sample:
{"userLikes":[{"id":"sample string 1","projectId":"sample string 2","exhibitorId":3,"exProjectId":4,"itemId":5,"typeOfLikeId":6,"userId":"sample string 7"},{"id":"sample string 1","projectId":"sample string 2","exhibitorId":3,"exProjectId":4,"itemId":5,"typeOfLikeId":6,"userId":"sample string 7"},{"id":"sample string 1","projectId":"sample string 2","exhibitorId":3,"exProjectId":4,"itemId":5,"typeOfLikeId":6,"userId":"sample string 7"}]}
application/xml, text/xml
Sample:
<UserLikesBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FairCatalogue.WebApi.Models"> <UserLikes> <UserLikeBindingModel> <ExProjectId>4</ExProjectId> <ExhibitorId>3</ExhibitorId> <Id>sample string 1</Id> <ItemId>5</ItemId> <ProjectId>sample string 2</ProjectId> <TypeOfLikeId>6</TypeOfLikeId> <UserId>sample string 7</UserId> </UserLikeBindingModel> <UserLikeBindingModel> <ExProjectId>4</ExProjectId> <ExhibitorId>3</ExhibitorId> <Id>sample string 1</Id> <ItemId>5</ItemId> <ProjectId>sample string 2</ProjectId> <TypeOfLikeId>6</TypeOfLikeId> <UserId>sample string 7</UserId> </UserLikeBindingModel> <UserLikeBindingModel> <ExProjectId>4</ExProjectId> <ExhibitorId>3</ExhibitorId> <Id>sample string 1</Id> <ItemId>5</ItemId> <ProjectId>sample string 2</ProjectId> <TypeOfLikeId>6</TypeOfLikeId> <UserId>sample string 7</UserId> </UserLikeBindingModel> </UserLikes> </UserLikesBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json, text/html
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>