code: @Deprecated
      @POST
      @Path("agreements")
      @Consumes(MediaType.MULTIPART_FORM_DATA)
      public Response createAgreementMultipart(@Context UriInfo uriInfo, FormDataMultiPart form,
              @QueryParam("agreementId") String agreementId) 
              throws ParserException, InternalException {
          
          FormDataBodyPart slaPart = form.getField("sla");
          String slaPayload = slaPart.getValueAs(String.class);
  
          String id = createAgreementImpl(agreementId, slaPayload);
          String location = buildResourceLocation(uriInfo.getAbsolutePath().toString() ,id);
          logger.debug("EndOf createAgreement");
          return buildResponsePOST(
                  HttpStatus.CREATED,
                  createMessage(HttpStatus.CREATED, id, 
                          "The agreement has been stored successfully in the SLA Repository Database. "
                          + "It has location " + location), location);
      }
docs: /*
  Maintained for backward compatibility