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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
branch_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
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": "836cd9e1-798e-4c2b-98d5-efb06227cf84",
  "pos_name": "sample string 4",
  "rooms": [
    {
      "$id": "2",
      "id_room": "a049ed66-196e-4121-8fde-abab1796ed7e",
      "name": "sample string 2",
      "name_pos": "sample string 3",
      "order": 4,
      "rooms_units": [
        {
          "$id": "3",
          "id_room_unit": "ffe359e3-0ca4-4b3b-b46a-87eddd1b56ed",
          "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": "7e874d57-1917-402e-8e28-e14cc57b7683",
            "id_mask": "sample string 2",
            "name": "sample string 3",
            "description": "sample string 4",
            "color": "sample string 5"
          },
          "rooms_unit_activity": {
            "$id": "5",
            "id_rua": "e6dd0008-175b-47dd-8ec0-0ccb4696a776",
            "id_room_unit": "ee4e7a65-d331-4a51-b2ae-1a9320191269",
            "id_room": "9ef12d38-ea04-4134-8c08-472b7afee213",
            "room_name_unit": "sample string 4",
            "room_name": "sample string 5",
            "pax": 1,
            "id_employee": "57a87888-d12e-4d0a-8590-8d562b7f3f86",
            "employee_name": "sample string 7",
            "client_name": "sample string 8",
            "reserve_id": "sample string 9",
            "id_status": "0afff713-abb7-4ef4-bba4-65bd0d0be520",
            "status_name": "sample string 11",
            "comments": "sample string 12",
            "date_open": "2026-05-09T09:33:57.6382091+02:00",
            "external_id": "sample string 14",
            "documents": [
              {
                "$id": "6",
                "id_doc_sa": "bdcb8096-30eb-421c-8b14-7092e399df51",
                "id_doc": "24eadaeb-8d59-4b40-80db-3eb07ab9eb61",
                "doc_name": "sample string 3",
                "nro_doc": "sample string 4",
                "date_doc": "2026-05-09T09:33:57.6382091+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"
    }
  ]
}