public GuaranteeTermsStatus getAgreementStatus ( String agreementId ) { return getJerseyClient ( ) . target ( getEndpoint ( ) + "/agreements/" + agreementId + "/guaranteestatus" ) . request ( ) . header ( "Accept" , MediaType . APPLICATION_JSON ) . header ( "Content-Type" , MediaType . APPLICATION_JSON ) . buildGet ( ) . invoke ( ) . readEntity ( GuaranteeTermsStatus . class ) ; }
Creates proxied HTTP GET request to SeaClouds SLA core which retrieves the Agreement Status