DataIntegrationRecordPurchasePermission

Represents Lightning Data purchase credits that a Salesforce admin has granted to users.

Version 

Introduced in API version 42.0.

Supported SOAP API Calls 

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

Supported REST API Methods 

DELETE, GET, HEAD, PATCH, POST, Query

Special Access Rules 

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

Fields 

ExternalObject 

  • Type: picklist

  • Required: No

  • 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

  • Required: No

  • Properties: Create, Filter, Group, Sort, Update

  • Description: The ID of a user to whom purchase credits are assigned.

  • Relationship name: User

  • Relationship type: relationship

  • Refers to: User

UserRecordPurchaseLimit 

  • Type: int

  • Required: No

  • 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}

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!