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": "1d6eaecb-9edb-4ff9-88bb-a569f5756fb4",
"pos_name": "sample string 4",
"rooms": [
{
"$id": "2",
"id_room": "82fb8442-67ed-4597-b243-6f701969167e",
"name": "sample string 2",
"name_pos": "sample string 3",
"order": 4,
"rooms_units": [
{
"$id": "3",
"id_room_unit": "573d23b3-cc54-4c14-ad36-525228269278",
"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": "6d14b204-8055-4f44-b9ea-dfe9d99048de",
"id_mask": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"color": "sample string 5"
},
"rooms_unit_activity": {
"$id": "5",
"id_rua": "e478443d-e707-4059-af20-94d1c347d48e",
"id_room_unit": "2aff6117-3a89-487f-99cd-995cfd1beace",
"id_room": "2b0fb987-bc5e-4cde-bcd1-60d13185435c",
"room_name_unit": "sample string 4",
"room_name": "sample string 5",
"pax": 1,
"id_employee": "489026e9-d9af-4da3-8866-9d2f90c26949",
"employee_name": "sample string 7",
"client_name": "sample string 8",
"reserve_id": "sample string 9",
"id_status": "962add6c-7d41-4eeb-a2d7-4dd9674aa8c6",
"status_name": "sample string 11",
"comments": "sample string 12",
"date_open": "2026-07-08T10:47:31.8741522+02:00",
"external_id": "sample string 14",
"documents": [
{
"$id": "6",
"id_doc_sa": "6c90ad7a-25de-410e-aa01-1bb48a1f8fce",
"id_doc": "51a73c53-2865-44de-a206-b5124b338fd6",
"doc_name": "sample string 3",
"nro_doc": "sample string 4",
"date_doc": "2026-07-08T10:47:31.8741522+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"
}
]
}