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": "2b6e23bd-9f60-40ef-b20f-2e1c8d933d08",
  "pos_name": "sample string 4",
  "rooms": [
    {
      "$id": "2",
      "id_room": "08d3550a-85da-4e2a-8e54-16fde0d4f80a",
      "name": "sample string 2",
      "name_pos": "sample string 3",
      "order": 4,
      "rooms_units": [
        {
          "$id": "3",
          "id_room_unit": "55948bd2-6f74-4c55-98b2-72974bc36a81",
          "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,
          "amt_adv": 9.1,
          "amt_sal_card": 10.1,
          "amt_sal_cash": 11.1,
          "rooms_unit_status": {
            "$id": "4",
            "id_ru_status": "39aa837d-97e3-4ce5-8e3c-06c3a44e31b2",
            "id_mask": "sample string 2",
            "name": "sample string 3",
            "description": "sample string 4",
            "color": "sample string 5"
          },
          "rooms_unit_activity": {
            "$id": "5",
            "id_rua": "4970163a-f723-4637-9ea5-3ed45532cafb",
            "id_room_unit": "d6444cc0-254e-4a20-aca0-bc84ef618a8c",
            "id_room": "aabdaccf-37ad-4f8e-98fe-f3c78c81883a",
            "room_name_unit": "sample string 4",
            "room_name": "sample string 5",
            "pax": 1,
            "id_employee": "567c8755-1117-41aa-a541-2a47c88a996a",
            "employee_name": "sample string 7",
            "client_name": "sample string 8",
            "reserve_id": "sample string 9",
            "id_status": "68d25221-ce23-4f30-a53b-6e03e21a4f1a",
            "status_name": "sample string 11",
            "comments": "sample string 12",
            "date_open": "2026-11-05T05:47:14.8859234+01:00",
            "external_id": "sample string 14",
            "documents": [
              {
                "$id": "6",
                "id_doc_sa": "71f5f479-0256-4602-855e-947e876b4d70",
                "id_doc": "718faf42-363e-413b-b95b-c58c10fe919a",
                "doc_name": "sample string 3",
                "nro_doc": "sample string 4",
                "date_doc": "2026-11-05T05:47:14.8859234+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": "f54d4c22-e9fa-47ff-bb6d-ecae2ce8f34b",
              "doc_type_name": "sample string 2",
              "quantity": 3
            },
            {
              "$ref": "8"
            }
          ]
        },
        {
          "$ref": "3"
        }
      ]
    },
    {
      "$ref": "2"
    }
  ]
}