POST api/CrmSMSTemplates/Save

Request Information

URI Parameters

None.

Body Parameters

CrmSMSTemplates
NameDescriptionTypeAdditional information
BranchesId

integer

None.

CompanyId

integer

None.

OrganizationId

integer

None.

SMSHeaderId

integer

None.

SMSBody

string

None.

SMSFooter

string

None.

SMSHeader

string

None.

SMSTemplateName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BranchesId": 1,
  "CompanyId": 2,
  "OrganizationId": 3,
  "SMSHeaderId": 4,
  "SMSBody": "sample string 5",
  "SMSFooter": "sample string 6",
  "SMSHeader": "sample string 7",
  "SMSTemplateName": "sample string 8"
}

application/xml, text/xml

Sample:
<CrmSMSTemplates xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.CRM">
  <BranchesId>1</BranchesId>
  <CompanyId>2</CompanyId>
  <OrganizationId>3</OrganizationId>
  <SMSBody>sample string 5</SMSBody>
  <SMSFooter>sample string 6</SMSFooter>
  <SMSHeader>sample string 7</SMSHeader>
  <SMSHeaderId>4</SMSHeaderId>
  <SMSTemplateName>sample string 8</SMSTemplateName>
</CrmSMSTemplates>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.