Provides methods for creating, updating and retrieving Contact objects.
dfp_createContacts(request_data, as_df = TRUE, verbose = FALSE)
request_data | a |
---|---|
as_df | a boolean indicating whether to attempt to parse the result into
a |
verbose | a boolean indicating whether to print the service URL and POSTed XML |
a data.frame
or list
containing all the elements of a createContactsResponse
createContacts
Creates new Contact objects.
# NOT RUN { request_data <- list(contacts=list(name="TestContact1", companyId=dfp_createCompanies_result$id, status='UNINVITED', cellPhone='(888) 999-7777', comment='API Test', email='testcontact1@gmail.com')) result <- dfp_createContacts(request_data) # }