salesforcer (version 1.0.1)

filter_valid_controls: Filter Out Control Arguments by API or Operation

Description

Filter Out Control Arguments by API or Operation

Usage

filter_valid_controls(supplied, api_type = NULL, operation = NULL)

Arguments

supplied

list; a list of input data regarding the control arguments along with the with API and operation information to make a complete assessment of which control arguments are applicable.

api_type

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

operation

character; a string defining the type of operation being performed (e.g. "insert", "update", "upsert", "delete", "hardDelete", "query", "queryall").

Value

character; a vector of strings returning only the control arguments that are accepted by the specified API and operation.