PUT api/clientes/ActualizarInfo?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
UpdateClienteDto| Name | Description | Type | Additional information |
|---|---|---|---|
| nombre | string |
Required String length: inclusive between 0 and 100 |
|
| status | string |
Required String length: inclusive between 0 and 3 |
|
| correo | string |
Required String length: inclusive between 0 and 100 |
|
| direccion1 | string |
String length: inclusive between 0 and 100 |
|
| direccion2 | string |
String length: inclusive between 0 and 100 |
|
| direccion3 | string |
String length: inclusive between 0 and 100 |
Request Formats
application/json, text/json
Sample:
{
"nombre": "sample string 1",
"status": "sample string 2",
"correo": "sample string 3",
"direccion1": "sample string 4",
"direccion2": "sample string 5",
"direccion3": "sample string 6"
}
application/xml, text/xml
Sample:
<UpdateClienteDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MagyCorpServicesApi.Dto"> <correo>sample string 3</correo> <direccion1>sample string 4</direccion1> <direccion2>sample string 5</direccion2> <direccion3>sample string 6</direccion3> <nombre>sample string 1</nombre> <status>sample string 2</status> </UpdateClienteDto>
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.