GET api/Content/LoadNews?_Entidade={_Entidade}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| _Entidade | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of cEntityNews| Name | Description | Type | Additional information |
|---|---|---|---|
| centidade | string |
None. |
|
| cNoticia | string |
None. |
|
| cLink | string |
None. |
|
| cImagem | string |
None. |
|
| cErro | boolean |
None. |
|
| cerrodesc | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"centidade": "sample string 1",
"cNoticia": "sample string 2",
"cLink": "sample string 3",
"cImagem": "sample string 4",
"cErro": true,
"cerrodesc": "sample string 6"
},
{
"centidade": "sample string 1",
"cNoticia": "sample string 2",
"cLink": "sample string 3",
"cImagem": "sample string 4",
"cErro": true,
"cerrodesc": "sample string 6"
}
]
application/xml, text/xml
Sample:
<ArrayOfcUsers.cEntityNews xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceGames">
<cUsers.cEntityNews>
<cErro>true</cErro>
<cImagem>sample string 4</cImagem>
<cLink>sample string 3</cLink>
<cNoticia>sample string 2</cNoticia>
<centidade>sample string 1</centidade>
<cerrodesc>sample string 6</cerrodesc>
</cUsers.cEntityNews>
<cUsers.cEntityNews>
<cErro>true</cErro>
<cImagem>sample string 4</cImagem>
<cLink>sample string 3</cLink>
<cNoticia>sample string 2</cNoticia>
<centidade>sample string 1</centidade>
<cerrodesc>sample string 6</cerrodesc>
</cUsers.cEntityNews>
</ArrayOfcUsers.cEntityNews>