GET api/Mt_Rooms?pos_name={pos_name}&search_text={search_text}&id_room={id_room}&id_room_unit={id_room_unit}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pos_name | string |
Required |
|
| search_text | 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": "1f2715c4-8e9a-49e2-a9e0-52e646ca0155",
"pos_name": "sample string 4",
"rooms": [
{
"$id": "2",
"id_room": "407af615-2335-4045-96a5-5299cc56592e",
"name": "sample string 2",
"name_pos": "sample string 3",
"order": 4,
"rooms_units": [
{
"$id": "3",
"id_room_unit": "b13d642e-2c3c-42c5-b573-cca8384a1c68",
"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": "08d17d00-5f5f-4d4d-807d-09368e3cc997",
"id_mask": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"color": "sample string 5"
},
"rooms_unit_activity": {
"$id": "5",
"id_rua": "7ae16217-916b-4a1b-a617-fe5c68e87842",
"id_room_unit": "11c93794-a281-4064-90bb-491fddc63266",
"id_room": "7ab7caec-ce9d-4324-ba5b-f10b26476cdc",
"room_name_unit": "sample string 4",
"room_name": "sample string 5",
"pax": 1,
"id_employee": "492dd7f7-e535-4287-b0fd-bf46c8fa1482",
"employee_name": "sample string 7",
"client_name": "sample string 8",
"reserve_id": "sample string 9",
"id_status": "d1af18c7-cc00-4051-b3a3-8dae76a975ab",
"status_name": "sample string 11",
"comments": "sample string 12",
"date_open": "2026-09-06T06:48:29.1856085+02:00",
"external_id": "sample string 14",
"documents": [
{
"$id": "6",
"id_doc_sa": "a4c3f499-8340-4551-b8fc-784133ef826b",
"id_doc": "e86a8a95-e1f4-47fb-ac79-8af18967982a",
"doc_name": "sample string 3",
"nro_doc": "sample string 4",
"date_doc": "2026-09-06T06:48:29.1856085+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"
}
]
}