POST api/canal/guardar/{nuevo}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| nuevo | boolean |
Required |
Body Parameters
Canal| Name | Description | Type | Additional information |
|---|---|---|---|
| canal_Id | integer |
None. |
|
| nombre | string |
None. |
|
| activo | boolean |
None. |
|
| fechaRegistro | string |
None. |
|
| ultimaModificacion | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"canal_Id": 1,
"nombre": "sample string 2",
"activo": true,
"fechaRegistro": "sample string 4",
"ultimaModificacion": "sample string 5"
}
text/html
Sample:
{"canal_Id":1,"nombre":"sample string 2","activo":true,"fechaRegistro":"sample string 4","ultimaModificacion":"sample string 5"}
application/xml, text/xml
Sample:
<Canal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Business.Models"> <activo>true</activo> <canal_Id>1</canal_Id> <fechaRegistro>sample string 4</fechaRegistro> <nombre>sample string 2</nombre> <ultimaModificacion>sample string 5</ultimaModificacion> </Canal>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |