POST api/SmsHistory/Save

Request Information

URI Parameters

None.

Body Parameters

SmsHistory
NameDescriptionTypeAdditional information
SendStatus

boolean

None.

EntryDate

date

None.

SmsDate

date

None.

CompanyId

integer

None.

EntryUser

integer

None.

Id

integer

None.

OrganizationId

integer

None.

ReceiverId

integer

None.

SmsSourceId

integer

None.

SupplierCustomerId

integer

None.

ToUserId

integer

None.

AutoManual

string

None.

ScreenName

string

None.

SmsBody

string

None.

SmsCellNo

string

None.

SmsSourceDoc

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SendStatus": true,
  "EntryDate": "2025-10-29T13:17:02.150573+05:00",
  "SmsDate": "2025-10-29T13:17:02.150573+05:00",
  "CompanyId": 4,
  "EntryUser": 5,
  "Id": 6,
  "OrganizationId": 7,
  "ReceiverId": 8,
  "SmsSourceId": 9,
  "SupplierCustomerId": 10,
  "ToUserId": 11,
  "AutoManual": "sample string 12",
  "ScreenName": "sample string 13",
  "SmsBody": "sample string 14",
  "SmsCellNo": "sample string 15",
  "SmsSourceDoc": "sample string 16"
}

application/xml, text/xml

Sample:
<SmsHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.SMS">
  <AutoManual>sample string 12</AutoManual>
  <CompanyId>4</CompanyId>
  <EntryDate>2025-10-29T13:17:02.150573+05:00</EntryDate>
  <EntryUser>5</EntryUser>
  <Id>6</Id>
  <OrganizationId>7</OrganizationId>
  <ReceiverId>8</ReceiverId>
  <ScreenName>sample string 13</ScreenName>
  <SendStatus>true</SendStatus>
  <SmsBody>sample string 14</SmsBody>
  <SmsCellNo>sample string 15</SmsCellNo>
  <SmsDate>2025-10-29T13:17:02.150573+05:00</SmsDate>
  <SmsSourceDoc>sample string 16</SmsSourceDoc>
  <SmsSourceId>9</SmsSourceId>
  <SupplierCustomerId>10</SupplierCustomerId>
  <ToUserId>11</ToUserId>
</SmsHistory>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.