POST api/UserOperations/AddFollower

Request Information

URI Parameters

None.

Body Parameters

UserFollowModel
NameDescriptionTypeAdditional information
Id

integer

None.

Username

string

None.

UserId

string

None.

FollowerId

integer

None.

FollowingId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Username": "sample string 2",
  "UserId": "sample string 3",
  "FollowerId": 4,
  "FollowingId": 5
}

application/xml, text/xml

Sample:
<UserFollowModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IOTT_API.Models">
  <FollowerId>4</FollowerId>
  <FollowingId>5</FollowingId>
  <Id>1</Id>
  <UserId>sample string 3</UserId>
  <Username>sample string 2</Username>
</UserFollowModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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.