GET api/WebsiteleadsLeads?user={user}&password={password}&applicationName={applicationName}&Website={Website}&From={From}&To={To}&CompanyId={CompanyId}

Alle leads uit een gewenste periode van één website kan worden opgevraagd. Per call worden maximaal 250 Website-Leads geretourneerd. Wanneer het aantal op te vragen leads groter is, kies dan een ander, kortere tijdvak.

Request Information

URI Parameters

NaamOmschrijvingTypeExtra informatie
user

E-mailadres van Mijn DATA-collectief account.

string

Vereist

password

Wachtwoord API koppeling.

string

Vereist

applicationName

Applicatienaam API koppeling.

string

Vereist

Website

Name-veld van de Website zoals dat is geretourneerd door het WebsiteleadsWebsite request.

string

Vereist

From

Datum/tijd vanaf wanneer de Website-Leads moeten worden opgehaald. Formaat: “yyyy-MM-dd” of “yyyy-MM-dd hh:mm:ss”.

string

Vereist

To

Datum/tijd tot wanneer de Website-Leads moeten worden opgehaald. Formaat: “yyyy-MM-dd” of “yyyy-MM-dd hh:mm:ss”.

string

Vereist

CompanyId

Website-Leads van 1 lead uit een gewenste periode opvragen o.b.v. het ID van het bedrijf in het DATA-Collectief.

integer

Standaardwaarde is 0

Body Parameters

None.

Response Information

NaamOmschrijvingTypeExtra informatie
Account

DATA-collectief account

string

Geen

Website

Naam van de website zoals die bij Websiteleads bekend is.

string

Geen

Visits

Lijst met alle WebsiteLeads leads

Verzameling van Visit

Geen

Response Formats

application/json, text/json

Voorbeeld:
{
  "Account": "voorbeeld string 1",
  "Website": "voorbeeld string 2",
  "Visits": [
    {
      "Id": 1,
      "Website": "voorbeeld string 2",
      "Company": {
        "Id": 1,
        "Name": "voorbeeld string 2",
        "Street": "voorbeeld string 3",
        "StreetNumber": "voorbeeld string 4",
        "Addition": "voorbeeld string 5",
        "Zipcode": "voorbeeld string 6",
        "City": "voorbeeld string 7",
        "Telephone": "voorbeeld string 8",
        "Email": "voorbeeld string 9",
        "Url": "voorbeeld string 10",
        "CocNumber": "voorbeeld string 11",
        "BrancheId": "voorbeeld string 12",
        "NumberOfEmployeesId": "voorbeeld string 13",
        "LegalFormId": "voorbeeld string 14"
      },
      "InfoVisit": {
        "StartDate": "2024-04-04T14:19:40.305872+00:00",
        "StartTime": "voorbeeld string 2",
        "NumberOfPages": 3,
        "Duration": 4,
        "HighestRatingScore": 5
      },
      "ClickPath": [
        {
          "Id": 1,
          "Url": "voorbeeld string 2",
          "Duration": 3
        },
        {
          "Id": 1,
          "Url": "voorbeeld string 2",
          "Duration": 3
        }
      ]
    },
    {
      "Id": 1,
      "Website": "voorbeeld string 2",
      "Company": {
        "Id": 1,
        "Name": "voorbeeld string 2",
        "Street": "voorbeeld string 3",
        "StreetNumber": "voorbeeld string 4",
        "Addition": "voorbeeld string 5",
        "Zipcode": "voorbeeld string 6",
        "City": "voorbeeld string 7",
        "Telephone": "voorbeeld string 8",
        "Email": "voorbeeld string 9",
        "Url": "voorbeeld string 10",
        "CocNumber": "voorbeeld string 11",
        "BrancheId": "voorbeeld string 12",
        "NumberOfEmployeesId": "voorbeeld string 13",
        "LegalFormId": "voorbeeld string 14"
      },
      "InfoVisit": {
        "StartDate": "2024-04-04T14:19:40.305872+00:00",
        "StartTime": "voorbeeld string 2",
        "NumberOfPages": 3,
        "Duration": 4,
        "HighestRatingScore": 5
      },
      "ClickPath": [
        {
          "Id": 1,
          "Url": "voorbeeld string 2",
          "Duration": 3
        },
        {
          "Id": 1,
          "Url": "voorbeeld string 2",
          "Duration": 3
        }
      ]
    }
  ]
}

