POST api/Log

Write log to database

Request Information

URI Parameters

None.

Body Parameters

BoApiRequestLog
NameDescriptionTypeAdditional information
Settings

string

None.

LoggerList

Collection of BoLogger

None.

RequestUUID

string

None.

PageUUID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Settings": "sample string 1",
  "LoggerList": [
    {
      "IpAddress": "sample string 1",
      "ResponseStatus": "sample string 2",
      "ClientId": "sample string 3",
      "Method": "sample string 4",
      "Request": "sample string 5",
      "ClassName": "sample string 6",
      "Timestamp": "sample string 7",
      "Type": "sample string 8",
      "PageUUID": "sample string 9",
      "RequestUUID": "sample string 10",
      "ExecutionTimeMs": 11
    },
    {
      "IpAddress": "sample string 1",
      "ResponseStatus": "sample string 2",
      "ClientId": "sample string 3",
      "Method": "sample string 4",
      "Request": "sample string 5",
      "ClassName": "sample string 6",
      "Timestamp": "sample string 7",
      "Type": "sample string 8",
      "PageUUID": "sample string 9",
      "RequestUUID": "sample string 10",
      "ExecutionTimeMs": 11
    }
  ],
  "RequestUUID": "sample string 2",
  "PageUUID": "sample string 3"
}

application/xml, text/xml

Sample:
<BoApiRequestLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Infosit.ContentDelivery.Service.Bo">
  <PageUUID xmlns="http://schemas.datacontract.org/2004/07/Infosit.API.Common.Bo">sample string 3</PageUUID>
  <RequestUUID xmlns="http://schemas.datacontract.org/2004/07/Infosit.API.Common.Bo">sample string 2</RequestUUID>
  <LoggerList xmlns:d2p1="http://schemas.datacontract.org/2004/07/Infosit.API.Common.Bo">
    <d2p1:BoLogger>
      <d2p1:ClassName>sample string 6</d2p1:ClassName>
      <d2p1:ClientId>sample string 3</d2p1:ClientId>
      <d2p1:ExecutionTimeMs>11</d2p1:ExecutionTimeMs>
      <d2p1:IpAddress>sample string 1</d2p1:IpAddress>
      <d2p1:Method>sample string 4</d2p1:Method>
      <d2p1:PageUUID>sample string 9</d2p1:PageUUID>
      <d2p1:Request>sample string 5</d2p1:Request>
      <d2p1:RequestUUID>sample string 10</d2p1:RequestUUID>
      <d2p1:ResponseStatus>sample string 2</d2p1:ResponseStatus>
      <d2p1:Timestamp>sample string 7</d2p1:Timestamp>
      <d2p1:Type>sample string 8</d2p1:Type>
    </d2p1:BoLogger>
    <d2p1:BoLogger>
      <d2p1:ClassName>sample string 6</d2p1:ClassName>
      <d2p1:ClientId>sample string 3</d2p1:ClientId>
      <d2p1:ExecutionTimeMs>11</d2p1:ExecutionTimeMs>
      <d2p1:IpAddress>sample string 1</d2p1:IpAddress>
      <d2p1:Method>sample string 4</d2p1:Method>
      <d2p1:PageUUID>sample string 9</d2p1:PageUUID>
      <d2p1:Request>sample string 5</d2p1:Request>
      <d2p1:RequestUUID>sample string 10</d2p1:RequestUUID>
      <d2p1:ResponseStatus>sample string 2</d2p1:ResponseStatus>
      <d2p1:Timestamp>sample string 7</d2p1:Timestamp>
      <d2p1:Type>sample string 8</d2p1:Type>
    </d2p1:BoLogger>
  </LoggerList>
  <Settings>sample string 1</Settings>
</BoApiRequestLog>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.