GET api/info/GetSessions?Key={Key}&Person={Person}&Start={Start}&MaxResults={MaxResults}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Key

string

Required

Person

string

Required

Start

integer

Default value is 1

MaxResults

integer

Default value is 10

Body Parameters

None.

Response Information

Resource Description

Collection of Session
NameDescriptionTypeAdditional information
PagesForSession

integer

None.

Email

string

None.

SiteID

string

None.

SessionID

string

None.

PersonGUID

string

None.

SessionStartTime

date

None.

SessionEndTime

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PagesForSession": 1,
    "Email": "sample string 2",
    "SiteID": "sample string 3",
    "SessionID": "sample string 4",
    "PersonGUID": "sample string 5",
    "SessionStartTime": "2019-10-14T17:05:46.6038193+01:00",
    "SessionEndTime": "2019-10-14T17:05:46.6038193+01:00"
  },
  {
    "PagesForSession": 1,
    "Email": "sample string 2",
    "SiteID": "sample string 3",
    "SessionID": "sample string 4",
    "PersonGUID": "sample string 5",
    "SessionStartTime": "2019-10-14T17:05:46.6038193+01:00",
    "SessionEndTime": "2019-10-14T17:05:46.6038193+01:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSession xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CShopMailer.Tracking">
  <Session>
    <Email>sample string 2</Email>
    <PagesForSession>1</PagesForSession>
    <PersonGUID>sample string 5</PersonGUID>
    <SessionEndTime>2019-10-14T17:05:46.6038193+01:00</SessionEndTime>
    <SessionID>sample string 4</SessionID>
    <SessionStartTime>2019-10-14T17:05:46.6038193+01:00</SessionStartTime>
    <SiteID>sample string 3</SiteID>
  </Session>
  <Session>
    <Email>sample string 2</Email>
    <PagesForSession>1</PagesForSession>
    <PersonGUID>sample string 5</PersonGUID>
    <SessionEndTime>2019-10-14T17:05:46.6038193+01:00</SessionEndTime>
    <SessionID>sample string 4</SessionID>
    <SessionStartTime>2019-10-14T17:05:46.6038193+01:00</SessionStartTime>
    <SiteID>sample string 3</SiteID>
  </Session>
</ArrayOfSession>