You are here

public function SalesforceIdentityInterface::getUrl in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 src/Rest/SalesforceIdentityInterface.php \Drupal\salesforce\Rest\SalesforceIdentityInterface::getUrl()

Given API type and optional API version, return the API url.

Parameters

string $api_type: The api type, e.g. rest, partner, meta.

string $api_version: If given, replace {version} placeholder. Otherwise, return the raw URL.

Return value

string The API url.

1 method overrides SalesforceIdentityInterface::getUrl()
SalesforceIdentity::getUrl in src/Rest/SalesforceIdentity.php
Given API type and optional API version, return the API url.

File

src/Rest/SalesforceIdentityInterface.php, line 18

Class

SalesforceIdentityInterface

Namespace

Drupal\salesforce\Rest

Code

public function getUrl($api_type, $api_version = NULL);