GET api/Mt_Rooms?branch_name={branch_name}&search_text={search_text}&id_room={id_room}&id_room_unit={id_room_unit}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
branch_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
NameDescriptionTypeAdditional 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": "c228e095-b412-48bd-8ee4-4c88d840893b",
  "pos_name": "sample string 4",
  "rooms": [
    {
      "$id": "2",
      "id_room": "1d7b606f-f839-4a51-8814-beab6c5afae4",
      "name": "sample string 2",
      "name_pos": "sample string 3",
      "order": 4,
      "rooms_units": [
        {
          "$id": "3",
          "id_room_unit": "4286bdd0-1419-48ac-a5cd-ea6913456efc",
          "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": "51f49321-d7bc-4504-84f4-47c5571d80f1",
            "id_mask": "sample string 2",
            "name": "sample string 3",
            "description": "sample string 4",
            "color": "sample string 5"
          },
          "rooms_unit_activity": {
            "$id": "5",
            "id_rua": "5b1dfe29-9811-4438-bc54-0b642040881d",
            "id_room_unit": "405f3c5e-cd1f-4f02-a799-572f7585a535",
            "id_room": "24922ba1-6795-4ed8-aceb-bfec06d32f02",
            "room_name_unit": "sample string 4",
            "room_name": "sample string 5",
            "pax": 1,
            "id_employee": "b519154d-3f7e-461e-a712-0467e13ac4f5",
            "employee_name": "sample string 7",
            "client_name": "sample string 8",
            "reserve_id": "sample string 9",
            "id_status": "9f6e4e31-f4be-469f-9524-b01ca37eb59e",
            "status_name": "sample string 11",
            "comments": "sample string 12",
            "date_open": "2026-09-06T06:48:29.4878271+02:00",
            "external_id": "sample string 14",
            "documents": [
              {
                "$id": "6",
                "id_doc_sa": "21f3f1e8-eaf1-48c5-9c14-eb89f1dbc613",
                "id_doc": "9ff0735d-8386-47e3-9f20-7d1ca41ac6a1",
                "doc_name": "sample string 3",
                "nro_doc": "sample string 4",
                "date_doc": "2026-09-06T06:48:29.4878271+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"
    }
  ]
}