POST Api/SystemMessages/UpdateSms

Request Information

URI Parameters

None.

Body Parameters

SimpleMessageDto
NameDescriptionTypeAdditional information
MessageId

integer

Required

Title

string

None.

Content

string

None.

Phone

string

None.

Email

string

None.

ErrorDesc

string

None.

IsSend

boolean

None.

CreationDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "messageId": 1,
  "title": "sample string 2",
  "content": "sample string 3",
  "phone": "sample string 4",
  "email": "sample string 5",
  "errorDesc": "sample string 6",
  "isSend": true,
  "creationDate": "2024-05-18T06:16:01.5813447+00:00"
}

multipart/form-data

Sample:
{"messageId":1,"title":"sample string 2","content":"sample string 3","phone":"sample string 4","email":"sample string 5","errorDesc":"sample string 6","isSend":true,"creationDate":"2024-05-18T06:16:01.5813447+00:00"}

application/xml, text/xml

Sample:
<SimpleMessageDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <MessageId>1</MessageId>
  <Title>sample string 2</Title>
  <Content>sample string 3</Content>
  <Phone>sample string 4</Phone>
  <Email>sample string 5</Email>
  <ErrorDesc>sample string 6</ErrorDesc>
  <IsSend>true</IsSend>
  <CreationDate />
</SimpleMessageDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.