Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

DataIntegrationRecordPurchasePermission

Represents Lightning Data purchase credits that a Salesforce admin has granted to users. Available in Tooling API version 42.0 and later.

Supported SOAP Calls

create(), delete(), query(), retrieve(), update(), upsert()

Supported REST HTTP Methods

GET, HEAD, and POST

For operations on a specific object, DataIntegrationRecordPurchasePermission supports GET, PATCH, DELETE, and HEAD.

Special Access Rules

As of Spring ’20 and later, only your Salesforce org's internal users can access this object.

Fields

Field Details
ExternalObject
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
This field can hold a single value: the name of the data service record matched to the Salesforce record.
UserId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
The ID of a user to whom purchase credits are assigned.
UserRecordPurchaseLimit
Type
int
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The number of purchase credits assigned to a user.

Usage

Sample GET response:
1{
2  "attributes" : {
3    "type" : "DataIntegrationRecordPurchasePermission",
4    "url" : "/services/data/v42.0/tooling/sobjects/DataIntegrationRecordPurchasePermission/0GyR0000000009xKAA"
5  },
6  "Id" : "0GyR0000000009xKAA",
7  "IsDeleted" : false,
8  "CreatedDate" : "2017-11-02T22:02:36.000+0000",
9  "CreatedById" : "005R0000000F4ItIAK",
10  "LastModifiedDate" : "2017-12-12T18:22:35.000+0000",
11  "LastModifiedById" : "005R0000000F4ItIAK",
12  "SystemModstamp" : "2017-12-12T18:22:35.000+0000",
13  "UserId" : "005R0000000F4ItIAK",
14  "ExternalObject" : "managedPackageNamespace__CustomObject__x",
15  "UserRecordPurchaseLimit" : 300
16}