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

Request Information

URI Parameters

NameDescriptionTypeAdditional 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
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": "da12091f-33da-45d0-b40a-3c4136fe493f",
  "pos_name": "sample string 4",
  "rooms": [
    {
      "$id": "2",
      "id_room": "0193519e-bbdf-4a7b-9b94-673fa0c1bb9c",
      "name": "sample string 2",
      "name_pos": "sample string 3",
      "order": 4,
      "rooms_units": [
        {
          "$id": "3",
          "id_room_unit": "96fe3649-df42-43e9-8b4a-9cb3a920ad72",
          "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": "6ed97e99-f080-4ad3-b4f3-f8adaaeec469",
            "id_mask": "sample string 2",
            "name": "sample string 3",
            "description": "sample string 4",
            "color": "sample string 5"
          },
          "rooms_unit_activity": {
            "$id": "5",
            "id_rua": "d4066ece-efde-4321-85c3-7befeba31ab9",
            "id_room_unit": "ca202d60-9302-4901-8668-fa56543cf9fa",
            "id_room": "0e83c5a5-06bc-451e-aa6f-f87ec4c3167e",
            "room_name_unit": "sample string 4",
            "room_name": "sample string 5",
            "pax": 1,
            "id_employee": "24921e94-f292-43d7-be47-fac3a0cf9d3c",
            "employee_name": "sample string 7",
            "client_name": "sample string 8",
            "reserve_id": "sample string 9",
            "id_status": "3bffa00a-6946-4adb-ac94-00cd6ef6d0fd",
            "status_name": "sample string 11",
            "comments": "sample string 12",
            "date_open": "2026-11-05T05:42:24.052307+01:00",
            "external_id": "sample string 14",
            "documents": [
              {
                "$id": "6",
                "id_doc_sa": "cb1630fd-72ab-46c5-8302-bce1a0bdde49",
                "id_doc": "6f98a3f6-1c78-4699-8f11-6b5d25430609",
                "doc_name": "sample string 3",
                "nro_doc": "sample string 4",
                "date_doc": "2026-11-05T05:42:24.052307+01: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"
              }
            ]
          },
          "documents_summary": [
            {
              "$id": "8",
              "id_doc_type": "ed67f60a-a127-4a27-b180-3125089b325b",
              "doc_type_name": "sample string 2",
              "quantity": 3
            },
            {
              "$ref": "8"
            }
          ]
        },
        {
          "$ref": "3"
        }
      ]
    },
    {
      "$ref": "2"
    }
  ]
}