Return the list of all mortgages for the authenticated context
Changed onList of mortgages for the authenticated context including the corresponding properties and related mortgages, sorted by mortgageId.
Request
- Base URLhttps://mortgage.common-api.ch
- URLhttps://mortgage.common-api.ch/mortgages
- Auth
- API key in header X-API-Key
- or OAuth 2Authorization code: https://example.com/oauth/authorizeToken URL: https://example.com/oauth/token scopes: read, write
Query parameters
Whether or not the mortgage is qualified for being prolonged, i.e., expiring soon or already expired (for filtering).
Optional parameter for pagination. An opaque string value used for pagination.
Optional parameter for pagination. Maximum number of entries to be returned.
Headers
ID of the client forwarded to the provider.
Unique ID (defined by the caller) which will be reflected back in the response.
Name and version of the of the Client software.
Response
Paginated list of all mortgages with all related information sorted by mortgageId.
Example response
{
"mortgageList": [
{
"amountAtExpiry": {
"content": "235.45",
"currency": "CHF"
},
"durationType": 5,
"interestBasis": "We need an example",
"interestRate": "1.4",
"interestRateType": "libor",
"mortgageId": "4bf92636-14a0-4511-98e2-acfde576e644",
"product": {
"interestRateType": "libor",
"names": [
{
"description": "Fixed rate mortgage",
"language": "fr"
}
],
"productId": "4bf92636-14a0-4511-98e2-acfde576e644",
"productVariations": [
{
"duration": 5,
"rate": 0.5,
"saronperiod": "3m"
}
]
},
"propertyObjects": [
{
"address": {
"country": "CH",
"postCode": "CH-2501",
"streetName": "Rue de la gare",
"townName": "Biel",
"buildingNumber": "24A"
},
"propertyObjectId": "9343dd26-4b54-4808-8978-538f8e869d0e",
"buildingRight": {
"buildingRightExpiry": "2018-04-13",
"buildingRightRent": {
"content": "235.45",
"currency": "CHF"
},
"buildingRightCompensation": {
"content": "235.45",
"currency": "CHF"
}
},
"buildingStandardBathroom": "basic",
"buildingStandardFloorCoverings": "basic",
"buildingStandardKitchen": "basic",
"ceilingHight": "middle",
"classOfProperty": "main_residence",
"collateralValue": {
"content": "235.45",
"currency": "CHF"
},
"estimation": {
"estimationId": "asd23f",
"estimationSourceType": "iazi",
"marketValue": {
"content": "235.45",
"currency": "CHF"
},
"statisticalPriceRangeMax": {
"content": "235.45",
"currency": "CHF"
},
"statisticalPriceRangeMin": {
"content": "235.45",
"currency": "CHF"
},
"yearlyRentalIncome": {
"content": "235.45",
"currency": "CHF"
},
"estimationDate": "2018-04-13"
},
"floorPlan": "average",
"heatEmission": [
"floor"
],
"heatProduction": [
"gas"
],
"investmentCost": {
"content": "235.45",
"currency": "CHF"
},
"limitForLandEncumbrances": {
"content": "235.45",
"currency": "CHF"
},
"matrimonialPropertyScheme": "separateEstate",
"name": "My Nice Property",
"objectPrice": {
"content": "235.45",
"currency": "CHF"
},
"propertyBuildingInformation": {
"livingSpace": {
"livingSpaceInSqm": 120,
"measurementStandard": "nla"
},
"volumeIncludingGarageInhouse": 1500,
"volumeIncludingAllGarages": 1620,
"landArea": 2000,
"environmentStandard": "basic",
"otherFeatures": [
"outdoor_pool"
],
"houseType": "detached_house",
"normType": "building_insurance"
},
"propertyConstructionInformation": {
"constructionYear": 1990,
"renovationYear": 1990,
"propertyRenovations": [
{
"refurbishmentComponentType": "interior_fittings_floor_cover",
"yearOfRenovation": 2015,
"renovationCost": {
"content": "235.45",
"currency": "CHF"
}
}
],
"minergieStandardType": "minergie-p",
"BECCStandardType": "B",
"luxusFlag": "0",
"constructionQualityType": "good",
"stateBuildingType": "good"
},
"propertyElements": {
"numberOfRooms": 4.5,
"numberOfRoomsInGrannyFlat": 2.5,
"roomCountType": "kitchen_full_room",
"numberOfFamilyBathrooms": 2,
"numberOfBathWC": 2,
"numberOfGuestWC": 2,
"numberOfExternalParking": 2,
"numberOfSeparateGarages": 2,
"numberOfExternalSeparateGarages": 2,
"numberOfAttachedGarages": 2,
"numberOfUndergroundCarParks": 2
},
"propertyFlatInformation": {
"numberOfFlats": 10,
"numberOfFloors": 4,
"stateApartmentType": "good",
"floor": 2,
"balconyOrTerraceArea": 20,
"livingSpace": {
"livingSpaceInSqm": 120,
"measurementStandard": "nla"
},
"otherFeatures": [
"coowned_outdoor_pool"
],
"quote": 120,
"apartmentType": "floor_flat",
"buildingType": "multiple_family_house",
"locationInTheBuildingRating": "good"
},
"propertyIdentifier": {
"EGID": "191092250",
"EGRID": "CH480928387782",
"EWID": "42"
},
"propertyLinks": [
{
"url": "https://example.com/property.png",
"description": "The image shows the aerial view of the property",
"name": "Property image"
}
],
"propertyType": "single_family_house",
"publicNotarization": "2018-04-13",
"remarks": "We need an example for such a remark",
"renovationAmount": {
"content": "235.45",
"currency": "CHF"
},
"transferOfOwnershipDate": "2018-04-13",
"usageType": "self"
}
],
"validFrom": "2018-04-13",
"validTo": "2018-04-13",
"amountToday": {
"content": "235.45",
"currency": "CHF"
},
"offerDate": "2018-04-05"
}
]
}Changes
- warning
added the new
2or3_family_houseenum value to the////response property for the response status - warning
added the new
agricultural_farmenum value to the////response property for the response status - warning
added the new
building_plot_otherenum value to the////response property for the response status - warning
added the new
commercial_condominiumenum value to the////response property for the response status - warning
added the new
condominiumenum value to the////response property for the response status - warning
added the new
industrial_buildingenum value to the////response property for the response status - warning
added the new
letenum value to the////response property for the response status - warning
added the new
mixed_propertyenum value to the////response property for the response status - warning
added the new
multi_family_houseenum value to the////response property for the response status - warning
added the new
office_buildingenum value to the////response property for the response status - warning
added the new
residential_building_plotenum value to the////response property for the response status - warning
added the new
selfenum value to the////response property for the response status - warning
added the new
single_family_houseenum value to the////response property for the response status - warning
added the new
special_objectenum value to the////response property for the response status - warning
added the new
vacation_condominiumenum value to the////response property for the response status - warning
added the new
vacation_houseenum value to the////response property for the response status - info
removed the
2or3_family_houseenum value from the////response property for the response status - info
removed the
agricultural_farmenum value from the////response property for the response status - info
removed the
building_plot_otherenum value from the////response property for the response status - info
removed the
commercial_condominiumenum value from the////response property for the response status - info
removed the
condominiumenum value from the////response property for the response status - info
removed the
industrial_buildingenum value from the////response property for the response status - info
removed the
letenum value from the////response property for the response status - info
removed the
mixed_propertyenum value from the////response property for the response status - info
removed the
multi_family_houseenum value from the////response property for the response status - info
removed the
office_buildingenum value from the////response property for the response status - info
removed the
residential_building_plotenum value from the////response property for the response status - info
removed the
selfenum value from the////response property for the response status - info
removed the
single_family_houseenum value from the////response property for the response status - info
removed the
special_objectenum value from the////response property for the response status - info
removed the
vacation_condominiumenum value from the////response property for the response status - info
removed the
vacation_houseenum value from the////response property for the response status
- warning
- warning
added the new
2or3_family_houseenum value to the////response property for the response status - warning
added the new
agricultural_farmenum value to the////response property for the response status - warning
added the new
building_plot_otherenum value to the////response property for the response status - warning
added the new
commercial_condominiumenum value to the////response property for the response status - warning
added the new
condominiumenum value to the////response property for the response status - warning
added the new
industrial_buildingenum value to the////response property for the response status - warning
added the new
letenum value to the////response property for the response status - warning
added the new
mixed_propertyenum value to the////response property for the response status - warning
added the new
multi_family_houseenum value to the////response property for the response status - warning
added the new
office_buildingenum value to the////response property for the response status - warning
added the new
residential_building_plotenum value to the////response property for the response status - warning
added the new
selfenum value to the////response property for the response status - warning
added the new
single_family_houseenum value to the////response property for the response status - warning
added the new
special_objectenum value to the////response property for the response status - warning
added the new
vacation_condominiumenum value to the////response property for the response status - warning
added the new
vacation_houseenum value to the////response property for the response status - info
removed the
2or3_family_houseenum value from the////response property for the response status - info
removed the
agricultural_farmenum value from the////response property for the response status - info
removed the
building_plot_otherenum value from the////response property for the response status - info
removed the
commercial_condominiumenum value from the////response property for the response status - info
removed the
condominiumenum value from the////response property for the response status - info
removed the
industrial_buildingenum value from the////response property for the response status - info
removed the
letenum value from the////response property for the response status - info
removed the
mixed_propertyenum value from the////response property for the response status - info
removed the
multi_family_houseenum value from the////response property for the response status - info
removed the
office_buildingenum value from the////response property for the response status - info
removed the
residential_building_plotenum value from the////response property for the response status - info
removed the
selfenum value from the////response property for the response status - info
removed the
single_family_houseenum value from the////response property for the response status - info
removed the
special_objectenum value from the////response property for the response status - info
removed the
vacation_condominiumenum value from the////response property for the response status - info
removed the
vacation_houseenum value from the////response property for the response status
- warning