/// <summary> /// Discover all data providers in My Data My Consent by country and filters. /// </summary> /// <exception cref="MyDataMyConsent.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="accountType">Account type. (optional)</param> /// <param name="documentType">Document type. (optional)</param> /// <param name="organizationCategory">Organization category. (optional)</param> /// <param name="pageNo">Page number. (optional, default to 1)</param> /// <param name="pageSize">Number of items to return. (optional, default to 25)</param> /// <param name="countryIso2Code">ISO2 Country code. (optional, default to "IN")</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of DataProviderPaginatedList</returns> public async System.Threading.Tasks.Task <DataProviderPaginatedList> GetDataProvidersAsync(string?accountType = default(string?), string?documentType = default(string?), string?organizationCategory = default(string?), int?pageNo = default(int?), int?pageSize = default(int?), string?countryIso2Code = default(string?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { MyDataMyConsent.Sdk.Client.ApiResponse <DataProviderPaginatedList> localVarResponse = await GetDataProvidersWithHttpInfoAsync(accountType, documentType, organizationCategory, pageNo, pageSize, countryIso2Code, cancellationToken).ConfigureAwait(false); return(localVarResponse.Data); }
/// <summary> /// Get a Data Provider details by provider id. /// </summary> /// <exception cref="MyDataMyConsent.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="providerId">Data provider id.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of DataProvider</returns> public async System.Threading.Tasks.Task <DataProvider> GetDataProviderByIdAsync(string providerId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { MyDataMyConsent.Sdk.Client.ApiResponse <DataProvider> localVarResponse = await GetDataProviderByIdWithHttpInfoAsync(providerId, cancellationToken).ConfigureAwait(false); return(localVarResponse.Data); }
/// <summary> /// Discover all data providers in My Data My Consent by country and filters. /// </summary> /// <exception cref="MyDataMyConsent.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="accountType">Account type. (optional)</param> /// <param name="documentType">Document type. (optional)</param> /// <param name="organizationCategory">Organization category. (optional)</param> /// <param name="pageNo">Page number. (optional, default to 1)</param> /// <param name="pageSize">Number of items to return. (optional, default to 25)</param> /// <param name="countryIso2Code">ISO2 Country code. (optional, default to "IN")</param> /// <returns>DataProviderPaginatedList</returns> public DataProviderPaginatedList GetDataProviders(string?accountType = default(string?), string?documentType = default(string?), string?organizationCategory = default(string?), int?pageNo = default(int?), int?pageSize = default(int?), string?countryIso2Code = default(string?)) { MyDataMyConsent.Sdk.Client.ApiResponse <DataProviderPaginatedList> localVarResponse = GetDataProvidersWithHttpInfo(accountType, documentType, organizationCategory, pageNo, pageSize, countryIso2Code); return(localVarResponse.Data); }
/// <summary> /// Get a Data Provider details by provider id. /// </summary> /// <exception cref="MyDataMyConsent.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="providerId">Data provider id.</param> /// <returns>DataProvider</returns> public DataProvider GetDataProviderById(string providerId) { MyDataMyConsent.Sdk.Client.ApiResponse <DataProvider> localVarResponse = GetDataProviderByIdWithHttpInfo(providerId); return(localVarResponse.Data); }
/// <summary> /// Digilocker Compatible endpoint to issue document. /// </summary> /// <exception cref="MyDataMyConsent.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pushUriRequest">Push URI request payload</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of PushUriResponse</returns> public async System.Threading.Tasks.Task <PushUriResponse> DigilockerCompatIssueDocumentAsync(PushUriRequest pushUriRequest, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { MyDataMyConsent.Sdk.Client.ApiResponse <PushUriResponse> localVarResponse = await DigilockerCompatIssueDocumentWithHttpInfoAsync(pushUriRequest, cancellationToken).ConfigureAwait(false); return(localVarResponse.Data); }
/// <summary> /// Digilocker Compatible endpoint to issue document. /// </summary> /// <exception cref="MyDataMyConsent.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="pushUriRequest">Push URI request payload</param> /// <returns>PushUriResponse</returns> public PushUriResponse DigilockerCompatIssueDocument(PushUriRequest pushUriRequest) { MyDataMyConsent.Sdk.Client.ApiResponse <PushUriResponse> localVarResponse = DigilockerCompatIssueDocumentWithHttpInfo(pushUriRequest); return(localVarResponse.Data); }
/// <summary> /// Get all supported identifiers by country. Get all supported identifiers by country. /// </summary> /// <exception cref="MyDataMyConsent.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="countryIso2Code">Country ISO 2 code.</param> /// <param name="cancellationToken">Cancellation Token to cancel the request.</param> /// <returns>Task of SupportedIdentifier</returns> public async System.Threading.Tasks.Task <SupportedIdentifier> GetAllSupportedIdentifiersAsync(string countryIso2Code, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { MyDataMyConsent.Sdk.Client.ApiResponse <SupportedIdentifier> localVarResponse = await GetAllSupportedIdentifiersWithHttpInfoAsync(countryIso2Code, cancellationToken).ConfigureAwait(false); return(localVarResponse.Data); }
/// <summary> /// Get all supported identifiers by country. Get all supported identifiers by country. /// </summary> /// <exception cref="MyDataMyConsent.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="countryIso2Code">Country ISO 2 code.</param> /// <returns>SupportedIdentifier</returns> public SupportedIdentifier GetAllSupportedIdentifiers(string countryIso2Code) { MyDataMyConsent.Sdk.Client.ApiResponse <SupportedIdentifier> localVarResponse = GetAllSupportedIdentifiersWithHttpInfo(countryIso2Code); return(localVarResponse.Data); }