Apartment
Create or update an apartment
post/v2/apartment
Request
- Base URL: https://provider-api-sandbox.holidu.com
- URL: https://provider-api-sandbox.holidu.com/v2/apartment
- Auth: API key in header api-key
Query parameters
providerApartmentIdstring
providerstring
holiduApartmentIdinteger
Request body
Example request
{
"providerApartmentGroupId": "house-123",
"lat": 50.9293009,
"lng": 5.9779776,
"name": "Villa Munich Center",
"apartmentAddress": {
"street": "Karlstrasse 66",
"zipCode": "76133",
"city": "Munich",
"countryCode": "DE"
},
"contactDetails": {
"contactName": "John Doe",
"contactPhone": "+123(4)56789",
"contactEmail": "john@doe.com"
},
"guestCapacityRules": {
"standardCapacity": 1,
"maxBabies": 2
},
"numberOfBedrooms": 2,
"numberOfLivingrooms": 1,
"numberOfBathrooms": 2,
"sizeInSqm": 100,
"apartmentType": "VILLA",
"checkInCheckOutTimes": {
"checkIn": [
{
"checkInFrom": "12:00",
"checkInTo": "21:00"
}
],
"checkOutUntil": "14:30"
},
"sizeOfPlot": 140.5,
"buildYear": 2001,
"modernizedYear": 2007,
"license": "1231882",
"duplicateFrom": [
{
"provider": "HRS",
"duplicatedApartmentId": "123654"
}
]
}Response
Successful creation or update of an apartment
Example response
{
"providerApartmentGroupId": "house-123",
"lat": 50.9293009,
"lng": 5.9779776,
"name": "Villa Munich Center",
"apartmentAddress": {
"street": "Karlstrasse 66",
"zipCode": "76133",
"city": "Munich",
"countryCode": "DE"
},
"contactDetails": {
"contactName": "John Doe",
"contactPhone": "+123(4)56789",
"contactEmail": "john@doe.com"
},
"guestCapacityRules": {
"standardCapacity": 1,
"maxBabies": 2
},
"numberOfBedrooms": 2,
"numberOfLivingrooms": 1,
"numberOfBathrooms": 2,
"sizeInSqm": 100,
"apartmentType": "VILLA",
"checkInCheckOutTimes": {
"checkIn": [
{
"checkInFrom": "12:00",
"checkInTo": "21:00"
}
],
"checkOutUntil": "14:30"
},
"sizeOfPlot": 140.5,
"buildYear": 2001,
"modernizedYear": 2007,
"license": "1231882",
"duplicateFrom": [
{
"provider": "HRS",
"duplicatedApartmentId": "123654"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.