Table of Contents

Class LabelClient

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

Client for interacting with the Label resource.

public class LabelClient : SingletonResourceClient<Label, LabelResource, LabelResponse>
Inheritance
LabelClient
Inherited Members

Constructors

LabelClient(HttpClient, Uri)

Client for interacting with the Label resource.

public LabelClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Properties

EventLabels

Associated EventLabels.

public PaginatedEventLabelClient EventLabels { get; }

Property Value

PaginatedEventLabelClient

LocationLabels

Associated LocationLabels.

public PaginatedLocationLabelClient LocationLabels { get; }

Property Value

PaginatedLocationLabelClient

Methods

GetAsync(CancellationToken)

Fetches the Label resource asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<LabelResponse>

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

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.