Class WorkflowAssigneeSummaryClient
- Namespace
- Crews.PlanningCenter.Api.People.V2018_08_01
- Assembly
- Crews.PlanningCenter.Api.dll
Client for interacting with the WorkflowAssigneeSummary resource.
public class WorkflowAssigneeSummaryClient : SingletonResourceClient<WorkflowAssigneeSummary, WorkflowAssigneeSummaryResource, WorkflowAssigneeSummaryResponse>
- Inheritance
-
SingletonResourceClient<WorkflowAssigneeSummary, WorkflowAssigneeSummaryResource, WorkflowAssigneeSummaryResponse>WorkflowAssigneeSummaryClient
- Inherited Members
Constructors
WorkflowAssigneeSummaryClient(HttpClient, Uri)
Client for interacting with the WorkflowAssigneeSummary resource.
public WorkflowAssigneeSummaryClient(HttpClient httpClient, Uri uri)
Parameters
httpClientHttpClienturiUri
Methods
AddCustomParameter(string, string)
Adds a custom query parameter to the request URI.
public WorkflowAssigneeSummaryClient AddCustomParameter(string parameter, string value)
Parameters
Returns
- WorkflowAssigneeSummaryClient
The current WorkflowAssigneeSummaryClient instance.
ClearParameters()
Removes the entire query string from the request URI.
public WorkflowAssigneeSummaryClient ClearParameters()
Returns
- WorkflowAssigneeSummaryClient
The current WorkflowAssigneeSummaryClient instance.
GetAsync(CancellationToken)
Fetches the WorkflowAssigneeSummary resource asynchronously.
public Task<WorkflowAssigneeSummaryResponse> GetAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token to monitor for cancellation requests.
Returns
- Task<WorkflowAssigneeSummaryResponse>
A task representing the asynchronous operation, containing the WorkflowAssigneeSummary resource.
Exceptions
- JsonApiException
Thrown when the HTTP response indicates a failure status code.