ContactLists APIs
-
Get Profile of a Contact List
Description: Returns the profile for the specified contact listUsage:
GET api/ContactLists/{ListCode}
Parameter Type Source Description ListCode Int32 FromUri The numerical list code that uniquely identifies the contact list Returns:
The ContactList profile object for the given list code.
Examples:
<!-- Intent: get a the profile of contact list with ListCode of 668487 GET to the following url http://api.v4.swiftreach.com/api/ContactLists/668487 --> <!-- No XML input is required --> <!-- example return value --> <ContactList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwiftReach.Swift911.Core.ContactLists"> <ChangeStamp>2013-03-25T23:46:08.82</ChangeStamp> <ChangedByUser>pbacigalupi</ChangedByUser> <CreateStamp>2013-03-23T16:05:33.937</CreateStamp> <CreatedByUser>pbacigalupi</CreatedByUser> <DeleteLocked>false</DeleteLocked> <Description>Peter Test</Description> <ExposeHomePortal>false</ExposeHomePortal> <ExposeVisitorPortal>false</ExposeVisitorPortal> <ListCode>668487</ListCode> <ListName>Peter Test</ListName> <ListSize>1</ListSize> <ListType>List</ListType> <PendingApprovalCount>0</PendingApprovalCount> <SubscriptionRequiresApproval>false</SubscriptionRequiresApproval> </ContactList>