You are here

public function RestClientInterface::getApiEndPoint in Salesforce Suite 8.3

Get the API end point for a given type of the API.

Parameters

string $api_type: E.g., rest, partner, enterprise.

Return value

string Complete URL endpoint for API access.

Deprecated

in 8.x-4.0, use \Drupal\salesforce\SalesforceAuthProviderInterface::getApiEndpoint instead.

1 method overrides RestClientInterface::getApiEndPoint()
RestClient::getApiEndPoint in src/Rest/RestClient.php
Get the API end point for a given type of the API.

File

src/Rest/RestClientInterface.php, line 120

Class

RestClientInterface
Objects, properties, and methods to communicate with the Salesforce REST API.

Namespace

Drupal\salesforce\Rest

Code

public function getApiEndPoint($api_type = 'rest');