PUT api/v1/cliente/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

ClienteUpdateRequestDto
NameDescriptionTypeAdditional information
Nombre

string

String length: inclusive between 0 and 250

Direccion

string

String length: inclusive between 0 and 200

Distrito

string

String length: inclusive between 0 and 50

Telefono

string

String length: inclusive between 0 and 50

CodTipo

integer

None.

Industria

string

String length: inclusive between 0 and 500

Visualizar

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "nombre": "sample string 1",
  "direccion": "sample string 2",
  "distrito": "sample string 3",
  "telefono": "sample string 4",
  "codTipo": 1,
  "industria": "sample string 5",
  "visualizar": true
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ClienteUpdateRequestDto'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.