POST api/AllocateTemplateToGroup/GetTemplate

Request Information

URI Parameters

None.

Body Parameters

tblAllocateTemplateToGroup
NameDescriptionTypeAdditional information
EntryDate

date

None.

CompanyId

integer

None.

EntryUser

integer

None.

GroupId

integer

None.

Id

integer

None.

OrganizationId

integer

None.

TemplateId

integer

None.

TemplateText

string

None.

Date

date

None.

Screen_Id

integer

None.

MessageBody

string

None.

MobileNo

string

None.

Name

string

None.

ScreenName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EntryDate": "2025-10-29T13:16:55.588268+05:00",
  "CompanyId": 2,
  "EntryUser": 3,
  "GroupId": 4,
  "Id": 5,
  "OrganizationId": 6,
  "TemplateId": 7,
  "TemplateText": "sample string 8",
  "Date": "2025-10-29T13:16:55.588268+05:00",
  "Screen_Id": 10,
  "MessageBody": "sample string 11",
  "MobileNo": "sample string 12",
  "Name": "sample string 13",
  "ScreenName": "sample string 14"
}

application/xml, text/xml

Sample:
<tblAllocateTemplateToGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.SMS">
  <CompanyId>2</CompanyId>
  <Date>2025-10-29T13:16:55.588268+05:00</Date>
  <EntryDate>2025-10-29T13:16:55.588268+05:00</EntryDate>
  <EntryUser>3</EntryUser>
  <GroupId>4</GroupId>
  <Id>5</Id>
  <MessageBody>sample string 11</MessageBody>
  <MobileNo>sample string 12</MobileNo>
  <Name>sample string 13</Name>
  <OrganizationId>6</OrganizationId>
  <ScreenName>sample string 14</ScreenName>
  <Screen_Id>10</Screen_Id>
  <TemplateId>7</TemplateId>
  <TemplateText>sample string 8</TemplateText>
</tblAllocateTemplateToGroup>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.