... details.Using the RIC we are able to add entity to entity list but using the org_id i am not able to do this.
Using ric we are doing like this:
LinkedHashMap<String, String> objMapi=new LinkedHashMap<String, String>();
JSONArray jsonArray = new JSONArray();
objMapi.put("Identifier","TCS.NS");
objMapi.put("IdentifierType", "Ric");
jsonArray.put(objMapi);
JSONObject entityListJSONObject = new JSONObject();
entityListJSONObject.put("Identifiers", jsonArray);
entityListJSONObject.put("KeepDuplicates", false);
entityListJSONObject.put("IncludeParentAndUltimateParent", false);
String params =entityListJSONObject.toString();
ClientResponse response = null;
response = webResource.header("Content-Type", "application/json;charset=UTF-8")
.header("Authorization", "Token "+sessionToken)
.post(ClientResponse.class,params);
String output = response.getEntity(String.class);