PipedriveClient.GetDealAsync(Int32, CancellationToken) Method

Definition

Get deal by id

public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Pipedrive.Models.DealResponse> GetDealAsync(int dealId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDealAsync : int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Pipedrive.Models.DealResponse>
override this.GetDealAsync : int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Pipedrive.Models.DealResponse>
Public Overridable Function GetDealAsync (dealId As Integer, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DealResponse)

Parameters

dealId
Int32

Deal Id

cancellationToken
CancellationToken

Cancellation token.

Returns

The Get deal by id response.

Remarks

This operation retrieves all details of an existing deal, given its id.

Applies to