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": "b76aaccf-dbb4-44f6-8a79-39d3d2a75e7e",
"pos_name": "sample string 4",
"rooms": [
{
"$id": "2",
"id_room": "3493ef35-a06b-4355-82b9-c77ef827f784",
"name": "sample string 2",
"name_pos": "sample string 3",
"order": 4,
"rooms_units": [
{
"$id": "3",
"id_room_unit": "1a084916-cfca-4c79-8d7a-9d84148d2a31",
"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": "d103cf19-b86b-49b2-9112-0477115fd344",
"id_mask": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"color": "sample string 5"
},
"rooms_unit_activity": {
"$id": "5",
"id_rua": "08774345-8e57-4835-b021-8e898b2386e9",
"id_room_unit": "9a539b84-2cb1-47d6-85db-1eb2a9ae8432",
"id_room": "73854348-cfdd-4ad3-91b9-ddfde712226f",
"room_name_unit": "sample string 4",
"room_name": "sample string 5",
"pax": 1,
"id_employee": "f2e6cbcb-330e-4ea9-9bc7-e140741f4d5a",
"employee_name": "sample string 7",
"client_name": "sample string 8",
"reserve_id": "sample string 9",
"id_status": "bc607adf-39de-4430-8a55-5769146e5353",
"status_name": "sample string 11",
"comments": "sample string 12",
"date_open": "2026-07-08T09:52:25.7460901+02:00",
"external_id": "sample string 14",
"documents": [
{
"$id": "6",
"id_doc_sa": "4e320416-af3c-4668-8385-bda488739d9d",
"id_doc": "8c2b5edf-c5f7-443f-a2df-f722658a0f8b",
"doc_name": "sample string 3",
"nro_doc": "sample string 4",
"date_doc": "2026-07-08T09:52:25.7460901+02: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"
}
]
}
},
{
"$ref": "3"
}
]
},
{
"$ref": "2"
}
]
}