GET api/Product/GetProductDateRange?cardNumber={cardNumber}&productId={productId}&cardType={cardType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cardNumber

string

Required

productId

integer

Required

cardType

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ProductRequest
NameDescriptionTypeAdditional information
iCodProducto

integer

None.

tiTipoProducto

byte

None.

vchDescripcion

string

None.

iNumBoletos

integer

None.

iNumDias

integer

None.

dtFechaIni

date

None.

dtFechaFin

date

None.

dPrecio

decimal number

None.

StartDate

date

None.

EndDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "iCodProducto": 1,
    "tiTipoProducto": 64,
    "vchDescripcion": "sample string 3",
    "iNumBoletos": 4,
    "iNumDias": 5,
    "dtFechaIni": "2024-11-19T07:59:48.2404522+00:00",
    "dtFechaFin": "2024-11-19T07:59:48.2404522+00:00",
    "dPrecio": 8.0,
    "StartDate": "2024-11-19T07:59:48.2404522+00:00",
    "EndDate": "2024-11-19T07:59:48.2404522+00:00"
  },
  {
    "iCodProducto": 1,
    "tiTipoProducto": 64,
    "vchDescripcion": "sample string 3",
    "iNumBoletos": 4,
    "iNumDias": 5,
    "dtFechaIni": "2024-11-19T07:59:48.2404522+00:00",
    "dtFechaFin": "2024-11-19T07:59:48.2404522+00:00",
    "dPrecio": 8.0,
    "StartDate": "2024-11-19T07:59:48.2404522+00:00",
    "EndDate": "2024-11-19T07:59:48.2404522+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfProductController.ProductRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerAPI.Controllers">
  <ProductController.ProductRequest>
    <EndDate>2024-11-19T07:59:48.2404522+00:00</EndDate>
    <StartDate>2024-11-19T07:59:48.2404522+00:00</StartDate>
    <dPrecio>8</dPrecio>
    <dtFechaFin>2024-11-19T07:59:48.2404522+00:00</dtFechaFin>
    <dtFechaIni>2024-11-19T07:59:48.2404522+00:00</dtFechaIni>
    <iCodProducto>1</iCodProducto>
    <iNumBoletos>4</iNumBoletos>
    <iNumDias>5</iNumDias>
    <tiTipoProducto>64</tiTipoProducto>
    <vchDescripcion>sample string 3</vchDescripcion>
  </ProductController.ProductRequest>
  <ProductController.ProductRequest>
    <EndDate>2024-11-19T07:59:48.2404522+00:00</EndDate>
    <StartDate>2024-11-19T07:59:48.2404522+00:00</StartDate>
    <dPrecio>8</dPrecio>
    <dtFechaFin>2024-11-19T07:59:48.2404522+00:00</dtFechaFin>
    <dtFechaIni>2024-11-19T07:59:48.2404522+00:00</dtFechaIni>
    <iCodProducto>1</iCodProducto>
    <iNumBoletos>4</iNumBoletos>
    <iNumDias>5</iNumDias>
    <tiTipoProducto>64</tiTipoProducto>
    <vchDescripcion>sample string 3</vchDescripcion>
  </ProductController.ProductRequest>
</ArrayOfProductController.ProductRequest>