GET api/Pedido/ConsultarDetalle?id_empre={id_empre}&id_pedido={id_pedido}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id_empre

integer

Required

id_pedido

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ClassProducto
NameDescriptionTypeAdditional information
id_empre

integer

None.

id_arti

integer

None.

id_tipo

integer

None.

co_etiq

string

None.

tx_producto

string

None.

tx_obs

string

None.

id_subgrupo

integer

None.

tx_subgrupo

string

None.

id_grupo

integer

None.

id_categoria

integer

None.

tx_grupo

string

None.

tx_categoria

string

None.

nu_stoc

decimal number

None.

va_pvp

decimal number

None.

po_iva

decimal number

None.

Cantidad

decimal number

None.

CambiarPrecio

boolean

None.

Descuento

decimal number

None.

PrecioFinal

decimal number

None.

Stock

decimal number

None.

va_subIva12

decimal number

None.

va_subIva0

decimal number

None.

va_iva

decimal number

None.

Total

decimal number

None.

ValorDescuento

decimal number

None.

tx_foto_principal

string

None.

Fotos

Collection of ClassProductoFotos

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "id_empre": 1,
    "id_arti": 2,
    "id_tipo": 3,
    "co_etiq": "sample string 4",
    "tx_producto": "sample string 5",
    "tx_obs": "sample string 6",
    "id_subgrupo": 7,
    "tx_subgrupo": "sample string 8",
    "id_grupo": 9,
    "id_categoria": 10,
    "tx_grupo": "sample string 11",
    "tx_categoria": "sample string 12",
    "nu_stoc": 13.1,
    "va_pvp": 14.1,
    "po_iva": 15.0,
    "Cantidad": 16.0,
    "CambiarPrecio": true,
    "Descuento": 18.0,
    "PrecioFinal": 11.56,
    "Stock": 13.1,
    "va_subIva12": 184.96,
    "va_subIva0": 0.0,
    "va_iva": 27.74,
    "Total": 212.7,
    "ValorDescuento": 40.64,
    "tx_foto_principal": "sample string 19",
    "Fotos": [
      {
        "$id": "2",
        "id_empre": 1,
        "id_arti": 2,
        "tx_foto": "sample string 3",
        "nu_orden": 4
      },
      {
        "$ref": "2"
      }
    ]
  },
  {
    "$ref": "1"
  }
]