diff --git a/R/update.R b/R/update.R index 6979495f..85d794fd 100644 --- a/R/update.R +++ b/R/update.R @@ -33,7 +33,7 @@ sf_update <- function(input_data, object_name, all_or_none = FALSE, - api_type = c("SOAP", "Rest", "Bulk"), + api_type = c("SOAP", "REST", "Bulk"), ..., verbose = FALSE){ diff --git a/docs/reference/sf_create.html b/docs/reference/sf_create.html index e894f010..f40483f1 100644 --- a/docs/reference/sf_create.html +++ b/docs/reference/sf_create.html @@ -145,7 +145,7 @@

Ar api_type -

character; one of "REST", "SOAP", "Bulk", or "Async" indicating +

character; one of "REST", "SOAP", or "Bulk" indicating which API to use when making the request

diff --git a/docs/reference/sf_delete.html b/docs/reference/sf_delete.html index a2ae882c..d76fe703 100644 --- a/docs/reference/sf_delete.html +++ b/docs/reference/sf_delete.html @@ -146,7 +146,7 @@

Ar api_type -

character; one of "REST", "SOAP", "Bulk", or "Async" indicating +

character; one of "REST", "SOAP", or "Bulk" indicating which API to use when making the request

diff --git a/docs/reference/sf_describe_objects.html b/docs/reference/sf_describe_objects.html index a12ff64c..134f3d2f 100644 --- a/docs/reference/sf_describe_objects.html +++ b/docs/reference/sf_describe_objects.html @@ -135,7 +135,7 @@

Ar api_type -

character; one of "REST", "SOAP", "Bulk", or "Async" indicating +

character; one of "REST", "SOAP", or "Bulk" indicating which API to use when making the request

diff --git a/docs/reference/sf_query.html b/docs/reference/sf_query.html index 4164fcfc..347214f9 100644 --- a/docs/reference/sf_query.html +++ b/docs/reference/sf_query.html @@ -153,7 +153,7 @@

Ar api_type -

character; one of "REST", "SOAP", "Bulk", or "Async" indicating +

character; one of "REST", "SOAP", or "Bulk" indicating which API to use when making the request

diff --git a/docs/reference/sf_retrieve.html b/docs/reference/sf_retrieve.html index bf85aac1..64f5bb62 100644 --- a/docs/reference/sf_retrieve.html +++ b/docs/reference/sf_retrieve.html @@ -146,7 +146,7 @@

Ar api_type -

character; one of "REST", "SOAP", "Bulk", or "Async" indicating +

character; one of "REST", "SOAP", or "Bulk" indicating which API to use when making the request

diff --git a/docs/reference/sf_search.html b/docs/reference/sf_search.html index 7ce8cfb7..8454a374 100644 --- a/docs/reference/sf_search.html +++ b/docs/reference/sf_search.html @@ -140,7 +140,7 @@

Ar api_type -

character; one of "REST", "SOAP", "Bulk", or "Async" indicating +

character; one of "REST", "SOAP", or "Bulk" indicating which API to use when making the request

diff --git a/docs/reference/sf_update.html b/docs/reference/sf_update.html index 00164f58..1afdcf1c 100644 --- a/docs/reference/sf_update.html +++ b/docs/reference/sf_update.html @@ -123,7 +123,7 @@

Update Records

sf_update(input_data, object_name, all_or_none = FALSE, api_type = c("SOAP",
-  "Rest", "Bulk"), ..., verbose = FALSE)
+ "REST", "Bulk"), ..., verbose = FALSE)

Arguments

@@ -146,7 +146,7 @@

Ar

- diff --git a/docs/reference/sf_upsert.html b/docs/reference/sf_upsert.html index d77c1442..6629cce8 100644 --- a/docs/reference/sf_upsert.html +++ b/docs/reference/sf_upsert.html @@ -152,7 +152,7 @@

Ar

