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": "b14a9933-6d62-48a0-ac7b-694b52ba6040",
"pos_name": "sample string 4",
"rooms": [
{
"$id": "2",
"id_room": "cdd0505d-41a1-481a-bb71-e82c553e5109",
"name": "sample string 2",
"name_pos": "sample string 3",
"order": 4,
"rooms_units": [
{
"$id": "3",
"id_room_unit": "242c7c97-362d-4fce-9549-fe547a872965",
"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": "b25edd88-b44f-4918-8b69-080a3e21db0d",
"id_mask": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"color": "sample string 5"
},
"rooms_unit_activity": {
"$id": "5",
"id_rua": "c5d38298-4daf-44ec-aa9d-aae323492f71",
"id_room_unit": "24222f09-df96-411f-941b-43a3ce284383",
"id_room": "97774484-bdca-4a68-9c21-30f90abecd85",
"room_name_unit": "sample string 4",
"room_name": "sample string 5",
"pax": 1,
"id_employee": "d87ca1e7-8be9-40b6-a32a-f54135545618",
"employee_name": "sample string 7",
"client_name": "sample string 8",
"reserve_id": "sample string 9",
"id_status": "2626c20c-15c2-4165-b223-4b92b9a97c6e",
"status_name": "sample string 11",
"comments": "sample string 12",
"date_open": "2026-09-06T06:48:27.8618523+02:00",
"external_id": "sample string 14",
"documents": [
{
"$id": "6",
"id_doc_sa": "ce637a93-49f0-44a1-b705-ed6cfaa273cb",
"id_doc": "6085af96-b341-4371-bcc1-67c2feba71ee",
"doc_name": "sample string 3",
"nro_doc": "sample string 4",
"date_doc": "2026-09-06T06:48:27.8618523+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"
}
]
}