Learn R Programming

RForcecom (version 1.1)

rforcecom.api: Functions to connect API.

Description

For internal use.

Usage

rforcecom.api.getSoapEndpoint(apiVersion)
rforcecom.api.getRestEndpoint(apiVersion)
rforcecom.api.getSoqlEndpoint(apiVersion)
rforcecom.api.getSoslEndpoint(apiVersion)
rforcecom.api.getObjectListEndpoint(apiVersion)
rforcecom.api.getObjectDescriptionEndpoint(apiVersion, objectName)
rforcecom.api.getObjectEndpoint(apiVersion, objectName)
rforcecom.api.getRecordEndpoint(apiVersion, objectName, id)
rforcecom.api.getFieldEndpoint(apiVersion, objectName, field)
rforcecom.api.getExternalIdFieldEndpoint(apiVersion, objectName, field, id)

Arguments

apiVersion
An REST API or SOAP API version to connect. (ex: "34.0". As of Oct. 2015)
objectName
An object name. (ex: "Account", "Contact", "CustomObject__c")
field
A field name. (ex: "Id", "Name", "Industry", "AnnualRevenue")
id
A record ID. (ex: "999x000000xxxxxZZZ")

Value

Return values depends on the function used.