Table of Contents

Class FormFieldClient

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

Client for interacting with the FormField resource.

public class FormFieldClient : SingletonResourceClient<FormField, FormFieldResource, FormFieldResponse>
Inheritance
FormFieldClient
Inherited Members

Constructors

FormFieldClient(HttpClient, Uri)

Client for interacting with the FormField resource.

public FormFieldClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Properties

Options

Associated Options.

public PaginatedFormFieldOptionClient Options { get; }

Property Value

PaginatedFormFieldOptionClient

Methods

GetAsync(CancellationToken)

Fetches the FormField resource asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<FormFieldResponse>

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

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.

IncludeOptions()

Include related Options resources in the response.

public FormFieldClient IncludeOptions()

Returns

FormFieldClient