Table of Contents

Class TabClient

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

Client for interacting with the Tab resource.

public class TabClient : SingletonResourceClient<Tab, TabResource, TabResponse>
Inheritance
TabClient
Inherited Members

Constructors

TabClient(HttpClient, Uri)

Client for interacting with the Tab resource.

public TabClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Properties

FieldDefinitions

Associated FieldDefinitions.

public PaginatedFieldDefinitionClient FieldDefinitions { get; }

Property Value

PaginatedFieldDefinitionClient

FieldOptions

Associated FieldOptions.

public PaginatedFieldOptionClient FieldOptions { get; }

Property Value

PaginatedFieldOptionClient

Methods

DeleteAsync(CancellationToken)

Deletes the Tab resource asynchronously.

public Task DeleteAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task

A task representing the asynchronous delete operation.

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.

GetAsync(CancellationToken)

Fetches the Tab resource asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<TabResponse>

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

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.

IncludeFieldDefinitions()

Include related FieldDefinitions resources in the response.

public TabClient IncludeFieldDefinitions()

Returns

TabClient

IncludeFieldOptions()

Include related FieldOptions resources in the response.

public TabClient IncludeFieldOptions()

Returns

TabClient

PatchAsync(Tab, CancellationToken)

Updates an existing Tab resource asynchronously.

public Task<TabResponse> PatchAsync(Tab resource, CancellationToken cancellationToken = default)

Parameters

resource Tab

The resource data to be sent in the patch request.

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<TabResponse>

A task representing the asynchronous operation, containing the updated Tab resource.

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.

PatchAsync(JsonApiDocument<TabResource>, CancellationToken)

Updates an existing Tab resource asynchronously.

public Task<TabResponse> PatchAsync(JsonApiDocument<TabResource> document, CancellationToken cancellationToken = default)

Parameters

document JsonApiDocument<TabResource>

The JSON:API document to be sent in the patch request.

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<TabResponse>

A task representing the asynchronous operation, containing the updated Tab resource.

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.