code: @GET
      @Path("{id}/guaranteestatus")
      @Consumes(MediaType.APPLICATION_XML)
      @Produces(MediaType.APPLICATION_XML)
      public Response getStatusAgreementXML(@PathParam("id") String agreement_id) {
          logger.debug("StartOf getStatusAgreementXML - REQUEST for /agreements/" + agreement_id
                  + "/guaranteestatus");
          Response result;
          try{
              AgreementHelper agreementRestService = getAgreementHelper();
              String serializedAgreement =  agreementRestService.getAgreementStatus(agreement_id,
                      MediaType.APPLICATION_XML);
              if (serializedAgreement!=null){
                  result = buildResponse(200, serializedAgreement);
              }else{
                  result = buildResponse(404, printError(404, "No agreement with "+agreement_id));
              }            
          } catch (HelperException e) {
              logger.info("getStatusAgreementXML exception:"+e.getMessage());
              return buildResponse(e);
          }
          logger.debug("EndOf getStatusAgreementXML");
          return result;
      }
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
  
  {@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>
  }
  
  
  </pre>
  
  Example: <li>curl -H "Content-type: application/xml" http://localhost:8080/sla-service/agreements/{agreementId}/guaranteestatus</li>
  
  
  @param id
  of the agreement
  @return XML information with Guarantee Status