code: @GET
      @Path("{id}/guaranteestatus")
      public GuaranteeTermsStatus  getStatusAgreement(@PathParam("id") String agreementId) throws NotFoundException{
          logger.debug("StartOf getStatusAgreement - REQUEST for /agreements/" + agreementId
                  + "/guaranteestatus");
          GuaranteeTermsStatus guaranteeTermsStatus = null;
          try{
              AgreementHelperE agreementRestHelper = getAgreementHelper();
              guaranteeTermsStatus =  agreementRestHelper.getAgreementStatus(agreementId);
          } catch (DBMissingHelperException e) {
              logger.info("getStatusAgreement NotFoundException:"+e.getMessage());
              throw new NotFoundException(e.getMessage()); 
          }
          logger.debug("EndOf getStatusAgreement");
          return guaranteeTermsStatus;
      }
docs: Gets the information of the status of the different Guarantee Terms of an
  agreement. *
  
  <pre>
  GET /agreements/{agreementId}/guaranteestatus
  
  Request:
  GET /agreements HTTP/1.1
  
  Response:
  HTTP/1.1 200 Ok
  Content-type: application/xml or application/json
  
  In case of application/xml
  {@code
  <GuaranteeStatus agreementId="$agreementId" value="FULFILLED|VIOLATED|NON_DETERMINED">
  <GuaranteeTermStatus name="$gt_name1" value="FULFILLED|VIOLATED|NON_DETERMINED"/>
  ...
  <GuaranteeTermStatus name="$gt_nameN" value="FULFILLED|VIOLATED|NON_DETERMINED"/>
  </GuaranteeStatus>
  }
  
  In case of application/json
  {@code
  {"agreementId":"{agreementId}","value":"FULFILLED|VIOLATED|NON_DETERMINED",
  "GuaranteeTermStatus":
  [{"name":"{gt_name1}","value":"FULFILLED|VIOLATED|NON_DETERMINED"},
  {"name":"{gt_name2}","value":"FULFILLED|VIOLATED|NON_DETERMINED"}]}
  }
  
  </pre>
  
  Example:
  <li>curl -H "Content-type: application/xml" http://localhost:8080/sla-service/agreements/{agreementId}/guaranteestatus</li>
  
  @return Json information with Guarantee Status