Skip to main content
Version: 5.7.0

GetListCount

Method gets a count of entities based on the where clause.

Fields available for use in the 'where' clause are:

  • entityType

  • entityIndexedId

  • createdAt

  • updatedAt

  • ownerId

  • timeToLive

    Along with all custom data (using data.). For more information on the query syntax see here.

ServiceOperation
globalEntityGET_LIST_COUNT

Method Parameters

ParameterDescription
whereMongo style query string

Usage

http://localhost:3000
string where = "{\"entityType\":\"address\"}";
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.GlobalEntityService.GetListCount(where, successCallback, failureCallback);
JSON Response
{
"status":200,
"data":
{
"entityListCount":5
}
}