make_soap_xml_skeleton: Make SOAP XML Request Skeleton

View source: R/utils-xml.R

make_soap_xml_skeletonR Documentation

Make SOAP XML Request Skeleton

Description

Create XML in preparation for sending to the SOAP API

Usage

make_soap_xml_skeleton(soap_headers = list(), metadata_ns = FALSE)

Arguments

soap_headers

list; any number of SOAP headers

metadata_ns

logical; an indicator of whether to use the namespaces required by the Metadata API or the default ones.

Value

xmlNode; an XML object containing just the header portion of the request

Note

This function is meant to be used internally. Only use when debugging. Any of the following SOAP headers are allowed:

  • AllOrNoneHeader

  • AllowFieldTruncationHeader

  • AssignmentRuleHeader

  • CallOptions

  • DisableFeedTrackingHeader

  • EmailHeader

  • LimitInfoHeader

  • LocaleOptions

  • LoginScopeHeader

  • MruHeader

  • OwnerChangeOptions

  • PackageVersionHeader

  • QueryOptions

  • UserTerritoryDeleteHeader

Additionally, Bulk API can't access or query compound address or compound geolocation fields.

References

https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/soap_headers.htm

https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch


salesforcer documentation built on March 18, 2022, 6:26 p.m.