Property content Run in API Explorer
Ask AI
Fetch all the property content for given propertyId(s).
POST
/v1/property/content
curl \
--request POST 'https://partner.momorooms.com/v1/property/content' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"propertyIds":[42]}'
Request examples
{
"propertyIds": [
42
]
}
Response examples (200)
{
"properties": [
{
"id": 42,
"giata": "string",
"name": {
"en": "string",
"de": "string"
},
"accommodation_type": "string",
"chain": {
"name": "string",
"code": "string"
},
"contact": {
"phone": "string",
"email": "string"
},
"location": {
"coordinates": {
"latitude": 42.0,
"longitude": 42.0
},
"country_iso_code": "string",
"region": {
"en": "string",
"de": "string"
},
"city": {
"en": "string",
"de": "string"
},
"address": "string",
"postal_code": "string"
},
"stars": 42,
"checkin_checkout": {
"checkin_time": {
"from": "string",
"to": "string"
},
"checkout_time": {
"from": "string",
"to": "string"
}
},
"dsa": {
"registration_number": "string",
"email": "string",
"name": "string",
"phone": "string",
"trade_register": "string",
"license_numbers": [
"string"
],
"address": {
"street": "string",
"postalCode": "string",
"city": "string",
"country": "string"
}
},
"descriptions": {
"en": [
{
"title": "string",
"description": "string"
}
],
"de": [
{
"title": "string",
"description": "string"
}
]
},
"images": [
{
"url": "string",
"position": 42.0
}
],
"services": {
"en": [
{
"type": "string",
"description": "string",
"cost": true
}
],
"de": [
{
"type": "string",
"description": "string",
"cost": true
}
]
}
}
]
}
Response examples (400)
{
"errors": [
{
"errorCode": 42,
"errorDescription": "string"
}
]
}
Response examples (500)
{
"errors": [
{
"errorCode": 42,
"errorDescription": "string"
}
]
}