Table of Contents

Class WorkflowStepAssigneeSummaryClient

Namespace
Crews.PlanningCenter.Api.People.V2023_02_15
Assembly
Crews.PlanningCenter.Api.dll

Client for interacting with the WorkflowStepAssigneeSummary resource.

public class WorkflowStepAssigneeSummaryClient : SingletonResourceClient<WorkflowStepAssigneeSummary, WorkflowStepAssigneeSummaryResource, WorkflowStepAssigneeSummaryResponse>
Inheritance
WorkflowStepAssigneeSummaryClient
Inherited Members

Constructors

WorkflowStepAssigneeSummaryClient(HttpClient, Uri)

Client for interacting with the WorkflowStepAssigneeSummary resource.

public WorkflowStepAssigneeSummaryClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Properties

Person

Associated Person.

public PersonClient Person { get; }

Property Value

PersonClient

Methods

AddCustomParameter(string, string)

Adds a custom query parameter to the request URI.

public WorkflowStepAssigneeSummaryClient AddCustomParameter(string parameter, string value)

Parameters

parameter string

The name of the query parameter.

value string

The value of the query parameter.

Returns

WorkflowStepAssigneeSummaryClient

The current WorkflowStepAssigneeSummaryClient instance.

ClearParameters()

Removes the entire query string from the request URI.

public WorkflowStepAssigneeSummaryClient ClearParameters()

Returns

WorkflowStepAssigneeSummaryClient

The current WorkflowStepAssigneeSummaryClient instance.

GetAsync(CancellationToken)

Fetches the WorkflowStepAssigneeSummary resource asynchronously.

public Task<WorkflowStepAssigneeSummaryResponse> GetAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<WorkflowStepAssigneeSummaryResponse>

A task representing the asynchronous operation, containing the WorkflowStepAssigneeSummary resource.

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.

IncludePerson()

Include related Person resources in the response.

public WorkflowStepAssigneeSummaryClient IncludePerson()

Returns

WorkflowStepAssigneeSummaryClient