POST api/LoggingSQLController/LoggingInfo

Request Information

URI Parameters

None.

Body Parameters

LogSQL
NameDescriptionTypeAdditional information
Title

string

None.

CorrelationID

string

None.

Body

string

None.

ContextJson

string

None.

BackendServerName

string

None.

LoggingType

string

None.

CurrentUser

FormUser

None.

Request Formats

application/json, text/json

Sample:
{
  "Title": "sample string 1",
  "CorrelationID": "sample string 2",
  "Body": "sample string 3",
  "ContextJson": "sample string 4",
  "BackendServerName": "sample string 5",
  "LoggingType": "sample string 6",
  "CurrentUser": {
    "Id": 1,
    "Email": "sample string 2",
    "Username": "sample string 3",
    "DisplayName": "sample string 4",
    "PictureURL": "sample string 5"
  }
}

application/xml, text/xml

Sample:
<LogSQL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Appvity.eOffice.Backend.Models">
  <BackendServerName>sample string 5</BackendServerName>
  <Body>sample string 3</Body>
  <ContextJson>sample string 4</ContextJson>
  <CorrelationID>sample string 2</CorrelationID>
  <CurrentUser>
    <DisplayName>sample string 4</DisplayName>
    <Email>sample string 2</Email>
    <Id>1</Id>
    <PictureURL>sample string 5</PictureURL>
    <Username>sample string 3</Username>
  </CurrentUser>
  <LoggingType>sample string 6</LoggingType>
  <Title>sample string 1</Title>
</LogSQL>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LogSQL'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.