application/xml, text/xml

Voorbeeld:
<WebsiteleadsLeadsResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Account>voorbeeld string 1</Account>
  <Website>voorbeeld string 2</Website>
  <Visits>
    <Visit>
      <Id>1</Id>
      <Website>voorbeeld string 2</Website>
      <Company>
        <Id>1</Id>
        <Name>voorbeeld string 2</Name>
        <Street>voorbeeld string 3</Street>
        <StreetNumber>voorbeeld string 4</StreetNumber>
        <Addition>voorbeeld string 5</Addition>
        <Zipcode>voorbeeld string 6</Zipcode>
        <City>voorbeeld string 7</City>
        <Telephone>voorbeeld string 8</Telephone>
        <Email>voorbeeld string 9</Email>
        <Url>voorbeeld string 10</Url>
        <CocNumber>voorbeeld string 11</CocNumber>
        <BrancheId>voorbeeld string 12</BrancheId>
        <NumberOfEmployeesId>voorbeeld string 13</NumberOfEmployeesId>
        <LegalFormId>voorbeeld string 14</LegalFormId>
      </Company>
      <InfoVisit>
        <StartDate>2024-04-04T14:19:40.305872+00:00</StartDate>
        <StartTime>voorbeeld string 2</StartTime>
        <NumberOfPages>3</NumberOfPages>
        <Duration>4</Duration>
        <HighestRatingScore>5</HighestRatingScore>
      </InfoVisit>
      <ClickPath>
        <VisitClickPath>
          <Id>1</Id>
          <Url>voorbeeld string 2</Url>
          <Duration>3</Duration>
        </VisitClickPath>
        <VisitClickPath>
          <Id>1</Id>
          <Url>voorbeeld string 2</Url>
          <Duration>3</Duration>
        </VisitClickPath>
      </ClickPath>
    </Visit>
    <Visit>
      <Id>1</Id>
      <Website>voorbeeld string 2</Website>
      <Company>
        <Id>1</Id>
        <Name>voorbeeld string 2</Name>
        <Street>voorbeeld string 3</Street>
        <StreetNumber>voorbeeld string 4</StreetNumber>
        <Addition>voorbeeld string 5</Addition>
        <Zipcode>voorbeeld string 6</Zipcode>
        <City>voorbeeld string 7</City>
        <Telephone>voorbeeld string 8</Telephone>
        <Email>voorbeeld string 9</Email>
        <Url>voorbeeld string 10</Url>
        <CocNumber>voorbeeld string 11</CocNumber>
        <BrancheId>voorbeeld string 12</BrancheId>
        <NumberOfEmployeesId>voorbeeld string 13</NumberOfEmployeesId>
        <LegalFormId>voorbeeld string 14</LegalFormId>
      </Company>
      <InfoVisit>
        <StartDate>2024-04-04T14:19:40.305872+00:00</StartDate>
        <StartTime>voorbeeld string 2</StartTime>
        <NumberOfPages>3</NumberOfPages>
        <Duration>4</Duration>
        <HighestRatingScore>5</HighestRatingScore>
      </InfoVisit>
      <ClickPath>
        <VisitClickPath>
          <Id>1</Id>
          <Url>voorbeeld string 2</Url>
          <Duration>3</Duration>
        </VisitClickPath>
        <VisitClickPath>
          <Id>1</Id>
          <Url>voorbeeld string 2</Url>
          <Duration>3</Duration>
        </VisitClickPath>
      </ClickPath>
    </Visit>
  </Visits>
</WebsiteleadsLeadsResult>