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": "84bd318e-467d-482d-b77b-3984c51a8847",
  "branch_name": "sample string 2",
  "date_tax": "2025-12-08T21:32:01.1787357+01:00",
  "list_pos_sesion_resume": [
    {
      "$id": "2",
      "id_pos": "c0fa958e-90d8-4306-8b62-72ae8b697dec",
      "mask_pos": "sample string 2",
      "id_pos_type": "9c62f3c5-9de9-424c-bef9-935e6a9b0435",
      "pos_type_name": "sample string 4",
      "date_tax": "2025-12-08T21:32:01.1787357+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": "e29eea29-8df8-432c-9098-a0a934803ed1",
          "sesion_num": "sample string 2",
          "date_tax": "2025-12-08T21:32:01.1787357+01:00",
          "date_open": "2025-12-08T21:32:01.1787357+01:00",
          "date_close": "2025-12-08T21:32:01.1787357+01:00",
          "doc_ini": "sample string 6",
          "doc_end": "sample string 7",
          "amt_cash": 8.1,
          "amt_card": 9.1,
          "amt_tot": 10.1,
          "id_pos_mask": "sample string 11",
          "id_pos_type": "e995a6e8-3f73-4f39-a51c-78a1ebc73fe9",
          "pos_type_name": "sample string 13",
          "status_ps": 14,
          "list_sales": [
            {
              "$id": "4",
              "id_pos_type": "e93f3ee5-a37b-4d22-829e-cbf2856aef91",
              "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": "d8acbecf-4669-45ab-a6db-ccc313489fa9",
              "id_user": "26fd97be-2e47-48ec-a0ad-6e3001edfd26",
              "external_id": "sample string 3",
              "user_name": "sample string 4",
              "amt_card": 5.1,
              "amt_cash": 6.1,
              "date_add": "2025-12-08T21:32:01.1787357+01:00",
              "detail": [
                {
                  "$id": "8",
                  "id_user": "9f6d8ea5-4758-4c52-8d08-e246a3be421e",
                  "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"
    }
  ]
}