ApiCredential__mdt
Sobject
apex
global class ApiCredential__mdt extends SObjectExtends: SObject
Links outbound API handlers to their Salesforce Named Credential for endpoint resolution and authentication.
Fields
| Field | Description |
|---|---|
| global List ApiSettings__r | Reciprocal relationship for ApiSetting__mdt.ApiCredential__c. |
| global String NamedCredential__c | The API name of the Salesforce Named Credential to use for authentication. |
Field Details
ApiSettings__r
apex
global List<ApiSetting__mdt> ApiSettings__rReciprocal relationship for ApiSetting__mdt.ApiCredential__c .
NamedCredential__c
apex
global String NamedCredential__cThe API name of the Salesforce Named Credential to use for authentication. When specified, the framework uses this Named Credential for endpoint URL and authentication instead of manual configuration.
Field Attributes:
| Attribute | Value |
|---|---|
| Data Type | Text(255) |
| Required | false |
| Unique | false |
| External ID | false |