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": "0a0ab6fa-be32-489b-9854-cf943cad784a",
  "branch_name": "sample string 2",
  "date_tax": "2026-05-09T09:40:53.9802854+02:00",
  "list_pos_sesion_resume": [
    {
      "$id": "2",
      "id_pos": "3b5668a8-452b-4983-bde3-6285103f1185",
      "mask_pos": "sample string 2",
      "id_pos_type": "5e381608-8f76-4ea8-a28f-03635ca64b4c",
      "pos_type_name": "sample string 4",
      "date_tax": "2026-05-09T09:40:53.9802854+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": "3b3ca4ed-a416-4ced-9c08-dc3ff6246d33",
          "sesion_num": "sample string 2",
          "date_tax": "2026-05-09T09:40:53.9802854+02:00",
          "date_open": "2026-05-09T09:40:53.9802854+02:00",
          "date_close": "2026-05-09T09:40:53.9802854+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": "809ad373-b7cf-4ddc-befe-68e691fd452d",
          "pos_type_name": "sample string 16",
          "status_ps": 17,
          "list_sales": [
            {
              "$id": "4",
              "id_pos_type": "5648ff02-a3dd-4512-b6b5-b29b81118868",
              "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": "850732bf-ac33-42ca-9622-9c367e98dd25",
              "id_user": "959ca6ed-be39-4379-b204-3f68bd47e9d4",
              "external_id": "sample string 3",
              "user_name": "sample string 4",
              "amt_card": 5.1,
              "amt_cash": 6.1,
              "date_add": "2026-05-09T09:40:53.9802854+02:00",
              "detail": [
                {
                  "$id": "8",
                  "id_user": "7228e9f1-e498-425d-a9c4-92974ba2f889",
                  "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"
    }
  ]
}