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": "f558b791-e035-4e5b-a46f-a41b4f011ccb",
"pos_name": "sample string 4",
"rooms": [
{
"$id": "2",
"id_room": "7353243b-6207-4ffa-b7d8-ee488f546b0a",
"name": "sample string 2",
"name_pos": "sample string 3",
"order": 4,
"rooms_units": [
{
"$id": "3",
"id_room_unit": "f0c19c2d-7c7f-4d6e-85f1-c4e19632985e",
"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": "b56adf08-a47e-4363-86a1-4d696b030422",
"id_mask": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"color": "sample string 5"
},
"rooms_unit_activity": {
"$id": "5",
"id_rua": "cd9f1e96-27e2-4923-b5a8-5798d1f7dfae",
"id_room_unit": "aad0814c-912c-46ec-9b74-34bdba18eb4e",
"id_room": "4a060df1-477d-47bc-b44b-5572686b385a",
"room_name_unit": "sample string 4",
"room_name": "sample string 5",
"pax": 1,
"id_employee": "a7835065-7b28-4364-beb3-0f1f03bdac0e",
"employee_name": "sample string 7",
"client_name": "sample string 8",
"reserve_id": "sample string 9",
"id_status": "c1943a39-cd39-4c51-89fd-b40f177cdf58",
"status_name": "sample string 11",
"comments": "sample string 12",
"date_open": "2026-05-09T09:33:57.827405+02:00",
"external_id": "sample string 14",
"documents": [
{
"$id": "6",
"id_doc_sa": "21f0c9e3-4f6c-44f1-8388-9f41e0c2e6b5",
"id_doc": "ab926cf4-3d4c-4bff-93ce-203cac9b84a6",
"doc_name": "sample string 3",
"nro_doc": "sample string 4",
"date_doc": "2026-05-09T09:33:57.827405+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"
}
]
}