Table of Contents

Class PaginatedWorkflowStepClient

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

Client for interacting with WorkflowStep collection resources.

public class PaginatedWorkflowStepClient : PaginatedResourceClient<WorkflowStep, WorkflowStepResource, WorkflowStepCollectionResponse, WorkflowStepResponse>
Inheritance
PaginatedWorkflowStepClient
Inherited Members

Constructors

PaginatedWorkflowStepClient(HttpClient, Uri)

Client for interacting with WorkflowStep collection resources.

public PaginatedWorkflowStepClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Methods

GetAsync(CancellationToken)

Fetches a paginated list of WorkflowStep resources asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<WorkflowStepCollectionResponse>

A task representing the asynchronous operation, containing a paginated list of WorkflowStep resources.

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.

IncludeDefaultAssignee()

Include related DefaultAssignee resources in the response.

public WorkflowStepClient IncludeDefaultAssignee()

Returns

WorkflowStepClient

OrderByCreatedAt()

Sort response items by the CreatedAt attribute.

public WorkflowStepClient OrderByCreatedAt()

Returns

WorkflowStepClient

OrderByCreatedAtDescending()

Sort response items by the CreatedAt attribute. Use reverse order.

public WorkflowStepClient OrderByCreatedAtDescending()

Returns

WorkflowStepClient

OrderByName()

Sort response items by the Name attribute.

public WorkflowStepClient OrderByName()

Returns

WorkflowStepClient

OrderByNameDescending()

Sort response items by the Name attribute. Use reverse order.

public WorkflowStepClient OrderByNameDescending()

Returns

WorkflowStepClient

OrderBySequence()

Sort response items by the Sequence attribute.

public WorkflowStepClient OrderBySequence()

Returns

WorkflowStepClient

OrderBySequenceDescending()

Sort response items by the Sequence attribute. Use reverse order.

public WorkflowStepClient OrderBySequenceDescending()

Returns

WorkflowStepClient

OrderByUpdatedAt()

Sort response items by the UpdatedAt attribute.

public WorkflowStepClient OrderByUpdatedAt()

Returns

WorkflowStepClient

OrderByUpdatedAtDescending()

Sort response items by the UpdatedAt attribute. Use reverse order.

public WorkflowStepClient OrderByUpdatedAtDescending()

Returns

WorkflowStepClient

PostAsync(WorkflowStep, CancellationToken)

Creates a new WorkflowStep resource asynchronously.

public Task<WorkflowStepResponse> PostAsync(WorkflowStep resource, CancellationToken cancellationToken = default)

Parameters

resource WorkflowStep

The resource data to be sent in the POST request.

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<WorkflowStepResponse>

A task representing the asynchronous operation, containing the created WorkflowStep resource.

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.

PostAsync(JsonApiDocument<WorkflowStepResource>, CancellationToken)

Creates a new WorkflowStep resource asynchronously.

public Task<WorkflowStepResponse> PostAsync(JsonApiDocument<WorkflowStepResource> document, CancellationToken cancellationToken = default)

Parameters

document JsonApiDocument<WorkflowStepResource>

The JSON:API document to be sent in the POST request.

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<WorkflowStepResponse>

A task representing the asynchronous operation, containing the created WorkflowStep resource.

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.

WhereCreatedAt(DateTime)

Query response items by the CreatedAt attribute.

public WorkflowStepClient WhereCreatedAt(DateTime value)

Parameters

value DateTime

Returns

WorkflowStepClient

WhereName(string)

Query response items by the Name attribute.

public WorkflowStepClient WhereName(string value)

Parameters

value string

Returns

WorkflowStepClient

WhereUpdatedAt(DateTime)

Query response items by the UpdatedAt attribute.

public WorkflowStepClient WhereUpdatedAt(DateTime value)

Parameters

value DateTime

Returns

WorkflowStepClient

WithId(string)

Creates a new instance of a WorkflowStep client for a specific resource ID.

public WorkflowStepClient WithId(string id)

Parameters

id string

The ID of the resource to create a client for.

Returns

WorkflowStepClient

A new instance of the resource client for the specified resource ID.