ContactLists APIs
-
Update Properties of Contact List
Description: Updates the properties for the given contact list.Usage:
PUT api/ContactLists/Update/{ListCode}
Parameter Type Source Description ListCode Int32 FromUri The numerical list code that uniquely identifies the contact list ListProfile ContactList FromBody The ContactList object with the updated properties. Returns:
Returns 0 on success.
Examples:
<!-- Intent: update contact list with list code 123456 PUT to the following url http://api.v4.swiftreach.com/api/ContactLists/Update/123456 --> <!-- No XML input is required --> <ContactList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema/SwiftReach.Swift911.Core.ContactLists"> <ListCode>123456</ListCode> <DeleteLocked>false</DeleteLocked> <Description>Peter Test</Description> <ExposeHomePortal>false</ExposeHomePortal> <ExposeVisitorPortal>false</ExposeVisitorPortal> <ListName>Test Contacts</ListName> <ListType>List</ListType> <SubscriptionRequiresApproval>false</SubscriptionRequiresApproval> </ContactList> <!-- example return value --> <int>0</int>