POST api/PBXMLVCampaignTemplate/AddMailTemplate
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
objMailTemplate | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "Cccd": "sample string 1", "TemplateNo": 2, "ProductName": 3, "SkuName": 4, "TemplateName": "sample string 5", "MailSubject": "sample string 6", "MailBody": "sample string 7", "ImageFile1": "sample string 8", "ImageFile2": "sample string 9", "ImageFile3": "sample string 10", "ImageFile4": "sample string 11", "ImageFile5": "sample string 12", "ImageFile6": "sample string 13", "XMLVAR": "sample string 14", "Status": 15, "CreatedBy": 16, "CreatedDate": "2024-11-23T18:53:55.8495459+05:30", "LastUpdatedBy": 18, "LastUpdatedDate": "2024-11-23T18:53:55.8500473+05:30" }
text/html
Sample:
{"Cccd":"sample string 1","TemplateNo":2,"ProductName":3,"SkuName":4,"TemplateName":"sample string 5","MailSubject":"sample string 6","MailBody":"sample string 7","ImageFile1":"sample string 8","ImageFile2":"sample string 9","ImageFile3":"sample string 10","ImageFile4":"sample string 11","ImageFile5":"sample string 12","ImageFile6":"sample string 13","XMLVAR":"sample string 14","Status":15,"CreatedBy":16,"CreatedDate":"2024-11-23T18:53:55.8495459+05:30","LastUpdatedBy":18,"LastUpdatedDate":"2024-11-23T18:53:55.8500473+05:30"}
application/xml, text/xml
Sample:
<PBXMLVCampaignTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerAPI.Models"> <Cccd>sample string 1</Cccd> <CreatedBy>16</CreatedBy> <CreatedDate>2024-11-23T18:53:55.8495459+05:30</CreatedDate> <ImageFile1>sample string 8</ImageFile1> <ImageFile2>sample string 9</ImageFile2> <ImageFile3>sample string 10</ImageFile3> <ImageFile4>sample string 11</ImageFile4> <ImageFile5>sample string 12</ImageFile5> <ImageFile6>sample string 13</ImageFile6> <LastUpdatedBy>18</LastUpdatedBy> <LastUpdatedDate>2024-11-23T18:53:55.8500473+05:30</LastUpdatedDate> <MailBody>sample string 7</MailBody> <MailSubject>sample string 6</MailSubject> <ProductName>3</ProductName> <SkuName>4</SkuName> <Status>15</Status> <TemplateName>sample string 5</TemplateName> <TemplateNo>2</TemplateNo> <XMLVAR>sample string 14</XMLVAR> </PBXMLVCampaignTemplate>
application/x-www-form-urlencoded
Sample:
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{ "Status": true, "ErrorMessage": "sample string 2" }
text/html
Sample:
{"Status":true,"ErrorMessage":"sample string 2"}
application/xml, text/xml
Sample:
<StatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerAPI.Models"> <ErrorMessage>sample string 2</ErrorMessage> <Status>true</Status> </StatusResponse>