public Map < String , Object > update ( String entityName , String groupId , String entityId , Map < String , Object > hash , MnoHttpClient httpClient ) throws AuthenticationException , ApiException , InvalidRequestException { Map < String , Object > envelope = new HashMap < String , Object > ( ) ; envelope . put ( entityName , MnoMapHelper . toUnderscoreHash ( hash ) ) ; envelope . put ( "resource" , entityName ) ; String payload = GSON . toJson ( envelope ) ; return update ( entityName , groupId , entityId , payload , httpClient ) ; }
apiService Update an entity remotely