Room content Run in API Explorer
Ask AI
Fetch all the room content for given propertyId(s).
POST
/v1/room/content
curl \
--request POST 'https://partner.momorooms.com/v1/room/content' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"propertyIds":[42]}'
Request examples
{
"propertyIds": [
42
]
}
Response examples (200)
{
"properties": [
{
"propertyId": 42,
"giata": 42,
"rooms": [
{
"roomId": 42,
"roomCode": "string",
"details": {
"roomName": "string",
"roomType": "string",
"noOfBedRooms": 42,
"roomAttributes": {
"style": [
"string"
],
"view": [
"string"
],
"feature": [
"string"
]
}
},
"bedTypeInfo": [
{
"noOfBeds": 42,
"bedType": "string",
"conjunction": "string"
}
],
"dormInfo": {
"noOfBeds": 42,
"dormCapacity": 42,
"bedType": "string",
"conjunction": "string"
},
"description": "string",
"amenities": [
"string"
],
"images": [
"string"
]
}
]
}
]
}
Response examples (400)
{
"errors": [
{
"errorCode": 42,
"errorDescription": "string"
}
]
}
Response examples (500)
{
"errors": [
{
"errorCode": 42,
"errorDescription": "string"
}
]
}