POST api/cliente/guardar
Request Information
URI Parameters
None.
Body Parameters
Cliente| Name | Description | Type | Additional information |
|---|---|---|---|
| cliente_Id | integer |
None. |
|
| nombre | string |
None. |
|
| direccion | string |
None. |
|
| tel1 | string |
None. |
|
| tel2 | string |
None. |
|
| contactoNombre | string |
None. |
|
| contactoEmail | string |
None. |
|
| activo | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"cliente_Id": 1,
"nombre": "sample string 2",
"direccion": "sample string 3",
"tel1": "sample string 4",
"tel2": "sample string 5",
"contactoNombre": "sample string 6",
"contactoEmail": "sample string 7",
"activo": true
}
text/html
Sample:
{"cliente_Id":1,"nombre":"sample string 2","direccion":"sample string 3","tel1":"sample string 4","tel2":"sample string 5","contactoNombre":"sample string 6","contactoEmail":"sample string 7","activo":true}
application/xml, text/xml
Sample:
<Cliente xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Business.Models"> <activo>true</activo> <cliente_Id>1</cliente_Id> <contactoEmail>sample string 7</contactoEmail> <contactoNombre>sample string 6</contactoNombre> <direccion>sample string 3</direccion> <nombre>sample string 2</nombre> <tel1>sample string 4</tel1> <tel2>sample string 5</tel2> </Cliente>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |