POST api/Logger/Info/Log

Request Information

URI Parameters

None.

Body Parameters

InfoMessageData
NameDescriptionTypeAdditional information
MessageDate

date

None.

ClassName

string

None.

MethodName

string

None.

MessageData

string

None.

Application

string

None.

Host

string

None.

Request Formats

application/json, text/json

Sample:
{
  "messageDate": "2025-06-12T06:08:55.1062821-07:00",
  "className": "sample string 2",
  "methodName": "sample string 3",
  "messageData": "sample string 4",
  "application": "sample string 5",
  "host": "sample string 6"
}

text/html

Sample:
{"messageDate":"2025-06-12T06:08:55.1062821-07:00","className":"sample string 2","methodName":"sample string 3","messageData":"sample string 4","application":"sample string 5","host":"sample string 6"}

application/xml, text/xml

Sample:
<InfoMessageData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Operations.Contracts">
  <MessageDate>2025-06-12T06:08:55.1062821-07:00</MessageDate>
  <ClassName>sample string 2</ClassName>
  <MethodName>sample string 3</MethodName>
  <MessageData>sample string 4</MessageData>
  <Application>sample string 5</Application>
  <Host>sample string 6</Host>
</InfoMessageData>

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 'InfoMessageData'.

Response Information

Resource Description

JsonResponseResult
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

ContentEncoding

Encoding

None.

ContentType

string

None.

Data

Object

None.

JsonRequestBehavior

JsonRequestBehavior

None.

MaxJsonLength

integer

None.

RecursionLimit

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2",
  "contentEncoding": null,
  "contentType": "sample string 3",
  "data": {},
  "jsonRequestBehavior": 0,
  "maxJsonLength": 1,
  "recursionLimit": 1
}

text/html

Sample:
{"success":true,"message":"sample string 2","contentEncoding":null,"contentType":"sample string 3","data":{},"jsonRequestBehavior":0,"maxJsonLength":1,"recursionLimit":1}

application/xml, text/xml

Sample:
<JsonResponseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WWW.CableOne.ShoppingCartUtilities">
  <ContentEncoding xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Text" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc" />
  <ContentType xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 3</ContentType>
  <Data xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc" />
  <JsonRequestBehavior xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">AllowGet</JsonRequestBehavior>
  <MaxJsonLength xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">1</MaxJsonLength>
  <RecursionLimit xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">1</RecursionLimit>
  <Message>sample string 2</Message>
  <Success>true</Success>
</JsonResponseResult>