build_soap_xml_from_list {salesforcer} | R Documentation |
Build XML Request Body
Description
Parse data into XML format
Usage
build_soap_xml_from_list(
input_data,
operation = c("create", "retrieve", "update", "upsert", "delete", "undelete",
"emptyRecycleBin", "getDeleted", "getUpdated", "search", "query", "queryMore",
"convertLead", "merge", "describeSObjects", "setPassword", "resetPassword",
"findDuplicates", "findDuplicatesByIds"),
object_name = NULL,
fields = NULL,
external_id_fieldname = NULL,
root_name = NULL,
ns = character(0),
root = NULL
)
Arguments
input_data |
a |
operation |
|
object_name |
|
fields |
|
external_id_fieldname |
|
root_name |
|
ns |
named vector; a collection of character strings indicating the namespace definitions of the root node if created |
root |
|
Value
xmlNode
; an XML node with the complete XML built using the root
and the input data in the format needed for the operation.
Note
This function is meant to be used internally. Only use when debugging.