POST api/Visitors

This call will add visitor item to the visitors table.

Request Information

URI Parameters

None.

Body Parameters

VisitorEntity
NameDescriptionTypeAdditional information
Id

string

None.

Hostname

string

None.

Mobile

string

None.

UrlReferer

string

None.

Browser

string

None.

BrowserDetails

string

None.

VisitDate

date

None.

RawUrlPage

string

None.

NetworkIP

string

None.

Category

string

None.

Status

string

None.

Custom1

string

None.

Custom2

string

None.

Custom3

string

None.

Custom4

string

None.

Custom5

string

None.

PartitionKey

string

None.

RowKey

string

None.

Timestamp

date

None.

ETag

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Hostname": "sample string 2",
  "Mobile": "sample string 3",
  "UrlReferer": "sample string 4",
  "Browser": "sample string 5",
  "BrowserDetails": "sample string 6",
  "VisitDate": "2020-12-14T04:14:11.4741679+00:00",
  "RawUrlPage": "sample string 8",
  "NetworkIP": "sample string 9",
  "Category": "sample string 10",
  "Status": "sample string 11",
  "Custom1": "sample string 12",
  "Custom2": "sample string 13",
  "Custom3": "sample string 14",
  "Custom4": "sample string 15",
  "Custom5": "sample string 16",
  "PartitionKey": "sample string 17",
  "RowKey": "sample string 18",
  "Timestamp": "2020-12-14T04:14:11.4741679+00:00",
  "ETag": "sample string 20"
}

application/xml, text/xml

Sample:
<VisitorEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mekonecampusapi.Models">
  <ETag xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">sample string 20</ETag>
  <PartitionKey xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">sample string 17</PartitionKey>
  <RowKey xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">sample string 18</RowKey>
  <Timestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">
    <d2p1:DateTime>2020-12-14T04:14:11.4741679Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </Timestamp>
  <Browser>sample string 5</Browser>
  <BrowserDetails>sample string 6</BrowserDetails>
  <Category>sample string 10</Category>
  <Custom1>sample string 12</Custom1>
  <Custom2>sample string 13</Custom2>
  <Custom3>sample string 14</Custom3>
  <Custom4>sample string 15</Custom4>
  <Custom5>sample string 16</Custom5>
  <Hostname>sample string 2</Hostname>
  <Id>sample string 1</Id>
  <Mobile>sample string 3</Mobile>
  <NetworkIP>sample string 9</NetworkIP>
  <RawUrlPage>sample string 8</RawUrlPage>
  <Status>sample string 11</Status>
  <UrlReferer>sample string 4</UrlReferer>
  <VisitDate>2020-12-14T04:14:11.4741679+00:00</VisitDate>
</VisitorEntity>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.