GET api/Tienda/Consultar?id_empre={id_empre}&id_person={id_person}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id_empre

integer

Required

id_person

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Pedido
NameDescriptionTypeAdditional information
id_empre

integer

None.

id_pedido

integer

None.

id_bodega

integer

None.

id_user

integer

None.

id_fpago

integer

None.

id_cliente

integer

None.

tx_cliente

string

None.

tx_direccion

string

None.

tx_telefono

string

None.

fe_ing

date

None.

va_subiva

decimal number

None.

va_subiva0

decimal number

None.

va_iva

decimal number

None.

va_total

decimal number

None.

va_comi

decimal number

None.

tx_obs

string

None.

tx_estado

string

None.

isBusy

boolean

None.

bd_est

integer

None.

id_user_asignado

integer

None.

tx_ruta_pdf

string

None.

listaProductos

Collection of ClassProducto

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "id_empre": 1,
    "id_pedido": 2,
    "id_bodega": 3,
    "id_user": 4,
    "id_fpago": 5,
    "id_cliente": 6,
    "tx_cliente": "sample string 7",
    "tx_direccion": "sample string 8",
    "tx_telefono": "sample string 9",
    "fe_ing": "2025-10-26T19:00:34.9615021-05:00",
    "va_subiva": 11.0,
    "va_subiva0": 12.0,
    "va_iva": 13.0,
    "va_total": 14.0,
    "va_comi": 1.0,
    "tx_obs": "sample string 15",
    "tx_estado": "sample string 16",
    "isBusy": true,
    "bd_est": 18,
    "id_user_asignado": 1,
    "tx_ruta_pdf": "sample string 19",
    "listaProductos": [
      {
        "$id": "2",
        "id_empre": 1,
        "id_arti": 2,
        "id_tipo": 3,
        "co_etiq": "sample string 4",
        "tx_producto": "sample string 5",
        "id_subgrupo": 6,
        "tx_subgrupo": "sample string 7",
        "id_grupo": 8,
        "id_categoria": 9,
        "tx_grupo": "sample string 10",
        "tx_categoria": "sample string 11",
        "nu_stoc": 12.1,
        "va_pvp": 13.0,
        "po_iva": 14.0,
        "Cantidad": 15.0,
        "Stock": 16.0,
        "va_subIva12": 195.0,
        "va_subIva0": 0.0,
        "va_iva": 27.3,
        "Total": 222.3,
        "tx_foto_principal": "sample string 17",
        "Fotos": [
          {
            "$id": "3",
            "id_empre": 1,
            "id_arti": 2,
            "tx_foto": "sample string 3",
            "nu_orden": 4
          },
          {
            "$ref": "3"
          }
        ]
      },
      {
        "$ref": "2"
      }
    ]
  },
  {
    "$ref": "1"
  }
]