Class SignupClient
- Namespace
- Crews.PlanningCenter.Api.Registrations.V2025_05_01
- Assembly
- Crews.PlanningCenter.Api.dll
Client for interacting with the Signup resource.
public class SignupClient : SingletonResourceClient<Signup, SignupResource, SignupResponse>
- Inheritance
-
SignupClient
- Inherited Members
Constructors
SignupClient(HttpClient, Uri)
Client for interacting with the Signup resource.
public SignupClient(HttpClient httpClient, Uri uri)
Parameters
httpClientHttpClienturiUri
Properties
Attendees
Associated Attendees.
public PaginatedAttendeeClient Attendees { get; }
Property Value
Campuses
Associated Campuses.
public PaginatedCampusClient Campuses { get; }
Property Value
Categories
Associated Categories.
public PaginatedCategoryClient Categories { get; }
Property Value
NextSignupTime
Associated NextSignupTime.
public SignupTimeClient NextSignupTime { get; }
Property Value
Registrations
Associated Registrations.
public PaginatedRegistrationClient Registrations { get; }
Property Value
SelectionTypes
Associated SelectionTypes.
public PaginatedSelectionTypeClient SelectionTypes { get; }
Property Value
SignupLocation
Associated SignupLocation.
public SignupLocationClient SignupLocation { get; }
Property Value
SignupTimes
Associated SignupTimes.
public PaginatedSignupTimeClient SignupTimes { get; }
Property Value
Methods
AddCustomParameter(string, string)
Adds a custom query parameter to the request URI.
public SignupClient AddCustomParameter(string parameter, string value)
Parameters
Returns
- SignupClient
The current SignupClient instance.
ClearParameters()
Removes the entire query string from the request URI.
public SignupClient ClearParameters()
Returns
- SignupClient
The current SignupClient instance.
GetAsync(CancellationToken)
Fetches the Signup resource asynchronously.
public Task<SignupResponse> GetAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token to monitor for cancellation requests.
Returns
- Task<SignupResponse>
A task representing the asynchronous operation, containing the Signup resource.
Exceptions
- JsonApiException
Thrown when the HTTP response indicates a failure status code.
IncludeCampuses()
Include related Campuses resources in the response.
public SignupClient IncludeCampuses()
Returns
IncludeCategories()
Include related Categories resources in the response.
public SignupClient IncludeCategories()
Returns
IncludeNextSignupTime()
Include related NextSignupTime resources in the response.
public SignupClient IncludeNextSignupTime()
Returns
IncludeSignupLocation()
Include related SignupLocation resources in the response.
public SignupClient IncludeSignupLocation()
Returns
IncludeSignupTimes()
Include related SignupTimes resources in the response.
public SignupClient IncludeSignupTimes()