All Verbs | /service/GetAllLists |
---|
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /service/GetAllLists HTTP/1.1
Host: www.bernhardthospitality.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<GetAllLists xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mailchimp" />
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ArrayOfList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MailChimp.Net.Models"> <List> <BeamerAddress>String</BeamerAddress> <CampaignDefaults> <FromEmail>String</FromEmail> <FromName>String</FromName> <Language>String</Language> <Subject>String</Subject> </CampaignDefaults> <Contact> <Address1>String</Address1> <Address2>String</Address2> <City>String</City> <Company>String</Company> <Country>String</Country> <Phone>String</Phone> <State>String</State> <Zip>String</Zip> </Contact> <DateCreated>0001-01-01T00:00:00</DateCreated> <EmailTypeOption>false</EmailTypeOption> <Id>String</Id> <Links i:nil="true" /> <ListRating>0</ListRating> <Modules xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:anyType /> </Modules> <Name>String</Name> <NotifyOnSubscribe>String</NotifyOnSubscribe> <NotifyOnUnsubscribe>String</NotifyOnUnsubscribe> <PermissionReminder>String</PermissionReminder> <Stats> <AvgSubRate>0</AvgSubRate> <AvgUnsubRate>0</AvgUnsubRate> <CampaignCount>0</CampaignCount> <CampaignLastSent>String</CampaignLastSent> <CleanedCount>0</CleanedCount> <CleanedCountSinceSend>0</CleanedCountSinceSend> <ClickRate>0</ClickRate> <LastSubDate>String</LastSubDate> <LastUnsubDate>String</LastUnsubDate> <MemberCount>0</MemberCount> <MemberCountSinceSend>0</MemberCountSinceSend> <MergeFieldCount>0</MergeFieldCount> <OpenRate>0</OpenRate> <TargetSubRate>0</TargetSubRate> <UnsubscribeCount>0</UnsubscribeCount> <UnsubscribeCountSinceSend>0</UnsubscribeCountSinceSend> </Stats> <SubscribeUrlLong>String</SubscribeUrlLong> <SubscribeUrlShort>String</SubscribeUrlShort> <UseArchiveBar>false</UseArchiveBar> <Visibility>Public</Visibility> <WebId>0</WebId> </List> </ArrayOfList>