Table of Contents

Class AppClient

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

Client for interacting with the App resource.

public class AppClient : SingletonResourceClient<App, AppResource, AppResponse>
Inheritance
AppClient
Inherited Members

Constructors

AppClient(HttpClient, Uri)

Client for interacting with the App resource.

public AppClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Methods

AddCustomParameter(string, string)

Adds a custom query parameter to the request URI.

public AppClient AddCustomParameter(string parameter, string value)

Parameters

parameter string

The name of the query parameter.

value string

The value of the query parameter.

Returns

AppClient

The current AppClient instance.

ClearParameters()

Removes the entire query string from the request URI.

public AppClient ClearParameters()

Returns

AppClient

The current AppClient instance.

GetAsync(CancellationToken)

Fetches the App resource asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<AppResponse>

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

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.