SysIncrementGroupEntityData
Partial increment of group entity data field items. Partial set of items incremented as specified. Bypasses ownership/ACL checks.
Service | Operation |
---|---|
group | SYS_INCREMENT_GROUP_ENTITY_DATA |
Method Parameters
Parameter | Description |
---|---|
groupId | ID of the group |
entityId | ID of the entity. |
jsonData | Partial data map with incremental values. |
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 groupId = "a-group-id";
var entityId = "a-group-entity-id";
var jsonData = {
"field1": -1.5,
"field2": {
"field2-1": 6,
"field2-new": 63.6
},
"field3-new": 3
};
var groupProxy = bridge.getGroupServiceProxy();
var postResult = groupProxy.sysIncrementGroupEntityData(groupId, entityId, jsonData);
if (postResult.status == 200) {
// Success!
}
{
"service": "group",
"operation": "SYS_INCREMENT_GROUP_ENTITY_DATA",
"data": {
"groupId": "a-group-id",
"entityId": "a-group-entity-id",
"data": {
"field1": -1.5,
"field2": {
"field2-1": 6,
"field2-new": 63.6
},
"field3-new": 3
}
}
}
JSON Response
{
"status": 200,
"data": null
}