Skip to main content
Version: 5.7.0

ReadFriendsEntities

Returns entities of all friends based on type and/or subtype.

ServiceOperation
friendREAD_FRIENDS_ENTITIES

Method Parameters

ParameterDescription
entityTypeType of entities to retrieve

Usage

http://localhost:3000
string entityType = "entityType";
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.FriendService.ReadFriendsEntities(entityType, successCallback, failureCallback);
JSON Response
{
"status": 200,
"data": {
"results": [
{
"userId": "bb05182d-ff0c-4740-ae65-4342452e74949",
"entities": [
{
"entityId": "bb05182d-ff0c-4740-ae65-4827534949",
"entityType": "PlayerData",
"version": 99,
"data": {
"ACCOUNT_CREATION_TIME": 1353011574029,
"ALL_TIME_SCORE": 1003750,
"FIRST_PLAY_TIME": 1430338388347
},
"acl": {
"other": 1
},
"createdAt": 1425909205616,
"updatedAt": 1430338431696
}
]
}
]
}
}