SalesforceRestApiSObject<T>: { Id: string; attributes: SalesforceRestApiSObjectAttributes } & T

Salesforce REST API object record type, used throughout the API including as a response for GET requests to the sObject Rows endpoint when retrieving individual records.

Use this type when defining types for objects in your Salesforce org, for example:

type Contact = SalesforceRestApiSObject<{
FirstName: string,
LastName: string,
Name: string,
Salutation: null,
}>;

Type Parameters

Generated using TypeDoc