Table of Contents

Class PersonAppClient

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

Client for interacting with the PersonApp resource.

public class PersonAppClient : SingletonResourceClient<PersonApp, PersonAppResource, PersonAppResponse>
Inheritance
PersonAppClient
Inherited Members

Constructors

PersonAppClient(HttpClient, Uri)

Client for interacting with the PersonApp resource.

public PersonAppClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Properties

App

Associated App.

public AppClient App { get; }

Property Value

AppClient

Methods

GetAsync(CancellationToken)

Fetches the PersonApp resource asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<PersonAppResponse>

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

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.

IncludeApp()

Include related App resources in the response.

public PersonAppClient IncludeApp()

Returns

PersonAppClient