[HTTP GET] ~/contacts/{contactId}/landingpages

Description: Get a list of a Contact's Landing Page Interactions

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contactId

Encrypted Contact Id

string

Required

Body Parameters

None

Response Information

Description

Successful Response - OK (200):

A collection of ContactLandingPageDTO

Response Content : Collection of ContactLandingPage

NameDescriptionTypeAdditional information
Id

The LandingPage's ID

integer

None.

Name

The Name of the Landing Page

string

None.

Date

The date of interaction

date

None.

Link

Was a link clicked

integer

None.

Submission

If there is a Webform on the LandingPage - was it submitted?

integer

None.


Response Codes:

  • 200 - OK
    • The specified Contact's LandingPage Interactions were retrieved and returned successfully.
  • 401 - Unauthorized
    • Request has been denied as it lacks valid Authentication credentials.
  • 403 - Forbidden
    • The user does not have the relevant permissions to perform this action.
  • 404 - NotFound
    • The specified Contact was not found.
  • 500 - InternalServerError
    • An error occurred while processing this request.

Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "Date": "2024-12-27T18:00:53.6905541+00:00",
    "Link": 1,
    "Submission": 1
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "Date": "2024-12-27T18:00:53.6905541+00:00",
    "Link": 1,
    "Submission": 1
  }
]

application/csp-report

Sample:
[{"Id":1,"Name":"sample string 2","Date":"2024-12-27T18:00:53.6905541+00:00","Link":1,"Submission":1},{"Id":1,"Name":"sample string 2","Date":"2024-12-27T18:00:53.6905541+00:00","Link":1,"Submission":1}]

application/xml, text/xml

Sample:
<ArrayOfContactLandingPage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/W50API.Models.DTO.Contacts">
  <ContactLandingPage>
    <Date xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2024-12-27T18:00:53.6905541Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </Date>
    <Id>1</Id>
    <Link>1</Link>
    <Name>sample string 2</Name>
    <Submission>1</Submission>
  </ContactLandingPage>
  <ContactLandingPage>
    <Date xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2024-12-27T18:00:53.6905541Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </Date>
    <Id>1</Id>
    <Link>1</Link>
    <Name>sample string 2</Name>
    <Submission>1</Submission>
  </ContactLandingPage>
</ArrayOfContactLandingPage>