GET api/v2.0/Friends/GetAcceptedFriendRequests?daysBack={daysBack}

Returns a list of Accepted Friend Request records.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
daysBack

Number of days prior to search for Friend Requests.

integer

Required

Body Parameters

None.

Response Information

Resource Description

List of Accepted Friend Requests.

Collection of Friend
NameDescriptionTypeAdditional information
FirstName

string

Required

LastName

string

Required

DisplayName

string

Required

LinkToProfile

string

None.

LinkToSmallImage

string

None.

LinkToLargeImage

string

None.

IsCompany

boolean

None.

FriendRequestRecordKey

globally unique identifier

None.

RequestorContactKey

This field is deprecated, please use RequestedByContactKey instead.

globally unique identifier

None.

RequesteeContactKey

globally unique identifier

None.

RequestedByContactKey

globally unique identifier

None.

InvitedOn

date

None.

AcceptedOn

date

None.

IsActive

boolean

None.

RequestedDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "FirstName": "sample string 1",
    "LastName": "sample string 2",
    "DisplayName": "sample string 3",
    "LinkToProfile": "sample string 4",
    "LinkToSmallImage": "sample string 5",
    "LinkToLargeImage": "sample string 6",
    "IsCompany": true,
    "FriendRequestRecordKey": "de606614-227e-4b90-8679-4c2faf7b7d7d",
    "RequestorContactKey": "35c91a69-dd1e-4c1a-8fc7-8237c11a4530",
    "RequesteeContactKey": "3c36b8ae-b92c-433f-bb24-e5e5498ed35f",
    "RequestedByContactKey": "3d74248a-0030-45ee-8eee-88b636576e3c",
    "InvitedOn": "2019-07-21T08:50:58.1965979Z",
    "AcceptedOn": "2019-07-21T08:50:58.1965979Z",
    "IsActive": true,
    "RequestedDate": "2019-07-21T08:50:58.1965979Z"
  },
  {
    "FirstName": "sample string 1",
    "LastName": "sample string 2",
    "DisplayName": "sample string 3",
    "LinkToProfile": "sample string 4",
    "LinkToSmallImage": "sample string 5",
    "LinkToLargeImage": "sample string 6",
    "IsCompany": true,
    "FriendRequestRecordKey": "de606614-227e-4b90-8679-4c2faf7b7d7d",
    "RequestorContactKey": "35c91a69-dd1e-4c1a-8fc7-8237c11a4530",
    "RequesteeContactKey": "3c36b8ae-b92c-433f-bb24-e5e5498ed35f",
    "RequestedByContactKey": "3d74248a-0030-45ee-8eee-88b636576e3c",
    "InvitedOn": "2019-07-21T08:50:58.1965979Z",
    "AcceptedOn": "2019-07-21T08:50:58.1965979Z",
    "IsActive": true,
    "RequestedDate": "2019-07-21T08:50:58.1965979Z"
  }
]

application/xml, text/xml

Sample:
<ArrayOfFriend xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise">
  <Friend>
    <AcceptedOn>2019-07-21T04:50:58.1965979-04:00</AcceptedOn>
    <DisplayName>sample string 3</DisplayName>
    <FirstName>sample string 1</FirstName>
    <FriendRequestRecordKey>de606614-227e-4b90-8679-4c2faf7b7d7d</FriendRequestRecordKey>
    <InvitedOn>2019-07-21T04:50:58.1965979-04:00</InvitedOn>
    <IsActive>true</IsActive>
    <IsCompany>true</IsCompany>
    <LastName>sample string 2</LastName>
    <LinkToLargeImage>sample string 6</LinkToLargeImage>
    <LinkToProfile>sample string 4</LinkToProfile>
    <LinkToSmallImage>sample string 5</LinkToSmallImage>
    <RequestedByContactKey>3d74248a-0030-45ee-8eee-88b636576e3c</RequestedByContactKey>
    <RequestedDate>2019-07-21T04:50:58.1965979-04:00</RequestedDate>
    <RequesteeContactKey>3c36b8ae-b92c-433f-bb24-e5e5498ed35f</RequesteeContactKey>
    <RequestorContactKey>35c91a69-dd1e-4c1a-8fc7-8237c11a4530</RequestorContactKey>
  </Friend>
  <Friend>
    <AcceptedOn>2019-07-21T04:50:58.1965979-04:00</AcceptedOn>
    <DisplayName>sample string 3</DisplayName>
    <FirstName>sample string 1</FirstName>
    <FriendRequestRecordKey>de606614-227e-4b90-8679-4c2faf7b7d7d</FriendRequestRecordKey>
    <InvitedOn>2019-07-21T04:50:58.1965979-04:00</InvitedOn>
    <IsActive>true</IsActive>
    <IsCompany>true</IsCompany>
    <LastName>sample string 2</LastName>
    <LinkToLargeImage>sample string 6</LinkToLargeImage>
    <LinkToProfile>sample string 4</LinkToProfile>
    <LinkToSmallImage>sample string 5</LinkToSmallImage>
    <RequestedByContactKey>3d74248a-0030-45ee-8eee-88b636576e3c</RequestedByContactKey>
    <RequestedDate>2019-07-21T04:50:58.1965979-04:00</RequestedDate>
    <RequesteeContactKey>3c36b8ae-b92c-433f-bb24-e5e5498ed35f</RequesteeContactKey>
    <RequestorContactKey>35c91a69-dd1e-4c1a-8fc7-8237c11a4530</RequestorContactKey>
  </Friend>
</ArrayOfFriend>