GET api/Tt_Rooms_Units_Activity?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

Required

id_room_unit

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of tt_rooms_units_activity_p
NameDescriptionTypeAdditional information
id

globally unique identifier

None.

id_room

globally unique identifier

None.

name_room

string

None.

id_room_unit

globally unique identifier

None.

name_room_unit

string

None.

name_room_unit_external

string

None.

date_open

date

None.

pax

integer

None.

amt_tot

decimal number

None.

list_doc_det

Collection of tt_doc_sa_det_p

None.

id_unit_state

globally unique identifier

None.

name_unit_state

string

None.

order_room_unit

integer

None.

order_room

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "id": "0b691bca-4139-4f24-ac06-d591ae3d956a",
    "id_room": "ce27662b-b69a-4587-bda1-fca493851351",
    "name_room": "sample string 3",
    "id_room_unit": "6e3aefaf-ef98-45d9-839d-dc1de269f549",
    "name_room_unit": "sample string 5",
    "name_room_unit_external": "sample string 6",
    "date_open": "2025-12-08T21:31:59.9032322+01:00",
    "pax": 8,
    "amt_tot": 9.1,
    "list_doc_det": [
      {
        "$id": "2",
        "id_item_sub": "007ed81d-d29c-4486-af51-b47e9d76fcd2",
        "item_name": "sample string 2",
        "item_type_name": "sample string 3",
        "qty": 4.1,
        "unit_price": 5.1,
        "tax": 6.1,
        "amt_net": 7.1,
        "amt_tax": 8.1,
        "amt_dis": 9.1,
        "amt_chr": 10.1,
        "amt_tot": 11.1
      },
      {
        "$ref": "2"
      }
    ],
    "id_unit_state": "4a5fb695-df9f-4452-ba07-641bd522a8d1",
    "name_unit_state": "sample string 11",
    "order_room_unit": 12,
    "order_room": 13
  },
  {
    "$ref": "1"
  }
]