Analytics-Update row; criteria

Analytics-Update row; criteria

Hello

Trying to update row in Analytics from Desk:

  1. headersMap = Map();
    headersMap.put("ZANALYTICS-ORGID",orgId);
    config = Map();
    config.put("columns",columnsMap);
    criteria = "(\"salesorder_id\"=" + creteria_salesorder_id + " and \"package_id\"=" + creteria_package_id + " and \"line_item_id\"=" + creteria_line_item_id + ")";
    config.put("criteria",criteria);
    parameters = "CONFIG=" + config.toString();
    response = invokeurl
    [
    url :"https://analyticsapi.zoho.com/restapi/v2/workspaces/" + workspaceId + "/views/" + viewId + "/rows" + "?" + parameters
    type :PUT
    headers:headersMap
    connection:"conn"
    ];
Geting answer:
"{"status":"failure","summary":"JSON_PARSE_ERROR","data":{"errorCode":8534,"errorMessage":"Invalid JSON Format."}}"

This "columnsMap" variable work for "Add row".

Also try criteria:
criteria = "(\"salesorder_id\"=" + creteria_salesorder_id +")";
criteria = "(salesorder_id=" + creteria_salesorder_id +")";
criteria = "\"salesorder_id\"=" + creteria_salesorder_id;
What wrong?

Thanks