LendingRequest
A request for an employee of another park to take over an unassigned tour.
type LendingRequest {
acceptedOffer: LendingOffer
cancelMessage: String
cancelReason: LendingCancelReason
cancelledAt: DateTime
cancelledBy: User
createdAt: DateTime!
createdBy: User
date: Date!
editable: Boolean!
id: LendingRequestID!
message: String
offers: [LendingOffer!]!
requestingPark: ResidentialPark!
status: LendingRequestStatus!
tour: TargetTour!
}
Fields
LendingRequest.acceptedOffer ● LendingOffer object
The accepted offer, filtered like the offers
LendingRequest.cancelMessage ● String scalar
Optional message the requesting park wrote when it cancelled the request, at most 200 characters
LendingRequest.cancelReason ● LendingCancelReason enum
Why the request was cancelled. Null unless the status is cancelled.
LendingRequest.cancelledAt ● DateTime scalar
When the request was cancelled
LendingRequest.cancelledBy ● User object
The user that cancelled the request. Null if it was cancelled by the system (the tour changed, the date passed, the add-on was switched off).
LendingRequest.createdAt ● DateTime! non-null scalar
When the request was started
LendingRequest.createdBy ● User object
The user that started the request. Null if that user no longer exists.
LendingRequest.date ● Date! non-null scalar
The date of the tour
LendingRequest.editable ● Boolean! non-null scalar
Shows if the request can still be changed, i.e. its date is not in the past
LendingRequest.id ● LendingRequestID! non-null scalar
The unique identifier
LendingRequest.message ● String scalar
Optional message of the requesting park
LendingRequest.offers ● [LendingOffer!]! non-null object
The offers, oldest first. Without access to the requesting park, only those of readable parks.
LendingRequest.requestingPark ● ResidentialPark! non-null object
The park that started the request
LendingRequest.status ● LendingRequestStatus! non-null enum
The status of the request
LendingRequest.tour ● TargetTour! non-null object
The requested tour
Member Of
AcceptLendingOfferPayload object ● CancelLendingRequestPayload object ● CreateLendingRequestPayload object ● ExternalLendingRequest object ● MyLendingRequestsSection object ● ResidentialPark object ● TargetTour object