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": "3573a752-da6c-4697-b659-74e9a52c2309",
  "branch_name": "sample string 2",
  "date_tax": "2026-01-10T12:09:13.3676434+01:00",
  "list_pos_sesion_resume": [
    {
      "$id": "2",
      "id_pos": "5a170faf-cb12-4190-91c9-b0c26f5daf68",
      "mask_pos": "sample string 2",
      "id_pos_type": "bb73434d-4aea-4442-80c2-98b19af8523c",
      "pos_type_name": "sample string 4",
      "date_tax": "2026-01-10T12:09:13.3676434+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": "d2e6a64b-d716-40a0-8b93-0737f9fac181",
          "sesion_num": "sample string 2",
          "date_tax": "2026-01-10T12:09:13.3676434+01:00",
          "date_open": "2026-01-10T12:09:13.3676434+01:00",
          "date_close": "2026-01-10T12:09:13.3676434+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": "d459345a-b136-440d-a3d3-8aefbfc964eb",
          "pos_type_name": "sample string 16",
          "status_ps": 17,
          "list_sales": [
            {
              "$id": "4",
              "id_pos_type": "9ce3957b-fdfc-4725-8d91-4fa8f126dd36",
              "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": "5921db39-90d6-4e0c-9923-371e1f506ebf",
              "id_user": "748b2349-bb0e-4829-9774-d68b2db45f54",
              "external_id": "sample string 3",
              "user_name": "sample string 4",
              "amt_card": 5.1,
              "amt_cash": 6.1,
              "date_add": "2026-01-10T12:09:13.3676434+01:00",
              "detail": [
                {
                  "$id": "8",
                  "id_user": "7c77af21-c4e8-4b84-afed-fa1aa02ec6fb",
                  "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"
    }
  ]
}