Skip to main content

UnitV2

No description

type UnitV2 implements Unit {
address: Address
archived: Boolean
archivedDate: Date
businessUnit: BusinessUnit
comment: String
computedRent: ReadOnlyUnitComputedRent!
createdDate: DateTime!
currentEvent: PropertyEvent
customReference: String
description: String
dimension: Dimension
documents: UnitDocuments
doorNumber: String @deprecated
epc: Epc
equipments: [Equipment!]!
events: [PropertyEvent!]!
externalId: String
foreignId: String
habitableRoomsCount: Int
heatingChargesDistributionType: HeatingHotWaterChargesDistributionType
heatingShareType: HeatingHotWaterShareType
hotWaterChargesDistributionType: HeatingHotWaterChargesDistributionType
hotWaterShareType: HeatingHotWaterShareType
id: UUID!
invariantNumber: String
isFurnished: Boolean
lastAplConventionCode: String
logicReference: Int
name: String
occupiedSince: Date
organizationId: UUID!
reference: String
rentReference: RentReference
rentReferenceV2: RentReferenceV2
reservataireCode: String
rooms: [Room!]!
rplsNumber: String
spaceNumber: String @deprecated
state: UnitState
taxRegime: TaxRegime
unitGroup: UnitGroup
unitManagementCategories: [UnitManagementCategory!]!
unitNumber: String
unitOwnership: [UnitOwnership!]!
unitSurfaces: [UnitSurface!]!
unitTemplate: UnitTemplate
updatedDate: DateTime!
usage: Usage
usageType: UsageType
}

Fields

NomTypeDescription
addressAddress object
archivedBoolean scalarWhether the unit is archived
archivedDateDate scalarThe date the unit was archived
businessUnitBusinessUnit object
commentString scalar
computedRentReadOnlyUnitComputedRent! non-null object
createdDateDateTime! non-null scalarThe creation date-time of the entity
currentEventPropertyEvent object
customReferenceString scalar
descriptionString scalar
dimensionDimension object
documentsUnitDocuments object
epcEpc object
equipments[Equipment!]! non-null object
events[PropertyEvent!]! non-null object
externalIdString scalar
foreignIdString scalar
habitableRoomsCountInt scalar
heatingChargesDistributionTypeHeatingHotWaterChargesDistributionType enum
heatingShareTypeHeatingHotWaterShareType enum
hotWaterChargesDistributionTypeHeatingHotWaterChargesDistributionType enum
hotWaterShareTypeHeatingHotWaterShareType enum
idUUID! non-null scalarUnique identifier of the entity
invariantNumberString scalarFiscal invariant number of the unit
isFurnishedBoolean scalar
lastAplConventionCodeString scalarCode of the last APL convention
logicReferenceInt scalar
nameString scalar
occupiedSinceDate scalarEarliest effective occupation start date among rental folders in active state for this unit. Only folders with state === active are considered; pending_entry and other states are excluded even if they already have a start date. Per active folder, the date is COALESCE(rentalContractValidity.validityStartDate, contractDetails.startDate): min(contract_start_date) of signed/expiring_soon contracts, falling back to contract_details.start_date (covers contract v2 when CD start_date is nil). Null when the unit has no active rental folder or no resolvable start date.
organizationIdUUID! non-null scalarUnique identifier of the entity's parent organization. Used for tenancy separation.
referenceString scalar
rentReferenceRentReference object
rentReferenceV2RentReferenceV2 object
reservataireCodeString scalarReservataire code identifying the financing entity
rooms[Room!]! non-null objectThe rooms of the unit
rplsNumberString scalarRPLS number (Répertoire du Parc Locatif Social)
stateUnitState objectThe availability of the unit
taxRegimeTaxRegime enum
unitGroupUnitGroup object
unitManagementCategories[UnitManagementCategory!]! non-null object
unitNumberString scalar
unitOwnership[UnitOwnership!]! non-null object
unitSurfaces[UnitSurface!]! non-null object
unitTemplateUnitTemplate object
updatedDateDateTime! non-null scalarThe last update date-time of the entity
usageUsage enum
usageTypeUsageType enum
UnitarchiveUnit createUnit createUnits deleteUnit unitV2 updateUnit PaginatedUnitsV2 UnitManagementCategory