GET api/Prospectos/getProspecto?id={id}&status={status}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
|
status | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ProspectoListResponseName | Description | Type | Additional information |
---|---|---|---|
content | Collection of prospectoObj |
None. |
|
status | integer |
None. |
|
message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "content": [ { "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.5568527-05:00", "UPDATE_DATE": "2024-11-28T07:23:39.5568527-05:00", "DELETE_DATE": "2024-11-28T07:23:39.5568527-05:00", "EXPIRE_DATE": "2024-11-28T07:23:39.5578524-05:00" }, { "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.5568527-05:00", "UPDATE_DATE": "2024-11-28T07:23:39.5568527-05:00", "DELETE_DATE": "2024-11-28T07:23:39.5568527-05:00", "EXPIRE_DATE": "2024-11-28T07:23:39.5578524-05:00" } ], "status": 1, "message": "sample string 2" }
application/xml, text/xml
Sample:
<ProspectoListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend.Models"> <message>sample string 2</message> <status>1</status> <content> <prospectoObj> <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.5568527-05:00</DELETE_DATE> <EXPIRE_DATE xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend">2024-11-28T07:23:39.5578524-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.5568527-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.5568527-05:00</UPDATE_DATE> </prospectoObj> <prospectoObj> <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.5568527-05:00</DELETE_DATE> <EXPIRE_DATE xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend">2024-11-28T07:23:39.5578524-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.5568527-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.5568527-05:00</UPDATE_DATE> </prospectoObj> </content> </ProspectoListResponse>