GET api/Laboratorios?busqueda={busqueda}

Obtiene los laboratorios según el criterio de búsqueda.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
busqueda

El criterio de búsqueda (parte de nombre o del rut)

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of LaboratoriosModels
NameDescriptionTypeAdditional information
RUT

El RUT del laboratorio.

string

None.

Nombre

El nombre del laboratorio.

string

None.

Nombre2

El nombre y el rut del laboratorio.

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "RUT": "sample string 1",
    "Nombre": "sample string 2",
    "Nombre2": "sample string 3"
  },
  {
    "RUT": "sample string 1",
    "Nombre": "sample string 2",
    "Nombre2": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLaboratoriosModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_Biolabs.Models">
  <LaboratoriosModels>
    <Nombre>sample string 2</Nombre>
    <Nombre2>sample string 3</Nombre2>
    <RUT>sample string 1</RUT>
  </LaboratoriosModels>
  <LaboratoriosModels>
    <Nombre>sample string 2</Nombre>
    <Nombre2>sample string 3</Nombre2>
    <RUT>sample string 1</RUT>
  </LaboratoriosModels>
</ArrayOfLaboratoriosModels>