POST api/Log

Request Information

URI Parameters

None.

Body Parameters

LogMessage
NameDescriptionTypeAdditional information
app_name

string

None.

service_name

string

None.

module

string

None.

user

string

None.

date_created

string

None.

key

string

None.

message

string

None.

receiver

string

None.

exp_date

string

None.

Request Formats

application/json, text/json

Sample:
{
  "app_name": "sample string 1",
  "service_name": "sample string 2",
  "module": "sample string 3",
  "user": "sample string 4",
  "date_created": "sample string 5",
  "key": "sample string 6",
  "message": "sample string 7",
  "receiver": "sample string 8",
  "exp_date": "sample string 9"
}

application/xml, text/xml

Sample:
<LogMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMSService_Producer.Controllers">
  <app_name>sample string 1</app_name>
  <date_created>sample string 5</date_created>
  <exp_date>sample string 9</exp_date>
  <key>sample string 6</key>
  <message>sample string 7</message>
  <module>sample string 3</module>
  <receiver>sample string 8</receiver>
  <service_name>sample string 2</service_name>
  <user>sample string 4</user>
</LogMessage>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>