GET api/Tt_Pos_Sesion?branch_name={branch_name}&date_tax={date_tax}&id_pos_sesion={id_pos_sesion}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
branch_name

string

Required

date_tax

date

Required

id_pos_sesion

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

pos_sesion_branch
NameDescriptionTypeAdditional information
id_branch

globally unique identifier

None.

branch_name

string

None.

date_tax

date

None.

list_pos_sesion_resume

Collection of pos_sesion_resume

None.

Response Formats

application/json, text/json

Sample:
{
  "id_branch": "09f4b871-85ed-4333-9da4-fee028080d18",
  "branch_name": "sample string 2",
  "date_tax": "2026-03-10T09:43:33.1843791+01:00",
  "list_pos_sesion_resume": [
    {
      "$id": "2",
      "id_pos": "0804a6d5-91a2-40b5-a138-546d14db7118",
      "mask_pos": "sample string 2",
      "id_pos_type": "19beaf23-7c85-4ba5-8e81-9f3f8f3ac1c6",
      "pos_type_name": "sample string 4",
      "date_tax": "2026-03-10T09:43:33.19956+01:00",
      "doc_ini": "sample string 6",
      "doc_end": "sample string 7",
      "amt_cash": 8.1,
      "amt_card": 9.1,
      "amt_tot": 10.1,
      "list_pos_sesion": [
        {
          "$id": "3",
          "id_pos_sesion": "26929c44-ee6c-48fe-8b18-ff207b9c336d",
          "sesion_num": "sample string 2",
          "date_tax": "2026-03-10T09:43:33.19956+01:00",
          "date_open": "2026-03-10T09:43:33.19956+01:00",
          "date_close": "2026-03-10T09:43:33.19956+01:00",
          "doc_ini": "sample string 6",
          "doc_end": "sample string 7",
          "amt_cash": 8.1,
          "amt_card": 9.1,
          "amt_tot": 10.1,
          "amt_tip": 11.1,
          "amt_tip_cash": 12.1,
          "amt_tip_card": 13.1,
          "id_pos_mask": "sample string 14",
          "id_pos_type": "cb0e96b0-b1a5-47ad-b4f1-fa2d92e7a789",
          "pos_type_name": "sample string 16",
          "status_ps": 17,
          "list_sales": [
            {
              "$id": "4",
              "id_pos_type": "8b846920-a765-45d9-8893-eebed90efb1d",
              "pos_type_name": "sample string 2",
              "list_sales_det": [
                {
                  "$id": "5",
                  "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"
                },
                {
                  "$ref": "5"
                }
              ]
            },
            {
              "$ref": "4"
            }
          ],
          "list_pays_office": [
            {
              "$id": "6",
              "doc_num": "sample string 1",
              "pay_name": "sample string 2",
              "aut_name": "sample string 3",
              "amt_tot": 4.1
            },
            {
              "$ref": "6"
            }
          ],
          "list_tips": [
            {
              "$id": "7",
              "id_tip": "825221e0-277b-45a9-adcd-561e3d21b3b5",
              "id_user": "bc910210-c633-4f9b-8659-04b5eb9320b4",
              "external_id": "sample string 3",
              "user_name": "sample string 4",
              "amt_card": 5.1,
              "amt_cash": 6.1,
              "date_add": "2026-03-10T09:43:33.19956+01:00",
              "detail": [
                {
                  "$id": "8",
                  "id_user": "883e3d41-adce-4f95-9fd8-aff302ad8fe5",
                  "external_id": "sample string 2",
                  "user_name": "sample string 3",
                  "amt_card": 4.1,
                  "amt_cash": 5.1,
                  "type_share": 6
                },
                {
                  "$ref": "8"
                }
              ]
            },
            {
              "$ref": "7"
            }
          ]
        },
        {
          "$ref": "3"
        }
      ]
    },
    {
      "$ref": "2"
    }
  ]
}