POST api/consumer/v1/users/follows

Save a follow

Request Information

URI Parameters

None

Body Parameters

The follow

UserFollowingEditDto
NameDescriptionTypeAdditional information
EntityId

Entity

integer

None

EntityType

Type of the entity

VisibilityEntityType

None

Follow

Follow (true) or Not (false) the entity

boolean

None

Request Formats

application/json, text/json

Sample:
{
  "EntityId": 1,
  "EntityType": 100,
  "Follow": true
}

application/xml, text/xml

Sample:
<UserFollowingEditDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models">
  <EntityId>1</EntityId>
  <EntityType>BusinessUnit</EntityType>
  <Follow>true</Follow>
</UserFollowingEditDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

200

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None

Content

HttpContent

None

StatusCode

HttpStatusCode

None

ReasonPhrase

string

None

Headers

Collection of Object

None

RequestMessage

HttpRequestMessage

None

IsSuccessStatusCode

boolean

None