• Articles
  • Api Documentation
Show / Hide Table of Contents
  • PAccess.PartnerAgents
    • Api.Contracts
      • Branches
        • BranchAddress
        • BranchDetails
      • Customer
        • CreateCustomerRequest
        • CreateCustomerResponse
        • CustomerAddress
      • Property
        • ApiPropertyType
        • AuctionBidDetails
        • AuctionBidSummary
        • AuctionDetails
        • CentralHeatingType
        • CommercialBusinessType
        • CommercialPropertyDetails
        • CommercialPropertyType
        • GetPropertiesRequest
        • IReferredRequest
        • ListDataInfo
        • ParkingType
        • PropertyAddress
        • PropertyDetails
        • PropertyStatus
        • PropertySummary
        • ReferCommercialPropertyRequest
        • ReferPropertyResponse
        • ReferResidentialPropertyRequest
        • ResidentialPropertyDetails
        • ResidentialPropertyType
      • PropertyImage
        • AddPropertyImageRequest
        • AddPropertyImageResponse
        • PropertyImageDetails
        • RemovePropertyImageRequest
        • RemovePropertyImageResponse
        • SortPropertyImagesRequest
        • SortPropertyImagesResponse
      • PropertyNote
        • PropertyNoteDetails
      • Users
        • CreateUserRequest
        • CreateUserResponse
        • UserDetails
      • Viewing
        • AddViewingFeedbackRequest
        • AddViewingFeedbackResponse
        • CancelViewingRequest
        • CancelViewingResponse
        • CreateViewingRequest
        • CreateViewingResponse
        • RescheduleViewingRequest
        • RescheduleViewingResponse
        • ViewingDetails
      • ApiClientDetails
      • ErrorResponse
      • IApiAddress
      • IApiResponse
    • ApiClient
      • Configuration
        • PartnerAgentApiClientSettings
      • Factories
        • IPartnerAgentApiClientFactory
        • PartnerAgentApiClientFactory
      • Services
        • Branches
          • IPartnerAgentBranches
        • BusinessTypes
          • IPartnerAgentCommercialBusinessTypes
        • CentralHeatingTypes
          • IPartnerAgentCentralHeatingTypes
        • Customers
          • IPartnerAgentCustomers
        • ParkingTypes
          • IPartnerAgentParkingTypes
        • Properties
          • IPartnerAgentProperties
        • PropertyImages
          • IPartnerAgentPropertyImages
        • PropertyNotes
          • IPartnerAgentPropertyNotes
        • PropertyTypes
          • IPartnerAgentCommercialPropertyTypes
          • IPartnerAgentResidentialPropertyTypes
        • RequestExecution
          • NullableReferenceTypesExtensions
        • TokenValidation
          • IPartnerAgentTokenValidation
        • Users
          • IPartnerAgentUsers
        • Viewings
          • IPartnerAgentViewings
      • IPartnerAgentApiClient

Interface IPartnerAgentViewings

Represents the interface for viewing-related operations in the Partner Agent API client.

Namespace: PAccess.PartnerAgents.ApiClient.Services.Viewings
Assembly: PAccess.PartnerAgents.ApiClient.dll
Syntax
public interface IPartnerAgentViewings

Methods

View Source

AddViewingFeedbackAsync(AddViewingFeedbackRequest, CancellationToken)

Adds viewing feedback asynchronously.

Declaration
Task<AddViewingFeedbackResponse> AddViewingFeedbackAsync(AddViewingFeedbackRequest request, CancellationToken cancellationToken = default)
Parameters
Type Name Description
AddViewingFeedbackRequest request

The request object containing the details of the viewing feedback addition.

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task<AddViewingFeedbackResponse>

A task representing the asynchronous operation that returns the response of the viewing feedback addition.

View Source

CancelViewingAsync(CancelViewingRequest, CancellationToken)

Cancels a viewing asynchronously.

Declaration
Task<CancelViewingResponse> CancelViewingAsync(CancelViewingRequest request, CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancelViewingRequest request

The request object containing the details of the viewing cancellation.

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task<CancelViewingResponse>

A task representing the asynchronous operation that returns the response of the viewing cancellation.

View Source

CreateViewingAsync(CreateViewingRequest, CancellationToken)

Creates a viewing asynchronously.

Declaration
Task<CreateViewingResponse> CreateViewingAsync(CreateViewingRequest request, CancellationToken cancellationToken = default)
Parameters
Type Name Description
CreateViewingRequest request

The request object containing the details of the viewing creation.

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task<CreateViewingResponse>

A task representing the asynchronous operation that returns the response of the viewing creation.

View Source

GetPropertyViewingsAsync(int, CancellationToken)

Retrieves the viewings asynchronously.

Declaration
Task<IReadOnlyList<ViewingDetails>> GetPropertyViewingsAsync(int id, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int id

The ID of the property.

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task<IReadOnlyList<ViewingDetails>>

A task representing the asynchronous operation that returns the list of viewings.

View Source

RescheduleViewingAsync(RescheduleViewingRequest, CancellationToken)

Reschedules a viewing asynchronously.

Declaration
Task<RescheduleViewingResponse> RescheduleViewingAsync(RescheduleViewingRequest request, CancellationToken cancellationToken = default)
Parameters
Type Name Description
RescheduleViewingRequest request

The request object containing the details of the viewing rescheduling.

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task<RescheduleViewingResponse>

A task representing the asynchronous operation that returns the response of the viewing rescheduling.

  • View Source
In This Article
Back to top Generated by DocFX