POST api/Values/AddFriend

Request Information

URI Parameters

None.

Body Parameters

VMFriend
NameDescriptionTypeAdditional information
UserId

integer

None.

AuthorId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "AuthorId": 2
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VMFriendResponse
NameDescriptionTypeAdditional information
FriendRequest

boolean

None.

Status

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "FriendRequest": true,
  "Status": true
}