To add or update customer fields, please do the following, call the method passing a JSONArray containing a JSONObject:
Models.INDMHashMap[] customerFields = new()[2];
customerFields[0] = new Models.INDMHashMap("key1", "value1");
customerFields[1] = newModels.INDMHashMap("key2", "value2");
indigitall.AssignOrUpdateValueToCustomerFields(customerFields, (customerModel) =>
{
// Do something
}, (code, message) =>
{
// Do something else
});
Otherwise, if you want to eliminate a field, you have to do this with an array of strings containing the name of the fields:
indigitall.DeleteValuesFromCustomerFields(new string[] { "field1", "field2" }, (customerModel) =>
{
// Do something
}, (code, message) =>
{
// Do something else
});