GET api/Category?Key={Key}&Person={Person}&MaxResults={MaxResults}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Key

string

Required

Person

string

Required

MaxResults

integer

Default value is 10

Body Parameters

None.

Response Information

Resource Description

Collection of Category
NameDescriptionTypeAdditional information
Id

integer

None.

PersonGUID

string

None.

CategoryName

string

None.

VisitCount

integer

None.

LastVisit

date

None.

SiteID

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "PersonGUID": "sample string 2",
    "CategoryName": "sample string 3",
    "VisitCount": 4,
    "LastVisit": "2019-10-14T17:06:48.8070286+01:00",
    "SiteID": "sample string 6"
  },
  {
    "Id": 1,
    "PersonGUID": "sample string 2",
    "CategoryName": "sample string 3",
    "VisitCount": 4,
    "LastVisit": "2019-10-14T17:06:48.8070286+01:00",
    "SiteID": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CShopMailer.Tracking">
  <Category>
    <CategoryName>sample string 3</CategoryName>
    <Id>1</Id>
    <LastVisit>2019-10-14T17:06:48.8070286+01:00</LastVisit>
    <PersonGUID>sample string 2</PersonGUID>
    <SiteID>sample string 6</SiteID>
    <VisitCount>4</VisitCount>
  </Category>
  <Category>
    <CategoryName>sample string 3</CategoryName>
    <Id>1</Id>
    <LastVisit>2019-10-14T17:06:48.8070286+01:00</LastVisit>
    <PersonGUID>sample string 2</PersonGUID>
    <SiteID>sample string 6</SiteID>
    <VisitCount>4</VisitCount>
  </Category>
</ArrayOfCategory>