DocuSign.Rooms by DocuSign

<PackageReference Include="DocuSign.Rooms" Version="1.2.0-rc" />

 OfficesApi

Represents a collection of functions to interact with the API endpoints
public class GetOfficesOptions

Get all offices. This method returns a list of offices associated with an account.

public ApiClient ApiClient { get; set; }

Gets or sets the ApiClient object

public ExceptionFactory ExceptionFactory { get; set; }

Provides a factory method hook for the creation of exceptions.

public OfficesApi(ApiClient aplClient)

Initializes a new instance of the OfficesApi class using AplClient object

public Office CreateOffice(string accountId, OfficeForCreate body = null)

Create an office. Create an office.

public Task<Office> CreateOfficeAsync(string accountId, OfficeForCreate body = null)

Create an office. Create an office.

public Task<ApiResponse<Office>> CreateOfficeAsyncWithHttpInfo(string accountId, OfficeForCreate body = null)

Create an office. Create an office.

public ApiResponse<Office> CreateOfficeWithHttpInfo(string accountId, OfficeForCreate body = null)

Create an office. Create an office.

public void DeleteOffice(string accountId, int? officeId)

Delete an office. This method deletes an office from a Rooms account.

public Task DeleteOfficeAsync(string accountId, int? officeId)

Delete an office. This method deletes an office from a Rooms account.

public Task<ApiResponse<object>> DeleteOfficeAsyncWithHttpInfo(string accountId, int? officeId)

Delete an office. This method deletes an office from a Rooms account.

public ApiResponse<object> DeleteOfficeWithHttpInfo(string accountId, int? officeId)

Delete an office. This method deletes an office from a Rooms account.

public string GetBasePath()

Gets the base path of the API client.

public Office GetOffice(string accountId, int? officeId)

Get information about the office with the given officeId. Get information about the office with the given officeId.

public Task<Office> GetOfficeAsync(string accountId, int? officeId)

Get information about the office with the given officeId. Get information about the office with the given officeId.

public Task<ApiResponse<Office>> GetOfficeAsyncWithHttpInfo(string accountId, int? officeId)

Get information about the office with the given officeId. Get information about the office with the given officeId.

public OfficeSummaryList GetOffices(string accountId, GetOfficesOptions options = null)

Get all offices. This method returns a list of offices associated with an account.

public Task<OfficeSummaryList> GetOfficesAsync(string accountId, GetOfficesOptions options = null)

Get all offices. This method returns a list of offices associated with an account.

Get all offices. This method returns a list of offices associated with an account.

public ApiResponse<OfficeSummaryList> GetOfficesWithHttpInfo(string accountId, GetOfficesOptions options = null)

Get all offices. This method returns a list of offices associated with an account.

public ApiResponse<Office> GetOfficeWithHttpInfo(string accountId, int? officeId)

Get information about the office with the given officeId. Get information about the office with the given officeId.

public OfficeReferenceCountList GetReferenceCounts(string accountId, int? officeId)

Lists the number of objects of each type that reference the office. This method returns a list of each type of object and the number of objects of that type referencing the specified office. Note that an office cannot be deleted while existing objects reference it.

public Task<OfficeReferenceCountList> GetReferenceCountsAsync(string accountId, int? officeId)

Lists the number of objects of each type that reference the office. This method returns a list of each type of object and the number of objects of that type referencing the specified office. Note that an office cannot be deleted while existing objects reference it.

Lists the number of objects of each type that reference the office. This method returns a list of each type of object and the number of objects of that type referencing the specified office. Note that an office cannot be deleted while existing objects reference it.

public ApiResponse<OfficeReferenceCountList> GetReferenceCountsWithHttpInfo(string accountId, int? officeId)

Lists the number of objects of each type that reference the office. This method returns a list of each type of object and the number of objects of that type referencing the specified office. Note that an office cannot be deleted while existing objects reference it.