All Verbs | /service/GetList |
---|
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 .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/GetList HTTP/1.1
Host: www.bernhardthospitality.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<GetList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mailchimp">
<ListId>String</ListId>
</GetList>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <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>