GET api/Tt_Pos_Sesion?id_pos={id_pos}&date_tax={date_tax}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id_pos

globally unique identifier

Required

date_tax

date

Required

Body Parameters

None.

Response Information

Resource Description

Collection of pos_sesion_custom
NameDescriptionTypeAdditional information
id_pos_sesion

globally unique identifier

None.

locator_mgta

string

None.

sesion_num

string

None.

date_tax

date

None.

date_open

date

None.

date_close

date

None.

doc_ini

string

None.

doc_end

string

None.

amt_cash

decimal number

None.

amt_card

decimal number

None.

amt_tot

decimal number

None.

amt_tip

decimal number

None.

amt_tip_cash

decimal number

None.

amt_tip_card

decimal number

None.

id_pos_mask

string

None.

id_pos_type

globally unique identifier

None.

pos_type_name

string

None.

status_ps

integer

None.

list_sales

Collection of pos_sesion_sales

None.

list_pays_office

Collection of pos_sesion_sale_pay

None.

list_tips

Collection of pos_sesion_sale_tip

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "id_pos_sesion": "a6af63f1-611f-4b4c-b472-4c6ba9159a63",
    "locator_mgta": "sample string 2",
    "sesion_num": "sample string 3",
    "date_tax": "2026-07-08T06:20:22.4844587+02:00",
    "date_open": "2026-07-08T06:20:22.4844587+02:00",
    "date_close": "2026-07-08T06:20:22.4844587+02:00",
    "doc_ini": "sample string 7",
    "doc_end": "sample string 8",
    "amt_cash": 9.1,
    "amt_card": 10.1,
    "amt_tot": 11.1,
    "amt_tip": 12.1,
    "amt_tip_cash": 13.1,
    "amt_tip_card": 14.1,
    "id_pos_mask": "sample string 15",
    "id_pos_type": "604a2245-11e6-427c-b6f9-c2e995f17aff",
    "pos_type_name": "sample string 17",
    "status_ps": 18,
    "list_sales": [
      {
        "$id": "2",
        "id_pos_type": "98077185-a1ff-462a-bee0-90e37801e3b8",
        "pos_type_name": "sample string 2",
        "list_sales_det": [
          {
            "$id": "3",
            "item_name": "sample string 1",
            "item_sub_name": "sample string 2",
            "amt_tot": 3.1,
            "qty": 4.1,
            "price": 5.1,
            "pay_type_name": "sample string 6",
            "is_tkt": true
          },
          {
            "$ref": "3"
          }
        ]
      },
      {
        "$ref": "2"
      }
    ],
    "list_pays_office": [
      {
        "$id": "4",
        "doc_num": "sample string 1",
        "pay_name": "sample string 2",
        "aut_name": "sample string 3",
        "amt_tot": 4.1
      },
      {
        "$ref": "4"
      }
    ],
    "list_tips": [
      {
        "$id": "5",
        "id_tip": "b6e7231a-db4f-4fb8-b1d6-b9a5daf55e6e",
        "id_user": "37c5ea9a-915c-4028-aca3-c4a20ef0193f",
        "external_id": "sample string 3",
        "user_name": "sample string 4",
        "amt_card": 5.1,
        "amt_cash": 6.1,
        "date_add": "2026-07-08T06:20:22.4844587+02:00",
        "detail": [
          {
            "$id": "6",
            "id_user": "1f67d399-4c2b-4e04-a1ab-613302c38e34",
            "external_id": "sample string 2",
            "user_name": "sample string 3",
            "amt_card": 4.1,
            "amt_cash": 5.1,
            "type_share": 6
          },
          {
            "$ref": "6"
          }
        ]
      },
      {
        "$ref": "5"
      }
    ]
  },
  {
    "$ref": "1"
  }
]