Table of Contents

Class IntegrationLinkClient

Namespace
Crews.PlanningCenter.Api.CheckIns.V2018_08_01
Assembly
Crews.PlanningCenter.Api.dll

Client for interacting with the IntegrationLink resource.

public class IntegrationLinkClient : SingletonResourceClient<IntegrationLink, IntegrationLinkResource, IntegrationLinkResponse>
Inheritance
IntegrationLinkClient
Inherited Members

Constructors

IntegrationLinkClient(HttpClient, Uri)

Client for interacting with the IntegrationLink resource.

public IntegrationLinkClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Methods

GetAsync(CancellationToken)

Fetches the IntegrationLink resource asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<IntegrationLinkResponse>

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

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.