Skip to main content
Version: 5.7.0

IncrementGroupEntityData

Increment elements for a group entity's data field.

ServiceOperation
groupINCREMENT_GROUP_ENTITY_DATA

Method Parameters

ParameterDescription
groupIdID of the group
entityIdID of the entity.
jsonDataPartial data map with incremental values.

Usage

http://localhost:3000
string groupId = "a-group-id";
string entityId = "a-group-entity-id";
string jsonData = "{\"field1\":-1.5,\"field2\":{\"field2-1\":6,\"field2-new\":63.6},\"field3-new\":3}";
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.Group.IncrementGroupEntityData(groupId, entityId, jsonData, successCallback, failureCallback);
JSON Response
{
"status": 200,
"data": null
}