GET api/consumer/v1/users/follows/{entityType}/{entityId}
Get a follow
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
entityType |
ID of entity type |
VisibilityEntityType |
Required |
entityId |
ID of the entity |
integer |
Required |
Body Parameters
None
Response Information
Resource Description
The bookmark
UserFollowingDtoName | Description | Type | Additional information |
---|---|---|---|
EntityId |
Entity |
integer |
None |
EntityType |
Type of the entity |
VisibilityEntityType |
None |
User |
User of element |
UserMinDto |
None |
Follow |
Follow (true) or Not (false) the entity |
boolean |
None |
Id |
Unique ID |
integer |
None |
Response Formats
application/json, text/json
Sample:
{ "EntityId": 1, "EntityType": 100, "User": { "Login": "sample string 1", "FullName": "sample string 2", "Avatar": "sample string 3", "Id": 4 }, "Follow": true, "Id": 3 }
application/xml, text/xml
Sample:
<UserFollowingDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models"> <Id>3</Id> <EntityId>1</EntityId> <EntityType>BusinessUnit</EntityType> <Follow>true</Follow> <User> <Id>4</Id> <Avatar>sample string 3</Avatar> <FullName>sample string 2</FullName> <Login>sample string 1</Login> </User> </UserFollowingDto>