Skip to main content
Version: 5.7.0

IncrementGroupData

Increment elements for the group's data field.

ServiceOperation
groupINCREMENT_GROUP_DATA

Method Parameters

ParameterDescription
groupIdID of the group
jsonDataPartial data map with incremental values

Usage

http://localhost:3000
string groupId = "a-group-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.IncrementGroupData(groupId, jsonData, successCallback, failureCallback);
JSON Response
{
"status": 200,
"data": null
}