CreateList
[Deprecated: Please use CreateContactList.]
SOAP 1.1 Request
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /v31/IntegrationService.asmx HTTP/1.1 Host: webservices.listrak.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://webservices.listrak.com/v31/CreateList" <?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:Header> <WSUser xmlns="http://webservices.listrak.com/v31/"> <UserName>string</UserName> <Password>string</Password> </WSUser> </soap:Header> <soap:Body> <CreateList xmlns="http://webservices.listrak.com/v31/"> <WSList> <ListID>int</ListID> <ListName>string</ListName> <CreateDate>dateTime</CreateDate> <FromName>string</FromName> <FromEmail>string</FromEmail> <EnableRemovalLink>boolean</EnableRemovalLink> <EnableBrowserLink>boolean</EnableBrowserLink> <bounceHandling>int</bounceHandling> <EnableDoubleOptin>boolean</EnableDoubleOptin> <EnableListHygiene>boolean</EnableListHygiene> <Vmta> <VmtaID>int</VmtaID> <Description>string</Description> </Vmta> <ShowEmailList>boolean</ShowEmailList> <ShowAdvancedPersonalization>boolean</ShowAdvancedPersonalization> <BounceUnsubscribeCount>int</BounceUnsubscribeCount> <DomainAliasLink>string</DomainAliasLink> <DomainAliasEmail>string</DomainAliasEmail> </WSList> <WSException> <SoapMethod>string</SoapMethod> <DateTime>dateTime</DateTime> <Description>string</Description> </WSException> </CreateList> </soap:Body> </soap:Envelope>
SOAP 1.1 Response
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 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> <CreateListResponse xmlns="http://webservices.listrak.com/v31/"> <CreateListResult>boolean</CreateListResult> <WSList> <ListID>int</ListID> <ListName>string</ListName> <CreateDate>dateTime</CreateDate> <FromName>string</FromName> <FromEmail>string</FromEmail> <EnableRemovalLink>boolean</EnableRemovalLink> <EnableBrowserLink>boolean</EnableBrowserLink> <bounceHandling>int</bounceHandling> <EnableDoubleOptin>boolean</EnableDoubleOptin> <EnableListHygiene>boolean</EnableListHygiene> <Vmta> <VmtaID>int</VmtaID> <Description>string</Description> </Vmta> <ShowEmailList>boolean</ShowEmailList> <ShowAdvancedPersonalization>boolean</ShowAdvancedPersonalization> <BounceUnsubscribeCount>int</BounceUnsubscribeCount> <DomainAliasLink>string</DomainAliasLink> <DomainAliasEmail>string</DomainAliasEmail> </WSList> <WSException> <SoapMethod>string</SoapMethod> <DateTime>dateTime</DateTime> <Description>string</Description> </WSException> </CreateListResponse> </soap:Body> </soap:Envelope>
SOAP 1.2 Request
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /v31/IntegrationService.asmx HTTP/1.1 Host: webservices.listrak.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Header> <WSUser xmlns="http://webservices.listrak.com/v31/"> <UserName>string</UserName> <Password>string</Password> </WSUser> </soap12:Header> <soap12:Body> <CreateList xmlns="http://webservices.listrak.com/v31/"> <WSList> <ListID>int</ListID> <ListName>string</ListName> <CreateDate>dateTime</CreateDate> <FromName>string</FromName> <FromEmail>string</FromEmail> <EnableRemovalLink>boolean</EnableRemovalLink> <EnableBrowserLink>boolean</EnableBrowserLink> <bounceHandling>int</bounceHandling> <EnableDoubleOptin>boolean</EnableDoubleOptin> <EnableListHygiene>boolean</EnableListHygiene> <Vmta> <VmtaID>int</VmtaID> <Description>string</Description> </Vmta> <ShowEmailList>boolean</ShowEmailList> <ShowAdvancedPersonalization>boolean</ShowAdvancedPersonalization> <BounceUnsubscribeCount>int</BounceUnsubscribeCount> <DomainAliasLink>string</DomainAliasLink> <DomainAliasEmail>string</DomainAliasEmail> </WSList> <WSException> <SoapMethod>string</SoapMethod> <DateTime>dateTime</DateTime> <Description>string</Description> </WSException> </CreateList> </soap12:Body> </soap12:Envelope>
SOAP 1.2 Response
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <CreateListResponse xmlns="http://webservices.listrak.com/v31/"> <CreateListResult>boolean</CreateListResult> <WSList> <ListID>int</ListID> <ListName>string</ListName> <CreateDate>dateTime</CreateDate> <FromName>string</FromName> <FromEmail>string</FromEmail> <EnableRemovalLink>boolean</EnableRemovalLink> <EnableBrowserLink>boolean</EnableBrowserLink> <bounceHandling>int</bounceHandling> <EnableDoubleOptin>boolean</EnableDoubleOptin> <EnableListHygiene>boolean</EnableListHygiene> <Vmta> <VmtaID>int</VmtaID> <Description>string</Description> </Vmta> <ShowEmailList>boolean</ShowEmailList> <ShowAdvancedPersonalization>boolean</ShowAdvancedPersonalization> <BounceUnsubscribeCount>int</BounceUnsubscribeCount> <DomainAliasLink>string</DomainAliasLink> <DomainAliasEmail>string</DomainAliasEmail> </WSList> <WSException> <SoapMethod>string</SoapMethod> <DateTime>dateTime</DateTime> <Description>string</Description> </WSException> </CreateListResponse> </soap12:Body> </soap12:Envelope>