EMUN1 ASP.NET

<back to all web services

AddListMember

Requires Authentication
The following routes are available for this service:
All Verbs/service/AddListMember
Member Parameters:
NameParameterData TypeRequiredDescription
EmailAddressformstringNo
EmailClientformstringNo
EmailTypeformstringNo
IdformstringNo
InterestsformDictionary<string, bool>No
IpOptformstringNo
IpSignupformstringNo
LanguageformstringNo
LastChangedformstringNo
LinksformIEnumerable<Link>No
ListIdformstringNo
LocationformLocationNo
MemberRatingformintNo
MergeFieldsformDictionary<string, Object>No
LastNoteformMemberLastNoteNo
StatsformMemberStatsNo
StatusformStatusNo
StatusIfNewformStatusNo
UnsubscribeReasonformstringNo
TimestampOptformstringNo
TimestampSignupformstringNo
UniqueEmailIdformstringNo
VipformboolNo
Link Parameters:
NameParameterData TypeRequiredDescription
HrefformstringNo
MethodformMethodNo
RelformstringNo
SchemaformstringNo
TargetSchemaformstringNo
Location Parameters:
NameParameterData TypeRequiredDescription
CountryCodeformstringNo
DstoffformintNo
GmtoffformintNo
LatitudeformdecimalNo
LongitudeformdecimalNo
TimezoneformstringNo
MemberLastNote Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
BodyformstringNo
CreatedAtformDateTime?No
CreatedByformstringNo
MemberStats Parameters:
NameParameterData TypeRequiredDescription
AverageOpenRateformdoubleNo
AverageClickRateformdoubleNo

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

HTTP + CSV

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

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

{"emailAddress":"String","emailClient":"String","emailType":"String","id":"String","interests":{"String":false},"ipOpt":"String","ipSignup":"String","language":"String","lastChanged":"String","listId":"String","location":{"countryCode":"String","dstoff":0,"gmtoff":0,"latitude":0,"longitude":0,"timezone":"String"},"memberRating":0,"mergeFields":{"String":{}},"lastNote":{"id":0,"body":"String","createdAt":"0001-01-01T00:00:00.0000000Z","createdBy":"String"},"stats":{"averageOpenRate":0,"averageClickRate":0},"status":"Subscribed","statusIfNew":"Subscribed","unsubscribeReason":"String","timestampOpt":"String","timestampSignup":"String","uniqueEmailId":"String","vip":false}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"emailAddress":"String","emailClient":"String","emailType":"String","id":"String","interests":{"String":false},"ipOpt":"String","ipSignup":"String","language":"String","lastChanged":"String","listId":"String","location":{"countryCode":"String","dstoff":0,"gmtoff":0,"latitude":0,"longitude":0,"timezone":"String"},"memberRating":0,"mergeFields":{"String":{}},"lastNote":{"id":0,"body":"String","createdAt":"0001-01-01T00:00:00.0000000Z","createdBy":"String"},"stats":{"averageOpenRate":0,"averageClickRate":0},"status":"Subscribed","statusIfNew":"Subscribed","unsubscribeReason":"String","timestampOpt":"String","timestampSignup":"String","uniqueEmailId":"String","vip":false}