protected FileApiResponse handleDeleteFile ( Class < ? extends FileEntity > type , Integer entityId , Integer fileId ) { Map < String , String > uriVariables = restUriVariablesFactory . getUriVariablesDeleteFile ( BullhornEntityInfo . getTypesRestEntityName ( type ) , entityId , fileId ) ; String url = restUrlFactory . assembleDeleteFileUrl ( ) ; StandardFileApiResponse fileApiResponse = this . performCustomRequest ( url , null , StandardFileApiResponse . class , uriVariables , HttpMethod . DELETE , null ) ; return fileApiResponse ; }
Makes the api call to delete a file attached to an entity .