- diff --git a/man-roxygen/api_type.R b/man-roxygen/api_type.R index 574d9fbb..643a9c0c 100644 --- a/man-roxygen/api_type.R +++ b/man-roxygen/api_type.R @@ -1,2 +1,2 @@ -#' @param api_type character; one of "REST", "SOAP", "Bulk", or "Async" indicating +#' @param api_type character; one of "REST", "SOAP", or "Bulk" indicating #' which API to use when making the request diff --git a/man/sf_create.Rd b/man/sf_create.Rd index 7b180c2b..4ae8e99b 100644 --- a/man/sf_create.Rd +++ b/man/sf_create.Rd @@ -17,7 +17,7 @@ function is operating against (e.g. "Account", "Contact", "CustomObject__c")} \item{all_or_none}{logical; allows a call to roll back all changes unless all records are processed successfully} -\item{api_type}{character; one of "REST", "SOAP", "Bulk", or "Async" indicating +\item{api_type}{character; one of "REST", "SOAP", or "Bulk" indicating which API to use when making the request} \item{...}{Other arguments passed on to \code{\link{sf_bulk_operation}}.} diff --git a/man/sf_delete.Rd b/man/sf_delete.Rd index 12fa40ff..1dbeab60 100644 --- a/man/sf_delete.Rd +++ b/man/sf_delete.Rd @@ -18,7 +18,7 @@ function is operating against (e.g. "Account", "Contact", "CustomObject__c")} \item{all_or_none}{logical; allows a call to roll back all changes unless all records are processed successfully} -\item{api_type}{character; one of "REST", "SOAP", "Bulk", or "Async" indicating +\item{api_type}{character; one of "REST", "SOAP", or "Bulk" indicating which API to use when making the request} \item{...}{Other arguments passed on to \code{\link{sf_bulk_operation}}.} diff --git a/man/sf_describe_objects.Rd b/man/sf_describe_objects.Rd index dc950a77..acf0ad50 100644 --- a/man/sf_describe_objects.Rd +++ b/man/sf_describe_objects.Rd @@ -11,7 +11,7 @@ sf_describe_objects(object_names, api_type = c("SOAP", "REST", "Bulk"), \item{object_names}{character; the name of one or more Salesforce objects that the function is operating against (e.g. "Account", "Contact", "CustomObject__c")} -\item{api_type}{character; one of "REST", "SOAP", "Bulk", or "Async" indicating +\item{api_type}{character; one of "REST", "SOAP", or "Bulk" indicating which API to use when making the request} \item{verbose}{logical; do you want informative messages?} diff --git a/man/sf_query.Rd b/man/sf_query.Rd index 0f6bec15..e403cc11 100644 --- a/man/sf_query.Rd +++ b/man/sf_query.Rd @@ -21,7 +21,7 @@ deleted and archived records (available only when querying Task and Event record records per page that are returned. Speed benchmarks should be done to better understand the speed implications of choosing either endpoint.} -\item{api_type}{character; one of "REST", "SOAP", "Bulk", or "Async" indicating +\item{api_type}{character; one of "REST", "SOAP", or "Bulk" indicating which API to use when making the request} \item{next_records_url}{character (leave as NULL); a string used internally diff --git a/man/sf_retrieve.Rd b/man/sf_retrieve.Rd index c7d2524c..b6f7f78d 100644 --- a/man/sf_retrieve.Rd +++ b/man/sf_retrieve.Rd @@ -18,7 +18,7 @@ on the records} \item{object_name}{character; the name of one Salesforce objects that the function is operating against (e.g. "Account", "Contact", "CustomObject__c")} -\item{api_type}{character; one of "REST", "SOAP", "Bulk", or "Async" indicating +\item{api_type}{character; one of "REST", "SOAP", or "Bulk" indicating which API to use when making the request} \item{verbose}{logical; do you want informative messages?} diff --git a/man/sf_search.Rd b/man/sf_search.Rd index d74bc9bb..2b87979c 100644 --- a/man/sf_search.Rd +++ b/man/sf_search.Rd @@ -14,7 +14,7 @@ to perform a search using SOSL.} \item{is_sosl}{logical; indicating whether or not to try the string as SOSL} -\item{api_type}{character; one of "REST", "SOAP", "Bulk", or "Async" indicating +\item{api_type}{character; one of "REST", "SOAP", or "Bulk" indicating which API to use when making the request} \item{parameterized_search_options}{\code{list}; a list of parameters for diff --git a/man/sf_update.Rd b/man/sf_update.Rd index c8d9afc8..36d72cfd 100644 --- a/man/sf_update.Rd +++ b/man/sf_update.Rd @@ -5,7 +5,7 @@ \title{Update Records} \usage{ sf_update(input_data, object_name, all_or_none = FALSE, api_type = c("SOAP", - "Rest", "Bulk"), ..., verbose = FALSE) + "REST", "Bulk"), ..., verbose = FALSE) } \arguments{ \item{input_data}{\code{named vector}, \code{matrix}, \code{data.frame}, or @@ -18,7 +18,7 @@ function is operating against (e.g. "Account", "Contact", "CustomObject__c")} \item{all_or_none}{logical; allows a call to roll back all changes unless all records are processed successfully} -\item{api_type}{character; one of "REST", "SOAP", "Bulk", or "Async" indicating +\item{api_type}{character; one of "REST", "SOAP", or "Bulk" indicating which API to use when making the request} \item{...}{Other arguments passed on to \code{\link{sf_bulk_operation}}.} diff --git a/man/sf_upsert.Rd b/man/sf_upsert.Rd index 70553132..65166ae0 100644 --- a/man/sf_upsert.Rd +++ b/man/sf_upsert.Rd @@ -22,7 +22,7 @@ objects during upserts to determine if the record already exists in Salesforce o \item{all_or_none}{logical; allows a call to roll back all changes unless all records are processed successfully} -\item{api_type}{character; one of "REST", "SOAP", "Bulk", or "Async" indicating +\item{api_type}{character; one of "REST", "SOAP", or "Bulk" indicating which API to use when making the request} \item{...}{Other arguments passed on to \code{\link{sf_bulk_operation}}.}
api_type

character; one of "REST", "SOAP", "Bulk", or "Async" indicating +

character; one of "REST", "SOAP", or "Bulk" indicating which API to use when making the request

api_type

character; one of "REST", "SOAP", "Bulk", or "Async" indicating +

character; one of "REST", "SOAP", or "Bulk" indicating which API to use when making the request