GET api/Recoleccion/ProductoRO/{idPais}/{idCiudad}/{language}

Método que retorna el listado de Productos para un cliente filtrado por país y ciudad de origen consultando en Red Operativa. Se accede a través de una petición HTTP (GET) a api/Recoleccion/Producto/{idPais}/{idCiudad} donde {idPais} corresponde al código del país, {idCiudad} corresponde al código de Ciudad.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
idPais

Id país.

integer

Required

idCiudad

Id ciudad.

integer

Required

language

Idioma. "en" para inglés, "es" para español.

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ProductsFromService
NameDescriptionTypeAdditional information
codProductoField

Id Producto

integer

None.

nombreProductoField

Nombre del producto

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "codProductoField": 1,
    "nombreProductoField": "sample string 2"
  },
  {
    "codProductoField": 1,
    "nombreProductoField": "sample string 2"
  }
]

text/html

Sample:
[{"codProductoField":1,"nombreProductoField":"sample string 2"},{"codProductoField":1,"nombreProductoField":"sample string 2"}]

application/xml, text/xml

Sample:
<ArrayOfProductsFromService xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SchedulePickup.ApiRest.Models">
  <ProductsFromService>
    <codProductoField>1</codProductoField>
    <nombreProductoField>sample string 2</nombreProductoField>
  </ProductsFromService>
  <ProductsFromService>
    <codProductoField>1</codProductoField>
    <nombreProductoField>sample string 2</nombreProductoField>
  </ProductsFromService>
</ArrayOfProductsFromService>