POST api/NoticiaCategoria/Post
Request Information
URI Parameters
None.
Body Parameters
NoticiaCategoriaDtoName | Description | Type | Additional information |
---|---|---|---|
nome | string |
None. |
|
cor | CorEnum |
None. |
|
corNome | string |
None. |
|
descricao | string |
None. |
|
iconeNome | string |
None. |
|
key | integer |
None. |
|
id | integer |
None. |
|
isNew | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "nome": "sample string 1", "cor": 0, "corNome": "sample string 2", "descricao": "sample string 3", "iconeNome": "sample string 4", "key": 5, "id": 5, "isNew": true }
application/xml, text/xml
Sample:
<NoticiaCategoriaDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CidConnectada.Webapi.Models.Noticias"> <isNew xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">true</isNew> <key xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">5</key> <cor>Preto</cor> <corNome>sample string 2</corNome> <descricao>sample string 3</descricao> <iconeNome>sample string 4</iconeNome> <nome>sample string 1</nome> </NoticiaCategoriaDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.