Skip to main content
Version: 5.7.0

GetEntity

Method to get a specific entity.

ServiceOperation
entityREAD

Method Parameters

ParameterDescription
entityIdThe id of the entity

Usage

http://localhost:3000
string entityId = "someEntityId";
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.EntityService.GetEntity(entityId, successCallback, failureCallback);
JSON Response
{
"status": 200,
"data": {
"entityId": "113db68a-48ad-4fc9-9f44-5fd36fc6445f",
"entityType": "person",
"version": 1,
"data": {
"name": "john",
"age": 30
},
"acl": {
"other": 0
},
"createdAt": 1395943044322,
"updatedAt": 1395943044322,
"_serverTime": 1637946319239
}
}