GET api/Prospectos/getRutasPrincipalesByProspecto?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ProspectoRutasPrincipalesResponse
NameDescriptionTypeAdditional information
content

Collection of ProspectoRutasPrincipalesObj

None.

status

integer

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "content": [
    {
      "ProspectoRutasPrincipalesID": 1,
      "ProspectoID": 2,
      "Origen": "sample string 3",
      "Destino": "sample string 4",
      "Eliminado": true,
      "INSERT_DATE": "2024-11-28T07:23:39.5716517-05:00",
      "UPDATE_DATE": "2024-11-28T07:23:39.5716517-05:00",
      "DELETE_DATE": "2024-11-28T07:23:39.5716517-05:00"
    },
    {
      "ProspectoRutasPrincipalesID": 1,
      "ProspectoID": 2,
      "Origen": "sample string 3",
      "Destino": "sample string 4",
      "Eliminado": true,
      "INSERT_DATE": "2024-11-28T07:23:39.5716517-05:00",
      "UPDATE_DATE": "2024-11-28T07:23:39.5716517-05:00",
      "DELETE_DATE": "2024-11-28T07:23:39.5716517-05:00"
    }
  ],
  "status": 1,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<ProspectoRutasPrincipalesResponse 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>
    <ProspectoRutasPrincipalesObj>
      <DELETE_DATE>2024-11-28T07:23:39.5716517-05:00</DELETE_DATE>
      <Destino>sample string 4</Destino>
      <Eliminado>true</Eliminado>
      <INSERT_DATE>2024-11-28T07:23:39.5716517-05:00</INSERT_DATE>
      <Origen>sample string 3</Origen>
      <ProspectoID>2</ProspectoID>
      <ProspectoRutasPrincipalesID>1</ProspectoRutasPrincipalesID>
      <UPDATE_DATE>2024-11-28T07:23:39.5716517-05:00</UPDATE_DATE>
    </ProspectoRutasPrincipalesObj>
    <ProspectoRutasPrincipalesObj>
      <DELETE_DATE>2024-11-28T07:23:39.5716517-05:00</DELETE_DATE>
      <Destino>sample string 4</Destino>
      <Eliminado>true</Eliminado>
      <INSERT_DATE>2024-11-28T07:23:39.5716517-05:00</INSERT_DATE>
      <Origen>sample string 3</Origen>
      <ProspectoID>2</ProspectoID>
      <ProspectoRutasPrincipalesID>1</ProspectoRutasPrincipalesID>
      <UPDATE_DATE>2024-11-28T07:23:39.5716517-05:00</UPDATE_DATE>
    </ProspectoRutasPrincipalesObj>
  </content>
</ProspectoRutasPrincipalesResponse>