POST api/Logs

This call will add log items to the logs table

Request Information

URI Parameters

None.

Body Parameters

LogEntity
NameDescriptionTypeAdditional information
Id

string

None.

Message

string

None.

ActivityPage

string

None.

UrlReferer

string

None.

Browser

string

None.

NetworkIP

string

None.

LogDate

date

None.

Category

string

None.

Author

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",
  "Message": "sample string 2",
  "ActivityPage": "sample string 3",
  "UrlReferer": "sample string 4",
  "Browser": "sample string 5",
  "NetworkIP": "sample string 6",
  "LogDate": "2020-12-12T07:30:13.1756712+00:00",
  "Category": "sample string 8",
  "Author": "sample string 9",
  "Status": "sample string 10",
  "Custom1": "sample string 11",
  "Custom2": "sample string 12",
  "Custom3": "sample string 13",
  "Custom4": "sample string 14",
  "Custom5": "sample string 15",
  "PartitionKey": "sample string 16",
  "RowKey": "sample string 17",
  "Timestamp": "2020-12-12T07:30:13.1756712+00:00",
  "ETag": "sample string 19"
}

application/xml, text/xml

Sample:
<LogEntity 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 19</ETag>
  <PartitionKey xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">sample string 16</PartitionKey>
  <RowKey xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">sample string 17</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-12T07:30:13.1756712Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </Timestamp>
  <ActivityPage>sample string 3</ActivityPage>
  <Author>sample string 9</Author>
  <Browser>sample string 5</Browser>
  <Category>sample string 8</Category>
  <Custom1>sample string 11</Custom1>
  <Custom2>sample string 12</Custom2>
  <Custom3>sample string 13</Custom3>
  <Custom4>sample string 14</Custom4>
  <Custom5>sample string 15</Custom5>
  <Id>sample string 1</Id>
  <LogDate>2020-12-12T07:30:13.1756712+00:00</LogDate>
  <Message>sample string 2</Message>
  <NetworkIP>sample string 6</NetworkIP>
  <Status>sample string 10</Status>
  <UrlReferer>sample string 4</UrlReferer>
</LogEntity>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

LogEntity
NameDescriptionTypeAdditional information
Id

string

None.

Message

string

None.

ActivityPage

string

None.

UrlReferer

string

None.

Browser

string

None.

NetworkIP

string

None.

LogDate

date

None.

Category

string

None.

Author

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.

Response Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Message": "sample string 2",
  "ActivityPage": "sample string 3",
  "UrlReferer": "sample string 4",
  "Browser": "sample string 5",
  "NetworkIP": "sample string 6",
  "LogDate": "2020-12-12T07:30:13.3163267+00:00",
  "Category": "sample string 8",
  "Author": "sample string 9",
  "Status": "sample string 10",
  "Custom1": "sample string 11",
  "Custom2": "sample string 12",
  "Custom3": "sample string 13",
  "Custom4": "sample string 14",
  "Custom5": "sample string 15",
  "PartitionKey": "sample string 16",
  "RowKey": "sample string 17",
  "Timestamp": "2020-12-12T07:30:13.3163267+00:00",
  "ETag": "sample string 19"
}

application/xml, text/xml

Sample:
<LogEntity 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 19</ETag>
  <PartitionKey xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">sample string 16</PartitionKey>
  <RowKey xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">sample string 17</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-12T07:30:13.3163267Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </Timestamp>
  <ActivityPage>sample string 3</ActivityPage>
  <Author>sample string 9</Author>
  <Browser>sample string 5</Browser>
  <Category>sample string 8</Category>
  <Custom1>sample string 11</Custom1>
  <Custom2>sample string 12</Custom2>
  <Custom3>sample string 13</Custom3>
  <Custom4>sample string 14</Custom4>
  <Custom5>sample string 15</Custom5>
  <Id>sample string 1</Id>
  <LogDate>2020-12-12T07:30:13.3163267+00:00</LogDate>
  <Message>sample string 2</Message>
  <NetworkIP>sample string 6</NetworkIP>
  <Status>sample string 10</Status>
  <UrlReferer>sample string 4</UrlReferer>
</LogEntity>