public string Delete( NKitWebServiceFilterStringWindows filterString, string columnName, object requestPostObject, out HttpStatusCode statusCode, out string statusDescription, bool wrapWebException) { string rawOutput = null; string queryString = string.IsNullOrEmpty(columnName) ? filterString.ToString() : string.Format("{0}/{1}", filterString, columnName); _webServiceClient.CallService <string>( queryString, requestPostObject, HttpVerb.DELETE, out rawOutput, true, false, _timeout, out statusCode, out statusDescription, wrapWebException, null); return(rawOutput); }
public T Query <T>( NKitWebServiceFilterStringWindows filterString, out string rawOutput, out HttpStatusCode statusCode, out string statusDescription, bool wrapWebException) { return(_webServiceClient.CallService <T>( filterString.ToString(), null, HttpVerb.GET, out rawOutput, false, true, _timeout, out statusCode, out statusDescription, wrapWebException, null)); }
public string Insert( NKitWebServiceFilterStringWindows filterString, object requestPostObject, out HttpStatusCode statusCode, out string statusDescription, bool wrapWebException) { string rawOutput = null; _webServiceClient.CallService <string>( filterString.ToString(), requestPostObject, HttpVerb.POST, out rawOutput, true, false, _timeout, out statusCode, out statusDescription, wrapWebException, null); return(rawOutput); }