GET api/Mt_Rooms?pos_name={pos_name}&id_room={id_room}&id_room_unit={id_room_unit}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pos_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": "0f56de4d-95a5-4100-a183-abb122862b6f",
"pos_name": "sample string 4",
"rooms": [
{
"$id": "2",
"id_room": "777d0c83-9e55-487a-91a0-d942d87635c1",
"name": "sample string 2",
"name_pos": "sample string 3",
"order": 4,
"rooms_units": [
{
"$id": "3",
"id_room_unit": "d3639279-f45a-4d55-bc71-c25103177649",
"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": "70d17e92-a171-4baa-8352-3e525b03959f",
"id_mask": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"color": "sample string 5"
},
"rooms_unit_activity": {
"$id": "5",
"id_rua": "9b29ed0c-1bcb-4521-882e-7798d4250934",
"id_room_unit": "f66c9113-82c6-4aaf-9345-25796160d5eb",
"id_room": "92325364-eeff-41d6-be7a-43ff7d35ce2b",
"room_name_unit": "sample string 4",
"room_name": "sample string 5",
"pax": 1,
"id_employee": "f0c052b2-7427-4098-8730-3cccf5113077",
"employee_name": "sample string 7",
"client_name": "sample string 8",
"reserve_id": "sample string 9",
"id_status": "44085055-d86d-451b-ad04-e8885a77a368",
"status_name": "sample string 11",
"comments": "sample string 12",
"date_open": "2026-05-09T09:33:50.2540288+02:00",
"external_id": "sample string 14",
"documents": [
{
"$id": "6",
"id_doc_sa": "6586ba14-f600-4666-9d7d-4e5aa9818c29",
"id_doc": "99e08ab1-e8ed-4d00-95be-4e05e68d8d8f",
"doc_name": "sample string 3",
"nro_doc": "sample string 4",
"date_doc": "2026-05-09T09:33:50.2540288+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"
}
]
}