POST api/AffilateTemplate

Request Information

URI Parameters

None.

Body Parameters

AffilateTemplate
NameDescriptionTypeAdditional information
RecordNo

integer

None.

TemplateName

string

None.

EmailBody

string

None.

SMSBody

string

None.

UpdatedOn

date

None.

CreatedOn

date

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordNo": 1,
  "TemplateName": "sample string 2",
  "EmailBody": "sample string 3",
  "SMSBody": "sample string 4",
  "UpdatedOn": "2024-12-22T02:47:09.8702639+00:00",
  "CreatedOn": "2024-12-22T02:47:09.8702639+00:00",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<AffilateTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models">
  <CreatedOn>2024-12-22T02:47:09.8702639+00:00</CreatedOn>
  <EmailBody>sample string 3</EmailBody>
  <IsDeleted>true</IsDeleted>
  <RecordNo>1</RecordNo>
  <SMSBody>sample string 4</SMSBody>
  <TemplateName>sample string 2</TemplateName>
  <UpdatedOn>2024-12-22T02:47:09.8702639+00:00</UpdatedOn>
</AffilateTemplate>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.