ContactWebService¶
-
public interface
ContactWebService¶ Webservice interface for RapidPro REST API for Contacts.
Methods¶
createOrUpdateContact¶
-
Contact
createOrUpdateContact(Contact contact)¶ Creates a new contact or updates an existing contact. If the dto has a value for UUID, the contact will be updated. Otherwise, it will create a new contact with those fields.
Parameters: - contact – A representation of a Contact
Throws: - WebServiceException –
Returns: ContactThe body of the response from RapidPro