GET api/Noticias/GetAllNoticias?lang={lang}
Retorna Listado de Noticias, titulos y fechas (admite parámetros lang).
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
lang | No documentation available. |
Define this parameter in the request URI. |
Información de respuesta:
En los siguientes apartados de indican los formatos de respuesta. Para probar el servicio haga click en el boton probar api e ingrese su key en la cabecera del mensaje.
application/json, text/json
Ejemplo:
[ { "id": "sample string 1", "titulo": "sample string 2", "noticia": "sample string 3", "fecha": "sample string 4", "imagen": "sample string 5" }, { "id": "sample string 1", "titulo": "sample string 2", "noticia": "sample string 3", "fecha": "sample string 4", "imagen": "sample string 5" } ]
application/xml, text/xml
Ejemplo:
<ArrayOfNoticia xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/wtapi.Models"> <Noticia> <fecha>sample string 4</fecha> <id>sample string 1</id> <imagen>sample string 5</imagen> <noticia>sample string 3</noticia> <titulo>sample string 2</titulo> </Noticia> <Noticia> <fecha>sample string 4</fecha> <id>sample string 1</id> <imagen>sample string 5</imagen> <noticia>sample string 3</noticia> <titulo>sample string 2</titulo> </Noticia> </ArrayOfNoticia>