POST api/Prospectos/updateProspecto

Request Information

URI Parameters

None.

Body Parameters

prospectoObj
NameDescriptionTypeAdditional information
ProspectoID

integer

None.

RazonSocial

string

None.

NombreComercial

string

None.

TipoPersona

integer

None.

NombreTipoPersona

string

None.

TipoLinea

string

None.

NombreContacto

string

None.

Correo

string

None.

Telefono

string

None.

Status

integer

None.

NombreStatus

string

None.

Create_User

integer

None.

Create_User_Name

string

None.

LineaExtranjera

boolean

None.

NombreLineaExtranjera

string

None.

Eliminado

boolean

None.

INSERT_DATE

date

None.

UPDATE_DATE

date

None.

DELETE_DATE

date

None.

EXPIRE_DATE

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ProspectoID": 1,
  "RazonSocial": "sample string 2",
  "NombreComercial": "sample string 3",
  "TipoPersona": 4,
  "NombreTipoPersona": "sample string 5",
  "TipoLinea": "sample string 6",
  "NombreContacto": "sample string 7",
  "Correo": "sample string 8",
  "Telefono": "sample string 9",
  "Status": 10,
  "NombreStatus": "sample string 11",
  "Create_User": 12,
  "Create_User_Name": "sample string 13",
  "LineaExtranjera": true,
  "NombreLineaExtranjera": "sample string 14",
  "Eliminado": true,
  "INSERT_DATE": "2024-11-28T07:23:39.564854-05:00",
  "UPDATE_DATE": "2024-11-28T07:23:39.564854-05:00",
  "DELETE_DATE": "2024-11-28T07:23:39.564854-05:00",
  "EXPIRE_DATE": "2024-11-28T07:23:39.564854-05:00"
}

application/xml, text/xml

Sample:
<prospectoObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend.Models">
  <Correo xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend">sample string 8</Correo>
  <Create_User xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend">12</Create_User>
  <Create_User_Name xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend">sample string 13</Create_User_Name>
  <DELETE_DATE xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend">2024-11-28T07:23:39.564854-05:00</DELETE_DATE>
  <EXPIRE_DATE xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend">2024-11-28T07:23:39.564854-05:00</EXPIRE_DATE>
  <Eliminado xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend">true</Eliminado>
  <INSERT_DATE xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend">2024-11-28T07:23:39.564854-05:00</INSERT_DATE>
  <LineaExtranjera xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend">true</LineaExtranjera>
  <NombreComercial xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend">sample string 3</NombreComercial>
  <NombreContacto xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend">sample string 7</NombreContacto>
  <NombreLineaExtranjera xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend">sample string 14</NombreLineaExtranjera>
  <NombreStatus xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend">sample string 11</NombreStatus>
  <NombreTipoPersona xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend">sample string 5</NombreTipoPersona>
  <ProspectoID xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend">1</ProspectoID>
  <RazonSocial xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend">sample string 2</RazonSocial>
  <Status xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend">10</Status>
  <Telefono xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend">sample string 9</Telefono>
  <TipoLinea xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend">sample string 6</TipoLinea>
  <TipoPersona xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend">4</TipoPersona>
  <UPDATE_DATE xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend">2024-11-28T07:23:39.564854-05:00</UPDATE_DATE>
</prospectoObj>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

EmpresaIDResponse
NameDescriptionTypeAdditional information
EmpresaID

integer

None.

status

integer

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "EmpresaID": 1,
  "status": 2,
  "message": "sample string 3"
}

application/xml, text/xml

Sample:
<EmpresaIDResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend.Models">
  <message>sample string 3</message>
  <status>2</status>
  <EmpresaID>1</EmpresaID>
</EmpresaIDResponse>