/// <summary> /// This call returns all documents contained in a specific binder This call could not be compatible with some programming language, in this case use the call \"api/BinderSearches /// </summary> /// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="request">The request object for the search</param> /// <returns>Task of ApiResponse (Object)</returns> public async System.Threading.Tasks.Task <ApiResponse <Object> > BinderSearchV3GetProfilesByPraticaAsyncWithHttpInfo(BinderProfilesSearchRequestDTO request) { // verify the required parameter 'request' is set if (request == null) { throw new ApiException(400, "Missing required parameter 'request' when calling BinderSearchV3Api->BinderSearchV3GetProfilesByPratica"); } var localVarPath = "/api/v3/BinderSearches"; var localVarPathParams = new Dictionary <String, String>(); var localVarQueryParams = new List <KeyValuePair <String, String> >(); var localVarHeaderParams = new Dictionary <String, String>(this.Configuration.DefaultHeader); var localVarFormParams = new Dictionary <String, String>(); var localVarFileParams = new Dictionary <String, FileParameter>(); Object localVarPostBody = null; // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded" }; String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { "application/json", "text/json", "application/xml", "text/xml" }; String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) { localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); } if (request != null && request.GetType() != typeof(byte[])) { localVarPostBody = this.Configuration.ApiClient.Serialize(request); // http body (model) parameter } else { localVarPostBody = request; // byte array } // authentication (Authorization) required if (!String.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization"))) { localVarHeaderParams["Authorization"] = this.Configuration.GetApiKeyWithPrefix("Authorization"); } // make the HTTP request IRestResponse localVarResponse = (IRestResponse)await this.Configuration.ApiClient.CallApiAsync(localVarPath, Method.POST, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, localVarPathParams, localVarHttpContentType); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { Exception exception = ExceptionFactory("BinderSearchV3GetProfilesByPratica", localVarResponse); if (exception != null) { throw exception; } } return(new ApiResponse <Object>(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), (Object)this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(Object)))); }
/// <summary> /// This call returns all documents contained in a specific binder This call could not be compatible with some programming language, in this case use the call \"api/BinderSearches /// </summary> /// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="request">The request object for the search</param> /// <returns>Task of Object</returns> public async System.Threading.Tasks.Task <Object> BinderSearchV3GetProfilesByPraticaAsync(BinderProfilesSearchRequestDTO request) { ApiResponse <Object> localVarResponse = await BinderSearchV3GetProfilesByPraticaAsyncWithHttpInfo(request); return(localVarResponse.Data); }
/// <summary> /// This call returns all documents contained in a specific binder This method is deprecated. Use api/v2/BinderSearches /// </summary> /// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="request">The request object for the search</param> /// <returns>List<RowSearchResult></returns> public List <RowSearchResult> BinderSearchGetProfilesByPratica(BinderProfilesSearchRequestDTO request) { ApiResponse <List <RowSearchResult> > localVarResponse = BinderSearchGetProfilesByPraticaWithHttpInfo(request); return(localVarResponse.Data); }
/// <summary> /// This call returns all documents contained in a specific binder This call could not be compatible with some programming language, in this case use the call \"api/BinderSearches /// </summary> /// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="request">The request object for the search</param> /// <returns>Object</returns> public Object BinderSearchV3GetProfilesByPratica(BinderProfilesSearchRequestDTO request) { ApiResponse <Object> localVarResponse = BinderSearchV3GetProfilesByPraticaWithHttpInfo(request); return(localVarResponse.Data); }
/// <summary> /// This call returns all documents contained in a specific binder This method is deprecated. Use api/v2/BinderSearches /// </summary> /// <exception cref="ACUtils.AXRepository.ArxivarNext.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="body">The request object for the search</param> /// <returns>Task of List<RowSearchResult></returns> public async System.Threading.Tasks.Task <List <RowSearchResult> > BinderSearchGetProfilesByPraticaAsync(BinderProfilesSearchRequestDTO body) { ApiResponse <List <RowSearchResult> > localVarResponse = await BinderSearchGetProfilesByPraticaAsyncWithHttpInfo(body); return(localVarResponse.Data); }