/// <summary>
        /// Create a new relation 
        /// </summary>
        /// <param name="ID">Unique ID</param>
        /// <param name="body">Message-Body</param>
        /// <returns></returns>
        public ServiceHasBusinessCapability createServiceHasBusinessCapability(string ID, Service body)
        {
            // create path and map variables
            var path = "/services/{ID}/serviceHasBusinessCapabilities".Replace("{format}","json").Replace("{" + "ID" + "}", apiClient.escapeString(ID.ToString()));

            // query params
            var queryParams = new Dictionary<String, String>();
            var headerParams = new Dictionary<String, String>();

            // verify required params are set
            if (ID == null ) {
                throw new ApiException(400, "missing required params");
            }
            string paramStr = null;
            try {
                var response = apiClient.invokeAPI(path, "POST", queryParams, body, headerParams);
                if(response != null){
                    return (ServiceHasBusinessCapability) ApiClient.deserialize(response, typeof(ServiceHasBusinessCapability));
                }
                else {
                    return null;
                }
            } catch (ApiException ex) {
                if(ex.ErrorCode == 404) {
                    return null;
                }
                else {
                    throw ex;
                }
            }
        }
        /// <summary>
        /// Create a new Application 
        /// </summary>
        /// <param name="body">Message-Body</param>
        /// <returns></returns>
        public Service createService(Service body)
        {
            // create path and map variables
            var path = "/services".Replace("{format}","json");

            // query params
            var queryParams = new Dictionary<String, String>();
            var headerParams = new Dictionary<String, String>();

            string paramStr = null;
            try {
                var response = apiClient.invokeAPI(path, "POST", queryParams, body, headerParams);
                if(response != null){
                    return (Service) ApiClient.deserialize(response, typeof(Service));
                }
                else {
                    return null;
                }
            } catch (ApiException ex) {
                if(ex.ErrorCode == 404) {
                    return null;
                }
                else {
                    throw ex;
                }
            }
        }