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": "2f35d470-95b1-4676-b149-4931321d490b",
  "branch_name": "sample string 2",
  "date_tax": "2026-05-09T09:40:57.389973+02:00",
  "list_pos_sesion_resume": [
    {
      "$id": "2",
      "id_pos": "8a8bec43-f431-4e6c-963b-bc8bd4133aef",
      "mask_pos": "sample string 2",
      "id_pos_type": "6d688f08-2ff0-4573-a9de-f08252a94d24",
      "pos_type_name": "sample string 4",
      "date_tax": "2026-05-09T09:40:57.389973+02: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": "b1155e73-b081-49bc-9da3-5ac61e048526",
          "sesion_num": "sample string 2",
          "date_tax": "2026-05-09T09:40:57.389973+02:00",
          "date_open": "2026-05-09T09:40:57.389973+02:00",
          "date_close": "2026-05-09T09:40:57.389973+02: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": "1819ad95-58f3-48e1-a3d2-7be8998211d2",
          "pos_type_name": "sample string 16",
          "status_ps": 17,
          "list_sales": [
            {
              "$id": "4",
              "id_pos_type": "31cc7f82-04be-4788-9a25-ec5907bebd15",
              "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": "bef41321-9469-4858-a80f-292d599152b3",
              "id_user": "9c3345da-858b-4798-bcfc-65560b487646",
              "external_id": "sample string 3",
              "user_name": "sample string 4",
              "amt_card": 5.1,
              "amt_cash": 6.1,
              "date_add": "2026-05-09T09:40:57.389973+02:00",
              "detail": [
                {
                  "$id": "8",
                  "id_user": "df9a0080-5e3f-4d29-96a7-86aa844e09f7",
                  "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"
    }
  ]
}