Table of Contents

Class PaginatedFormClient

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

Client for interacting with Form collection resources.

public class PaginatedFormClient : PaginatedResourceClient<Form, FormResource, FormCollectionResponse, FormResponse>
Inheritance
PaginatedFormClient
Inherited Members

Constructors

PaginatedFormClient(HttpClient, Uri)

Client for interacting with Form collection resources.

public PaginatedFormClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Methods

GetAsync(CancellationToken)

Fetches a paginated list of Form resources asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<FormCollectionResponse>

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

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.

IncludeCampus()

Include related Campus resources in the response.

public FormClient IncludeCampus()

Returns

FormClient

IncludeCategory()

Include related Category resources in the response.

public FormClient IncludeCategory()

Returns

FormClient

OrderByActive()

Sort response items by the Active attribute.

public FormClient OrderByActive()

Returns

FormClient

OrderByActiveDescending()

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

public FormClient OrderByActiveDescending()

Returns

FormClient

OrderByArchivedAt()

Sort response items by the ArchivedAt attribute.

public FormClient OrderByArchivedAt()

Returns

FormClient

OrderByArchivedAtDescending()

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

public FormClient OrderByArchivedAtDescending()

Returns

FormClient

OrderByCreatedAt()

Sort response items by the CreatedAt attribute.

public FormClient OrderByCreatedAt()

Returns

FormClient

OrderByCreatedAtDescending()

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

public FormClient OrderByCreatedAtDescending()

Returns

FormClient

OrderByDeletedAt()

Sort response items by the DeletedAt attribute.

public FormClient OrderByDeletedAt()

Returns

FormClient

OrderByDeletedAtDescending()

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

public FormClient OrderByDeletedAtDescending()

Returns

FormClient

OrderByDescription()

Sort response items by the Description attribute.

public FormClient OrderByDescription()

Returns

FormClient

OrderByDescriptionDescending()

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

public FormClient OrderByDescriptionDescending()

Returns

FormClient

OrderByName()

Sort response items by the Name attribute.

public FormClient OrderByName()

Returns

FormClient

OrderByNameDescending()

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

public FormClient OrderByNameDescending()

Returns

FormClient

OrderByUpdatedAt()

Sort response items by the UpdatedAt attribute.

public FormClient OrderByUpdatedAt()

Returns

FormClient

OrderByUpdatedAtDescending()

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

public FormClient OrderByUpdatedAtDescending()

Returns

FormClient

WhereActive(bool)

Query response items by the Active attribute.

public FormClient WhereActive(bool value)

Parameters

value bool

Returns

FormClient

WhereId(string)

Query response items by the Id attribute.

public FormClient WhereId(string value)

Parameters

value string

Returns

FormClient

WithId(string)

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

public FormClient WithId(string id)

Parameters

id string

The ID of the resource to create a client for.

Returns

FormClient

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