Class PersonMergerClient
- Namespace
- Crews.PlanningCenter.Api.People.V2020_04_06
- Assembly
- Crews.PlanningCenter.Api.dll
Client for interacting with the PersonMerger resource.
public class PersonMergerClient : SingletonResourceClient<PersonMerger, PersonMergerResource, PersonMergerResponse>
- Inheritance
-
PersonMergerClient
- Inherited Members
Constructors
PersonMergerClient(HttpClient, Uri)
Client for interacting with the PersonMerger resource.
public PersonMergerClient(HttpClient httpClient, Uri uri)
Parameters
httpClientHttpClienturiUri
Methods
GetAsync(CancellationToken)
Fetches the PersonMerger resource asynchronously.
public Task<PersonMergerResponse> GetAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token to monitor for cancellation requests.
Returns
- Task<PersonMergerResponse>
A task representing the asynchronous operation, containing the PersonMerger resource.
Exceptions
- JsonApiException
Thrown when the HTTP response indicates a failure status code.