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

NameDescriptionTypeAdditional 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
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": "11a5b5bc-f096-44d1-9d0f-05e964e0212d",
  "pos_name": "sample string 4",
  "rooms": [
    {
      "$id": "2",
      "id_room": "1b46bb1a-5d1c-49bd-a729-7b98a61755be",
      "name": "sample string 2",
      "name_pos": "sample string 3",
      "order": 4,
      "rooms_units": [
        {
          "$id": "3",
          "id_room_unit": "e3b387a0-50be-4376-8587-9b4ce782e294",
          "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": "81e7ab35-70bb-43b5-9937-294185158edd",
            "id_mask": "sample string 2",
            "name": "sample string 3",
            "description": "sample string 4",
            "color": "sample string 5"
          },
          "rooms_unit_activity": {
            "$id": "5",
            "id_rua": "679342ce-b785-4712-b54a-40c0cc61ccc7",
            "id_room_unit": "1e1da946-2595-448c-b311-ac527106419d",
            "id_room": "84742232-17c3-4aef-a013-3c4d28b3d39f",
            "room_name_unit": "sample string 4",
            "room_name": "sample string 5",
            "pax": 1,
            "id_employee": "599613b7-821a-4d0e-91ab-806593ab1f26",
            "employee_name": "sample string 7",
            "client_name": "sample string 8",
            "reserve_id": "sample string 9",
            "id_status": "5151744d-ee8c-428d-9184-2b092b8e8115",
            "status_name": "sample string 11",
            "comments": "sample string 12",
            "date_open": "2026-07-08T10:47:31.9707405+02:00",
            "external_id": "sample string 14",
            "documents": [
              {
                "$id": "6",
                "id_doc_sa": "db767d9c-4a2d-473a-b7ab-76ad6b3c7bc9",
                "id_doc": "9ce28e98-0782-4968-a322-d663827f01fb",
                "doc_name": "sample string 3",
                "nro_doc": "sample string 4",
                "date_doc": "2026-07-08T10:47:31.9707405+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"
    }
  ]
}