anchor.diff:                  </wsag:Terms>
               </wsag:Agreement>
   
  ++ Request (application/json)
  +
  +    + headers
  +    
  +            user: basic authentication user
  +            password: basic authentication password
  +
  +    + body
  +            
  +            {
  +                "name":"Agreement3",
  +                "context":{
  +                    "agreementInitiator":"user3@serviceuser.com",
  +                    "agreementResponder":"Provider3",
  +                    "serviceProvider":"AgreementResponder",
  +                    "expirationTime":"0024-03-07T11:08:24CET",
  +                    "templateId":"e7efbfc1-3039-44c1-82d5-3d0e04cf2368",
  +                    "service":"Service3"
  +                },
  +                "terms":{
  +                    "allTerms":{
  +                        "serviceDescriptionTerm":{
  +                            "name":null,
  +                            "serviceName":null
  +                        },
  +                        "serviceProperties":[
  +                            {
  +                                "name":"ServiceProperties",
  +                                "serviceName":"Service3",
  +                                "variableSet":{
  +                                    "variables":[
  +                                        {
  +                                            "name":"percCPULoad",
  +                                            "metric":null,
  +                                            "location":null
  +                                        },
  +                                        {
  +                                            "name":"percDiskUsed",
  +                                            "metric":null,
  +                                            "location":null
  +                                        },
  +                                        {
  +                                            "name":"percRAMUsed",
  +                                            "metric":null,
  +                                            "location":null
  +                                        }
  +                                    ]
  +                                }
  +                            }
  +                        ],
  +                        "guaranteeTerms":[
  +                            {
  +                                "name":"percCPULoad",
  +                                "serviceScope":{
  +                                    "serviceName":"Service3",
  +                                    "value":"Service3"
  +                                },
  +                                "qualifyingCondition":null,
  +                                "businessValueList":null,
  +                                "serviceLevelObjetive":{
  +                                    "kpitarget":{
  +                                        "kpiName":"percCPULoad",
  +                                        "customServiceLevel":"{\"constraint\": \"percCPULoad LT 90\"}"
  +                                    }
  +                                }
  +                            },
  +                            {
  +                                "name":"percDiskUsed",
  +                                "serviceScope":{
  +                                    "serviceName":"Service3",
  +                                    "value":"Service3"
  +                                },
  +                                "qualifyingCondition":null,
  +                                "businessValueList":null,
  +                                "serviceLevelObjetive":{
  +                                    "kpitarget":{
  +                                        "kpiName":"percDiskUsed",
  +                                        "customServiceLevel":"{\"constraint\": \"percDiskUsed LT 80\"}"
  +                                    }
  +                                }
  +                            },
  +                            {
  +                                "name":"percRAMUsed",
  +                                "serviceScope":{
  +                                    "serviceName":"Service3",
  +                                    "value":"Service3"
  +                                },
  +                                "qualifyingCondition":null,
  +                                "businessValueList":null,
  +                                "serviceLevelObjetive":{
  +                                    "kpitarget":{
  +                                        "kpiName":"percRAMUsed",
  +                                        "customServiceLevel":"{\"constraint\": \"percRAMUsed LT 80\"}"
  +                                    }
  +                                }
  +                            }
  +                        ]
  +                    }
  +                }
  +            }
  +
  ++ Response 201 (application/json)
  +
  +    + Body
  +
  +            {
  +                "agreementId":"87726a36-e570-4482-b3cc-1cb3d8998bb8",
  +                "name":"Agreement3",
  +                "context":{
  +                    "agreementInitiator":"user3@serviceuser.com",
  +                    "agreementResponder":"Provider3",
  +                    "serviceProvider":"AgreementResponder",
  +                    "expirationTime":"0024-03-07T11:08:24CET",
  +                    "templateId":"e7efbfc1-3039-44c1-82d5-3d0e04cf2368",
  +                    "service":"Service3"
  +                },
  +                "terms":{
  +                    "allTerms":{
  +                        "serviceDescriptionTerm":{
  +                            "name":null,
  +                            "serviceName":null
  +                        },
  +                        "serviceProperties":[
  +                            {
  +                                "name":"ServiceProperties",
  +                                "serviceName":"Service3",
  +                                "variableSet":{
  +                                    "variables":[
  +                                        {
  +                                            "name":"percCPULoad",
  +                                            "metric":null,
  +                                            "location":null
  +                                        },
  +                                        {
  +                                            "name":"percDiskUsed",
  +                                            "metric":null,
  +                                            "location":null
  +                                        },
  +                                        {
  +                                            "name":"percRAMUsed",
  +                                            "metric":null,
  +                                            "location":null
  +                                        }
  +                                    ]
  +                                }
  +                            }
  +                        ],
  +                        "guaranteeTerms":[
  +                            {
  +                                "name":"percCPULoad",
  +                                "serviceScope":{
  +                                    "serviceName":"Service3",
  +                                    "value":"Service3"
  +                                },
  +                                "qualifyingCondition":null,
  +                                "businessValueList":null,
  +                                "serviceLevelObjetive":{
  +                                    "kpitarget":{
  +                                        "kpiName":"percCPULoad",
  +                                        "customServiceLevel":"{\"constraint\": \"percCPULoad LT 90\"}"
  +                                    }
  +                                }
  +                            },
  +                            {
  +                                "name":"percDiskUsed",
  +                                "serviceScope":{
  +                                    "serviceName":"Service3",
  +                                    "value":"Service3"
  +                                },
  +                                "qualifyingCondition":null,
  +                                "businessValueList":null,
  +                                "serviceLevelObjetive":{
  +                                    "kpitarget":{
  +                                        "kpiName":"percDiskUsed",
  +                                        "customServiceLevel":"{\"constraint\": \"percDiskUsed LT 80\"}"
  +                                    }
  +                                }
  +                            },
  +                            {
  +                                "name":"percRAMUsed",
  +                                "serviceScope":{
  +                                    "serviceName":"Service3",
  +                                    "value":"Service3"
  +                                },
  +                                "qualifyingCondition":null,
  +                                "businessValueList":null,
  +                                "serviceLevelObjetive":{
  +                                    "kpitarget":{
  +                                        "kpiName":"percRAMUsed",
  +                                        "customServiceLevel":"{\"constraint\": \"percRAMUsed LT 80\"}"
  +                                    }
  +                                }
  +                            }
  +                        ]
  +                    }
  +                }
  +            }
  +
   + Response 409
   
           Returned when the uuid or name already exists in the database.
  
positive.code:                     </wsag:Terms>
                  </wsag:Agreement>
              </agreements>
  
  ### Create a new agreement [POST]
  
  
negative.code: 
  The AgreementId matches the AgreementId attribute of wsag:Agreement element when the agreement is created. An agreement is serialized in XML as defined by [WS-Agreement schema](http://schemas.ggf.org/graap/2007/03/ws-agreement).
  
  ## Agreement Collection [/agreements{?consumerId}{?providerId}{?templateId}{?active}]
  
  ### List all agreements [GET]
  
  This operation allows to get all the registered agreements in the SLA Manager Core.
  
  + Parameters
  
      + consumerId (optional, string) ... uuid of the consumer
      + providerId (optional, string) ... uuid of the provider
      + templateId (optional, string) ... uuid of the template the agreement is based on
      + active (optional, boolean) ... If true, agreements currently enforced are returned
  
  + Request
  
      + Headers
      
  