PUT api/Content/SaveNews
Request Information
URI Parameters
None.
Body Parameters
cEntityNews| Name | Description | Type | Additional information |
|---|---|---|---|
| centidade | string |
None. |
|
| cNoticia | string |
None. |
|
| cLink | string |
None. |
|
| cImagem | string |
None. |
|
| cErro | boolean |
None. |
|
| cerrodesc | string |
None. |
Request 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"
}
application/xml, text/xml
Sample:
<cUsers.cEntityNews xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceGames"> <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>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
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"
}
application/xml, text/xml
Sample:
<cUsers.cEntityNews xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceGames"> <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>