GET newslettercampaign/get?friendlyurl={friendlyurl}

This method will return newsletter campaign details based on friendly url.

Request Information

Parameters

NameDescriptionAdditional information
friendlyUrl
Friendly url of the campaign

Define this parameter in the request URI.

Response Information

Newsletter campaign based on friendly url passed Error 401: Unauthorized Error 403: Invalid Friendly Url Error 500: An error has occurd - contact support

Response body formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "SubjectLine": "sample string 2",
  "FromName": "sample string 3",
  "FromEmail": "sample string 4",
  "Status": 1,
  "FriendlyUrl": "sample string 5",
  "SendToAll": true,
  "RecipientsCount": 7
}

application/xml, text/xml

Sample:
<NewsletterCampaignModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webi.Api2.Models">
  <FriendlyUrl>sample string 5</FriendlyUrl>
  <FromEmail>sample string 4</FromEmail>
  <FromName>sample string 3</FromName>
  <Name>sample string 1</Name>
  <RecipientsCount>7</RecipientsCount>
  <SendToAll>true</SendToAll>
  <Status>Draft</Status>
  <SubjectLine>sample string 2</SubjectLine>
</NewsletterCampaignModel>