Class PersonAppClient
- Namespace
- Crews.PlanningCenter.Api.People.V2025_03_20
- 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
httpClientHttpClienturiUri
Properties
App
Associated App.
public AppClient App { get; }
Property Value
Methods
GetAsync(CancellationToken)
Fetches the PersonApp resource asynchronously.
public Task<PersonAppResponse> GetAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA 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()