ContactServiceNoHeader
Implementation of the ContactService (for managing account contacts and groups) with authentication information passed in as parameters rather than in a header. This allows development/runtime environments without support for the SOAPHeaders to consume the service. Click here for a free trial.
The following operations are supported. For a formal definition, please review the Service Description.
-
DeleteContacts
Deletes an array of contacts
Parametersusername Your Esendex username password Your Esendex password account Your Esendex account reference, usually the inbound number in international format eg: 447777111222 ids array of IDs
Returns nothing -
DeleteGroup
Deletes a group, optionally removing the members
Parametersusername Your Esendex username password Your Esendex password account Your Esendex account reference, usually the inbound number in international format eg: 447777111222 id The ID of the item includeMembers Set to true to delete the members of the group
Returns nothing -
AddContact
Adds a contact to the account
Parametersusername Your Esendex username password Your Esendex password account Your Esendex account reference, usually the inbound number in international format eg: 447777111222 contact The Contact object
Returns the ID of the contact added -
AddContacts
Adds the contacts to the account
Parametersusername Your Esendex username password Your Esendex password account Your Esendex account reference, usually the inbound number in international format eg: 447777111222 contacts An array of Contact objects
Returns and array of IDs that have been added -
GetGroupMembers
Gets the members of the given contact group
Parametersusername Your Esendex username password Your Esendex password account Your Esendex account reference, usually the inbound number in international format eg: 447777111222 groupID The ID of the group
Returns an array of contacts -
UpdateGroup
Updates a group with the given membership
Parametersusername Your Esendex username password Your Esendex password account Your Esendex account reference, usually the inbound number in international format eg: 447777111222 contactgroup The ContactGroup object memberIDs array of IDs of the group members
Returns nothing -
DeleteGroups
Deletes an array of groups
Parametersusername Your Esendex username password Your Esendex password account Your Esendex account reference, usually the inbound number in international format eg: 447777111222 ids array of IDs
Returns nothing -
GetGroup
Gets the group with the given ID
Parametersusername Your Esendex username password Your Esendex password account Your Esendex account reference, usually the inbound number in international format eg: 447777111222 id The ID of the item
Returns a group -
GetGroups
Gets all the groups for an account
Parametersusername Your Esendex username password Your Esendex password account Your Esendex account reference, usually the inbound number in international format eg: 447777111222
Returns an array of groups -
DeleteContact
Deletes a contact
Parametersusername Your Esendex username password Your Esendex password account Your Esendex account reference, usually the inbound number in international format eg: 447777111222 id The ID of the item
Returns nothing -
UpdateContact
Updates a contact
Parametersusername Your Esendex username password Your Esendex password account Your Esendex account reference, usually the inbound number in international format eg: 447777111222 contact The Contact object
Returns nothing -
GetContacts
Gets all the contacts for an account
Parametersusername Your Esendex username password Your Esendex password account Your Esendex account reference, usually the inbound number in international format eg: 447777111222
Returns an array of contacts -
AddGroup
Adds a group to the account with the given initial members
Parametersusername Your Esendex username password Your Esendex password account Your Esendex account reference, usually the inbound number in international format eg: 447777111222 contactgroup The ContactGroup object memberIDs array of IDs of the group members
Returns the ID of the group added -
GetContact
Gets the contact with the given ID
Parametersusername Your Esendex username password Your Esendex password account Your Esendex account reference, usually the inbound number in international format eg: 447777111222 id The ID of the item
Returns a contact