GetSystemEntityListCount
Method gets a count of system 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.
Service | Operation |
---|---|
globalEntity | GET_SYSTEM_ENTITY_LIST_COUNT |
Method Parameters
Parameter | Description |
---|---|
where | Mongo style query string |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
var where = {
"entityType": "address"
};
var globalEntityProxy = bridge.getGlobalEntityServiceProxy();
var postResult = globalEntityProxy.getSystemEntityListCount(where);
if (postResult.status == 200) {
// Success!
}
{
"service": "globalEntity",
"operation": "GET_SYSTEM_ENTITY_LIST_COUNT",
"data": {
"where": {
"entityType": "address"
}
}
}
JSON Response
{
"status":200,
"data":
{
"entityListCount":5
}
}