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:
{
  "attributes" : {
    "type" : "DataIntegrationRecordPurchasePermission",
    "url" : "/services/data/v42.0/tooling/sobjects/DataIntegrationRecordPurchasePermission/0GyR0000000009xKAA"
  },
  "Id" : "0GyR0000000009xKAA",
  "IsDeleted" : false,
  "CreatedDate" : "2017-11-02T22:02:36.000+0000",
  "CreatedById" : "005R0000000F4ItIAK",
  "LastModifiedDate" : "2017-12-12T18:22:35.000+0000",
  "LastModifiedById" : "005R0000000F4ItIAK",
  "SystemModstamp" : "2017-12-12T18:22:35.000+0000",
  "UserId" : "005R0000000F4ItIAK",
  "ExternalObject" : "managedPackageNamespace__CustomObject__x",
  "UserRecordPurchaseLimit" : 300
}