public void updateSpaceContact ( int profileId , ContactUpdate update , boolean silent , boolean hook ) { getResourceFactory ( ) . getApiResource ( "/contact/" + profileId ) . queryParam ( "silent" , silent ? "1" : "0" ) . queryParam ( "hook" , hook ? "1" : "0" ) . entity ( update , MediaType . APPLICATION_JSON_TYPE ) . put ( ) ; }
Updates the entire space contact . Only fields which have values specified will be updated . To delete the contents of a field pass an empty array for the value .