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": "f71c1a99-3170-452d-ad1e-5db9b4bf5ce3",
"pos_name": "sample string 4",
"rooms": [
{
"$id": "2",
"id_room": "95cf75f5-45df-49ab-aee4-a51ddfb0398e",
"name": "sample string 2",
"name_pos": "sample string 3",
"order": 4,
"rooms_units": [
{
"$id": "3",
"id_room_unit": "d3e15cf5-ffa6-4b0c-9001-a5b0cb74a4db",
"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,
"amt_adv": 9.1,
"amt_sal_card": 10.1,
"amt_sal_cash": 11.1,
"rooms_unit_status": {
"$id": "4",
"id_ru_status": "f30371ad-d9fa-4745-876b-0c01573098b7",
"id_mask": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"color": "sample string 5"
},
"rooms_unit_activity": {
"$id": "5",
"id_rua": "1b0c44c6-2087-4fe9-914d-9aca54b9ae9e",
"id_room_unit": "52510615-1ded-4eb7-b9ae-0697fe397de6",
"id_room": "dd18f7cf-4539-41a9-b928-b05629230902",
"room_name_unit": "sample string 4",
"room_name": "sample string 5",
"pax": 1,
"id_employee": "b421700f-ecfa-4be1-adc1-d33edd7e2187",
"employee_name": "sample string 7",
"client_name": "sample string 8",
"reserve_id": "sample string 9",
"id_status": "64aaf8fd-0e69-4005-9af7-9530c0e40b17",
"status_name": "sample string 11",
"comments": "sample string 12",
"date_open": "2026-11-05T05:47:15.8346921+01:00",
"external_id": "sample string 14",
"documents": [
{
"$id": "6",
"id_doc_sa": "35381d60-b117-4da8-8f4e-72746d651ed2",
"id_doc": "0b7a0a8e-c5e1-4b58-9d81-558d1f4ec612",
"doc_name": "sample string 3",
"nro_doc": "sample string 4",
"date_doc": "2026-11-05T05:47:15.8346921+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": "7089109e-2c42-49e6-a9b3-1c2245b4e3fa",
"doc_type_name": "sample string 2",
"quantity": 3
},
{
"$ref": "8"
}
]
},
{
"$ref": "3"
}
]
},
{
"$ref": "2"
}
]
}