EMUN1 ASP.NET

<back to all web services

UpdateMailchimpList

The following routes are available for this service:
All Verbs/service/UpdateMailchimpList
List Parameters:
NameParameterData TypeRequiredDescription
BeamerAddressformstringNo
CampaignDefaultsformCampaignDefaultsNo
ContactformContactNo
DateCreatedformDateTimeNo
EmailTypeOptionformboolNo
IdformstringNo
WebIdformintNo
LinksformIEnumerable<Link>No
ListRatingformintNo
ModulesformObject[]No
NameformstringNo
NotifyOnSubscribeformstringNo
NotifyOnUnsubscribeformstringNo
PermissionReminderformstringNo
StatsformStatsNo
SubscribeUrlLongformstringNo
SubscribeUrlShortformstringNo
UseArchiveBarformboolNo
VisibilityformVisibilityNo
CampaignDefaults Parameters:
NameParameterData TypeRequiredDescription
FromEmailformstringNo
FromNameformstringNo
LanguageformstringNo
SubjectformstringNo
Contact Parameters:
NameParameterData TypeRequiredDescription
Address1formstringNo
Address2formstringNo
CityformstringNo
CompanyformstringNo
CountryformstringNo
PhoneformstringNo
StateformstringNo
ZipformstringNo
Link Parameters:
NameParameterData TypeRequiredDescription
HrefformstringNo
MethodformMethodNo
RelformstringNo
SchemaformstringNo
TargetSchemaformstringNo
Stats Parameters:
NameParameterData TypeRequiredDescription
AvgSubRateformdoubleNo
AvgUnsubRateformdoubleNo
CampaignCountformintNo
CampaignLastSentformstringNo
CleanedCountformintNo
CleanedCountSinceSendformintNo
ClickRateformdoubleNo
LastSubDateformstringNo
LastUnsubDateformstringNo
MemberCountformintNo
MemberCountSinceSendformintNo
MergeFieldCountformintNo
OpenRateformdoubleNo
TargetSubRateformdoubleNo
UnsubscribeCountformintNo
UnsubscribeCountSinceSendformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /service/UpdateMailchimpList HTTP/1.1 
Host: www.bernhardthospitality.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	beamerAddress: String,
	campaignDefaults: 
	{
		fromEmail: String,
		fromName: String,
		language: String,
		subject: String
	},
	contact: 
	{
		address1: String,
		address2: String,
		city: String,
		company: String,
		country: String,
		phone: String,
		state: String,
		zip: String
	},
	dateCreated: 0001-01-01,
	emailTypeOption: False,
	id: String,
	webId: 0,
	listRating: 0,
	modules: 
	[
		{
			
		}
	],
	name: String,
	notifyOnSubscribe: String,
	notifyOnUnsubscribe: String,
	permissionReminder: String,
	stats: 
	{
		avgSubRate: 0,
		avgUnsubRate: 0,
		campaignCount: 0,
		campaignLastSent: String,
		cleanedCount: 0,
		cleanedCountSinceSend: 0,
		clickRate: 0,
		lastSubDate: String,
		lastUnsubDate: String,
		memberCount: 0,
		memberCountSinceSend: 0,
		mergeFieldCount: 0,
		openRate: 0,
		targetSubRate: 0,
		unsubscribeCount: 0,
		unsubscribeCountSinceSend: 0
	},
	subscribeUrlLong: String,
	subscribeUrlShort: String,
	useArchiveBar: False,
	visibility: Public
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	beamerAddress: String,
	campaignDefaults: 
	{
		fromEmail: String,
		fromName: String,
		language: String,
		subject: String
	},
	contact: 
	{
		address1: String,
		address2: String,
		city: String,
		company: String,
		country: String,
		phone: String,
		state: String,
		zip: String
	},
	dateCreated: 0001-01-01,
	emailTypeOption: False,
	id: String,
	webId: 0,
	listRating: 0,
	modules: 
	[
		{
			
		}
	],
	name: String,
	notifyOnSubscribe: String,
	notifyOnUnsubscribe: String,
	permissionReminder: String,
	stats: 
	{
		avgSubRate: 0,
		avgUnsubRate: 0,
		campaignCount: 0,
		campaignLastSent: String,
		cleanedCount: 0,
		cleanedCountSinceSend: 0,
		clickRate: 0,
		lastSubDate: String,
		lastUnsubDate: String,
		memberCount: 0,
		memberCountSinceSend: 0,
		mergeFieldCount: 0,
		openRate: 0,
		targetSubRate: 0,
		unsubscribeCount: 0,
		unsubscribeCountSinceSend: 0
	},
	subscribeUrlLong: String,
	subscribeUrlShort: String,
	useArchiveBar: False,
	visibility: Public
}