POST api/School/LogMessage

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
request
No documentation available.

None.

value
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "SchoolId": 1,
  "MailBox": 2,
  "RecipientCount": 3,
  "SentTime": "2025-11-08T05:22:09.6105817-06:00",
  "SenderId": 5,
  "CommitteeId": 1,
  "DivisionCode": 1,
  "MessageSize": 6,
  "SmtpServer": "sample string 7",
  "SmtpUsername": "sample string 8",
  "SmtpPassword": "sample string 9",
  "MessageText": "sample string 10"
}

application/xml, text/xml

Sample:
<MessageLogDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TSV.Core.DTO">
  <CommitteeId>1</CommitteeId>
  <DivisionCode>1</DivisionCode>
  <MailBox>2</MailBox>
  <MessageSize>6</MessageSize>
  <MessageText>sample string 10</MessageText>
  <RecipientCount>3</RecipientCount>
  <SchoolId>1</SchoolId>
  <SenderId>5</SenderId>
  <SentTime>2025-11-08T05:22:09.6105817-06:00</SentTime>
  <SmtpPassword>sample string 9</SmtpPassword>
  <SmtpServer>sample string 7</SmtpServer>
  <SmtpUsername>sample string 8</SmtpUsername>
</MessageLogDTO>

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