GET api/Tt_Pos_Sesion?doc_sa_qr={doc_sa_qr}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| doc_sa_qr | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of pos_sesion_custom| Name | Description | Type | Additional information |
|---|---|---|---|
| id_pos_sesion | globally unique identifier |
None. |
|
| sesion_num | string |
None. |
|
| date_tax | date |
None. |
|
| date_open | date |
None. |
|
| date_close | date |
None. |
|
| doc_ini | string |
None. |
|
| doc_end | string |
None. |
|
| amt_cash | decimal number |
None. |
|
| amt_card | decimal number |
None. |
|
| amt_tot | decimal number |
None. |
|
| amt_tip | decimal number |
None. |
|
| amt_tip_cash | decimal number |
None. |
|
| amt_tip_card | decimal number |
None. |
|
| id_pos_mask | string |
None. |
|
| id_pos_type | globally unique identifier |
None. |
|
| pos_type_name | string |
None. |
|
| status_ps | integer |
None. |
|
| list_sales | Collection of pos_sesion_sales |
None. |
|
| list_pays_office | Collection of pos_sesion_sale_pay |
None. |
|
| list_tips | Collection of pos_sesion_sale_tip |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"id_pos_sesion": "05fde1b8-f141-4371-bda7-7f89c0aca5a9",
"sesion_num": "sample string 2",
"date_tax": "2026-01-10T12:09:13.2583762+01:00",
"date_open": "2026-01-10T12:09:13.2583762+01:00",
"date_close": "2026-01-10T12:09:13.2583762+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": "fad367cf-9f7e-45b3-a6d6-cc5eac2fe5d6",
"pos_type_name": "sample string 16",
"status_ps": 17,
"list_sales": [
{
"$id": "2",
"id_pos_type": "c01ea08b-bcc6-4b20-bff4-7aa94d72d67a",
"pos_type_name": "sample string 2",
"list_sales_det": [
{
"$id": "3",
"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": "3"
}
]
},
{
"$ref": "2"
}
],
"list_pays_office": [
{
"$id": "4",
"doc_num": "sample string 1",
"pay_name": "sample string 2",
"aut_name": "sample string 3",
"amt_tot": 4.1
},
{
"$ref": "4"
}
],
"list_tips": [
{
"$id": "5",
"id_tip": "e3bd1fba-f29b-42d9-b3c7-fa78be54c226",
"id_user": "494828cf-fe99-426a-ac16-8e07ebf10256",
"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.2583762+01:00",
"detail": [
{
"$id": "6",
"id_user": "09c2f374-ae6a-49e3-b0cb-02cf6ed00ee2",
"external_id": "sample string 2",
"user_name": "sample string 3",
"amt_card": 4.1,
"amt_cash": 5.1,
"type_share": 6
},
{
"$ref": "6"
}
]
},
{
"$ref": "5"
}
]
},
{
"$ref": "1"
}
]