POST api/MessageTemplateApi

Request Information

URI Parameters

None.

Body Parameters

MessageTemplate
NameDescriptionTypeAdditional information
Id

integer

None.

LoginId

integer

None.

Name

string

None.

Message

string

None.

CreatedDate

date

None.

CreatedBy

string

None.

UpdatedDate

date

None.

UpdateBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "LoginId": 1,
  "Name": "sample string 2",
  "Message": "sample string 3",
  "CreatedDate": "2025-12-06T10:47:05.4046806+05:00",
  "CreatedBy": "sample string 4",
  "UpdatedDate": "2025-12-06T10:47:05.4046806+05:00",
  "UpdateBy": "sample string 5"
}

application/xml, text/xml

Sample:
<MessageTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMS.DataModels">
  <CreatedBy>sample string 4</CreatedBy>
  <CreatedDate>2025-12-06T10:47:05.4046806+05:00</CreatedDate>
  <Id>1</Id>
  <LoginId>1</LoginId>
  <Message>sample string 3</Message>
  <Name>sample string 2</Name>
  <UpdateBy>sample string 5</UpdateBy>
  <UpdatedDate>2025-12-06T10:47:05.4046806+05:00</UpdatedDate>
</MessageTemplate>

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>