GET api/Mt_Rooms?branch_name={branch_name}&id_room={id_room}&id_room_unit={id_room_unit}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| branch_name | string |
Required |
|
| id_room | globally unique identifier |
None. |
|
| id_room_unit | globally unique identifier |
None. |
Body Parameters
None.
Response Information
Resource Description
rooms_data_cmd| Name | Description | Type | Additional information |
|---|---|---|---|
| result | string |
None. |
|
| message | string |
None. |
|
| id_pos | globally unique identifier |
None. |
|
| pos_name | string |
None. |
|
| rooms | Collection of _rooms |
None. |
Response Formats
application/json, text/json
Sample:
{
"result": "sample string 1",
"message": "sample string 2",
"id_pos": "217e7d26-f090-4a71-8e4b-b28fe181e1b5",
"pos_name": "sample string 4",
"rooms": [
{
"$id": "2",
"id_room": "9460e7e9-5b1c-4db9-afcb-4cd88c06e5da",
"name": "sample string 2",
"name_pos": "sample string 3",
"order": 4,
"rooms_units": [
{
"$id": "3",
"id_room_unit": "dc0131b5-7e94-4ad7-93e2-2c33731ce639",
"name": "sample string 2",
"external_id": "sample string 3",
"pax": 4,
"order": 5,
"view_in_map": true,
"amt_sal": 7.1,
"amt_inv": 8.1,
"rooms_unit_status": {
"$id": "4",
"id_ru_status": "9de8210f-4ba3-400f-8608-de28ee87e4f0",
"id_mask": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"color": "sample string 5"
},
"rooms_unit_activity": {
"$id": "5",
"id_rua": "b659c07f-877a-48f0-913b-e8cb4f926e59",
"id_room_unit": "5f80f1ab-21ba-4ba9-967f-3b6ba50da86d",
"id_room": "9d9ae249-190d-4d4d-9e6f-064687cf34a9",
"room_name_unit": "sample string 4",
"room_name": "sample string 5",
"pax": 1,
"id_employee": "688ebde0-ebd0-471a-b551-1498e69b0a36",
"employee_name": "sample string 7",
"client_name": "sample string 8",
"reserve_id": "sample string 9",
"id_status": "53a06fde-1e07-4eaa-86fa-4df271d821d6",
"status_name": "sample string 11",
"comments": "sample string 12",
"date_open": "2026-11-05T05:42:25.0388533+01:00",
"external_id": "sample string 14",
"documents": [
{
"$id": "6",
"id_doc_sa": "287680ec-f16e-49f7-bfd4-1d42cced1000",
"id_doc": "84c4ce17-2b13-424d-b6fb-1fc8e5123c61",
"doc_name": "sample string 3",
"nro_doc": "sample string 4",
"date_doc": "2026-11-05T05:42:25.0388533+01:00",
"comment": "sample string 5",
"amt_tot": 6.1,
"details": [
{
"$id": "7",
"id_line": 1,
"qty": 2.1,
"unit_price": 3.1,
"amt_tot": 4.1,
"item_name": "sample string 5",
"item_name_pos": "sample string 6",
"item_type_name": "sample string 7",
"comment": "sample string 8"
},
{
"$ref": "7"
}
]
},
{
"$ref": "6"
}
]
},
"documents_summary": [
{
"$id": "8",
"id_doc_type": "6c931cb7-6c54-4051-bf77-0de5982fbd63",
"doc_type_name": "sample string 2",
"quantity": 3
},
{
"$ref": "8"
}
]
},
{
"$ref": "3"
}
]
},
{
"$ref": "2"
}
]
}