POST api/cliente/guardar/{nuevo}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| nuevo | boolean |
Required |
Body Parameters
Cliente| Name | Description | Type | Additional information |
|---|---|---|---|
| cliente_Id | integer |
None. |
|
| nombre | string |
None. |
|
| telefono | string |
None. |
|
| correo | string |
None. |
|
| empresa_Id | integer |
None. |
|
| empresa | string |
None. |
|
| activo | boolean |
None. |
|
| fechaRegistro | string |
None. |
|
| ultimaModificacion | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"cliente_Id": 1,
"nombre": "sample string 2",
"telefono": "sample string 3",
"correo": "sample string 4",
"empresa_Id": 5,
"empresa": "sample string 6",
"activo": true,
"fechaRegistro": "sample string 8",
"ultimaModificacion": "sample string 9"
}
text/html
Sample:
{"cliente_Id":1,"nombre":"sample string 2","telefono":"sample string 3","correo":"sample string 4","empresa_Id":5,"empresa":"sample string 6","activo":true,"fechaRegistro":"sample string 8","ultimaModificacion":"sample string 9"}
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> <correo>sample string 4</correo> <empresa>sample string 6</empresa> <empresa_Id>5</empresa_Id> <fechaRegistro>sample string 8</fechaRegistro> <nombre>sample string 2</nombre> <telefono>sample string 3</telefono> <ultimaModificacion>sample string 9</ultimaModificacion> </Cliente>
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. |