Table of Contents

Class PaginatedWorkflowClient

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

Client for interacting with Workflow collection resources.

public class PaginatedWorkflowClient : PaginatedResourceClient<Workflow, WorkflowResource, WorkflowCollectionResponse, WorkflowResponse>
Inheritance
PaginatedWorkflowClient
Inherited Members

Constructors

PaginatedWorkflowClient(HttpClient, Uri)

Client for interacting with Workflow collection resources.

public PaginatedWorkflowClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Methods

GetAsync(CancellationToken)

Fetches a paginated list of Workflow resources asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<WorkflowCollectionResponse>

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

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.

IncludeCategory()

Include related Category resources in the response.

public WorkflowClient IncludeCategory()

Returns

WorkflowClient

IncludeShares()

Include related Shares resources in the response.

public WorkflowClient IncludeShares()

Returns

WorkflowClient

IncludeSteps()

Include related Steps resources in the response.

public WorkflowClient IncludeSteps()

Returns

WorkflowClient

OrderByArchivedAt()

Sort response items by the ArchivedAt attribute.

public WorkflowClient OrderByArchivedAt()

Returns

WorkflowClient

OrderByArchivedAtDescending()

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

public WorkflowClient OrderByArchivedAtDescending()

Returns

WorkflowClient

OrderByCampusId()

Sort response items by the CampusId attribute.

public WorkflowClient OrderByCampusId()

Returns

WorkflowClient

OrderByCampusIdDescending()

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

public WorkflowClient OrderByCampusIdDescending()

Returns

WorkflowClient

OrderByCreatedAt()

Sort response items by the CreatedAt attribute.

public WorkflowClient OrderByCreatedAt()

Returns

WorkflowClient

OrderByCreatedAtDescending()

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

public WorkflowClient OrderByCreatedAtDescending()

Returns

WorkflowClient

OrderByDeletedAt()

Sort response items by the DeletedAt attribute.

public WorkflowClient OrderByDeletedAt()

Returns

WorkflowClient

OrderByDeletedAtDescending()

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

public WorkflowClient OrderByDeletedAtDescending()

Returns

WorkflowClient

OrderByName()

Sort response items by the Name attribute.

public WorkflowClient OrderByName()

Returns

WorkflowClient

OrderByNameDescending()

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

public WorkflowClient OrderByNameDescending()

Returns

WorkflowClient

OrderByUpdatedAt()

Sort response items by the UpdatedAt attribute.

public WorkflowClient OrderByUpdatedAt()

Returns

WorkflowClient

OrderByUpdatedAtDescending()

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

public WorkflowClient OrderByUpdatedAtDescending()

Returns

WorkflowClient

OrderByWorkflowCategoryId()

Sort response items by the WorkflowCategoryId attribute.

public WorkflowClient OrderByWorkflowCategoryId()

Returns

WorkflowClient

OrderByWorkflowCategoryIdDescending()

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

public WorkflowClient OrderByWorkflowCategoryIdDescending()

Returns

WorkflowClient

PostAsync(Workflow, CancellationToken)

Creates a new Workflow resource asynchronously.

public Task<WorkflowResponse> PostAsync(Workflow resource, CancellationToken cancellationToken = default)

Parameters

resource Workflow

The resource data to be sent in the POST request.

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<WorkflowResponse>

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

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.

PostAsync(JsonApiDocument<WorkflowResource>, CancellationToken)

Creates a new Workflow resource asynchronously.

public Task<WorkflowResponse> PostAsync(JsonApiDocument<WorkflowResource> document, CancellationToken cancellationToken = default)

Parameters

document JsonApiDocument<WorkflowResource>

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

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<WorkflowResponse>

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

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.

WhereArchivedAt(DateTime)

Query response items by the ArchivedAt attribute.

public WorkflowClient WhereArchivedAt(DateTime value)

Parameters

value DateTime

Returns

WorkflowClient

WhereCampusId(string)

Query response items by the CampusId attribute.

public WorkflowClient WhereCampusId(string value)

Parameters

value string

Returns

WorkflowClient

WhereCreatedAt(DateTime)

Query response items by the CreatedAt attribute.

public WorkflowClient WhereCreatedAt(DateTime value)

Parameters

value DateTime

Returns

WorkflowClient

WhereDeletedAt(DateTime)

Query response items by the DeletedAt attribute.

public WorkflowClient WhereDeletedAt(DateTime value)

Parameters

value DateTime

Returns

WorkflowClient

WhereId(string)

Query response items by the Id attribute.

public WorkflowClient WhereId(string value)

Parameters

value string

Returns

WorkflowClient

WhereName(string)

Query response items by the Name attribute.

public WorkflowClient WhereName(string value)

Parameters

value string

Returns

WorkflowClient

WhereUpdatedAt(DateTime)

Query response items by the UpdatedAt attribute.

public WorkflowClient WhereUpdatedAt(DateTime value)

Parameters

value DateTime

Returns

WorkflowClient

WhereWorkflowCategoryId(string)

Query response items by the WorkflowCategoryId attribute.

public WorkflowClient WhereWorkflowCategoryId(string value)

Parameters

value string

Returns

WorkflowClient

WithId(string)

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

public WorkflowClient WithId(string id)

Parameters

id string

The ID of the resource to create a client for.

Returns

WorkflowClient

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