PATCH api/v1/potencial/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

PotencialUpdateRequestDto
NameDescriptionTypeAdditional information
Nombre

string

String length: inclusive between 0 and 250

CodCliente

integer

None.

CodContacto

integer

None.

CodCampana

integer

None.

CodProbabilidad

decimal number

Range: inclusive between 0 and 100

CodEstado

integer

None.

CodAsignado

integer

None.

CodEspecialidad

integer

None.

Monto

decimal number

Range: inclusive between 0 and 1.79769313486232E+308

Informacion

string

String length: inclusive between 0 and 8000

Fuente

string

String length: inclusive between 0 and 250

FechaCierre

date

None.

Visualizar

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "nombre": "sample string 1",
  "codCliente": 1,
  "codContacto": 1,
  "codCampana": 1,
  "codProbabilidad": 1.0,
  "codEstado": 1,
  "codAsignado": 1,
  "codEspecialidad": 1,
  "monto": 1.0,
  "informacion": "sample string 2",
  "fuente": "sample string 3",
  "fechaCierre": "2026-03-28T04:35:15.5508246-05:00",
  "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 'PotencialUpdateRequestDto'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.