protected <C extends CrudResponse, T extends UpdateEntity> C handleUpdateEntity(T entity) {
        Map<String, String> uriVariables = restUriVariablesFactory.getUriVariablesForEntityUpdate(
                BullhornEntityInfo.getTypesRestEntityName(entity.getClass()), entity.getId());
        String url = restUrlFactory.assembleEntityUrlForUpdate();

        CrudResponse response;

        try {
            String jsonString = restJsonConverter.convertEntityToJsonString(entity);
            response = this.performPostRequest(url, jsonString, UpdateResponse.class, uriVariables);
        } catch (HttpStatusCodeException error) {
            response = restErrorHandler.handleHttpFourAndFiveHundredErrors(new UpdateResponse(), error, entity.getId());
        }

        return (C) response;
    }
protected < C extends CrudResponse , T extends UpdateEntity > C handleUpdateEntity ( T entity ) { Map < String , String > uriVariables = restUriVariablesFactory . getUriVariablesForEntityUpdate ( BullhornEntityInfo . getTypesRestEntityName ( entity . getClass ( ) ) , entity . getId ( ) ) ; String url = restUrlFactory . assembleEntityUrlForUpdate ( ) ; CrudResponse response ; try { String jsonString = restJsonConverter . convertEntityToJsonString ( entity ) ; response = this . performPostRequest ( url , jsonString , UpdateResponse . class , uriVariables ) ; } catch ( HttpStatusCodeException error ) { response = restErrorHandler . handleHttpFourAndFiveHundredErrors ( new UpdateResponse ( ) , error , entity . getId ( ) ) ; } return ( C ) response ; }
Makes the "entity" api call for updating entities
<p>
HTTP Method: POST

@param entity
@return a UpdateResponse