POST api/MessageBody/Save

Request Information

URI Parameters

None.

Body Parameters

MessageBody
NameDescriptionTypeAdditional information
EntryDate

date

None.

ModifyDate

date

None.

CompanyId

integer

None.

EntryUser

integer

None.

GroupId

integer

None.

Id

integer

None.

ModifyUser

integer

None.

OrganizationId

integer

None.

SMSBody

string

None.

ScreenName

string

None.

SMSTemplateName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EntryDate": "2025-10-29T13:11:08.6457582+05:00",
  "ModifyDate": "2025-10-29T13:11:08.6457582+05:00",
  "CompanyId": 3,
  "EntryUser": 4,
  "GroupId": 5,
  "Id": 6,
  "ModifyUser": 7,
  "OrganizationId": 8,
  "SMSBody": "sample string 9",
  "ScreenName": "sample string 10",
  "SMSTemplateName": "sample string 11"
}

application/xml, text/xml

Sample:
<MessageBody xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.SMS">
  <CompanyId>3</CompanyId>
  <EntryDate>2025-10-29T13:11:08.6457582+05:00</EntryDate>
  <EntryUser>4</EntryUser>
  <GroupId>5</GroupId>
  <Id>6</Id>
  <ModifyDate>2025-10-29T13:11:08.6457582+05:00</ModifyDate>
  <ModifyUser>7</ModifyUser>
  <OrganizationId>8</OrganizationId>
  <SMSBody>sample string 9</SMSBody>
  <SMSTemplateName>sample string 11</SMSTemplateName>
  <ScreenName>sample string 10</ScreenName>
</MessageBody>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.