Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ListId | query | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .soap11 suffix or ?format=soap11
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /soap11 HTTP/1.1
Host: www.bernhardthospitality.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: GetList
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mailchimp">
<ListId>String</ListId>
</GetList>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <List xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MailChimp.Net.Models"> <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:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1: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> </soap:Body> </soap:Envelope>