CompositeRequest
CompositeRequest: Class to represent a composite request.
Constructors
Link copied to clipboard
constructor(apiVersion: String, allOrNone: Boolean, refIdToRequests: LinkedHashMap<String, RestRequest>)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
HTTP date format
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Salesforce timestamp format.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
application/x-www-form-urlencoded media type
Link copied to clipboard
application/json media type
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
open fun computeCompositeRequestJson(allOrNone: Boolean, refIdToRequests: LinkedHashMap<String, RestRequest>): JSONObject
Link copied to clipboard
open fun getBatchRequest(apiVersion: String, haltOnError: Boolean, requests: List<RestRequest>): BatchRequest
Batch request
Link copied to clipboard
Cheap request to re-hydrate access token
Link copied to clipboard
open fun getCompositeRequest(apiVersion: String, allOrNone: Boolean, refIdToRequests: LinkedHashMap<String, RestRequest>): CompositeRequest
Composite request
Link copied to clipboard
open fun getRequestForCollectionCreate(apiVersion: String, allOrNone: Boolean, records: JSONArray): RestRequest
Request for creating multiple records with fewer round trips
Link copied to clipboard
open fun getRequestForCollectionDelete(apiVersion: String, allOrNone: Boolean, objectIds: List<String>): RestRequest
Request for deleting multiple records with fewer round trips
Link copied to clipboard
open fun getRequestForCollectionRetrieve(apiVersion: String, objectType: String, objectIds: List<String>, fieldList: List<String>): RestRequest
Request for retrieving multiple records with fewer round trips
Link copied to clipboard
open fun getRequestForCollectionUpdate(apiVersion: String, allOrNone: Boolean, records: JSONArray): RestRequest
Request for updating multiple records with fewer round trips
Link copied to clipboard
open fun getRequestForCollectionUpsert(apiVersion: String, allOrNone: Boolean, objectType: String, externalIdField: String, records: JSONArray): RestRequest
Request for upserting multiple records with fewer round trips
Link copied to clipboard
open fun getRequestForCreate(apiVersion: String, objectType: String, fields: Map<String, Any>): RestRequest
Request to create a record.
Link copied to clipboard
Request to delete a record.
Link copied to clipboard
Request to completely describe the individual metadata at all levels for the specified object.
Link copied to clipboard
Request to list the available objects and their metadata for your organization's data.
Link copied to clipboard
Request for getting information about limits in your org
Link copied to clipboard
Request to describe the individual metadata for the specified object.
Link copied to clipboard
Request to get a notification.
Link copied to clipboard
open fun getRequestForNotifications(apiVersion: String, size: Integer, before: Date, after: Date): RestRequest
Request for getting notifications.
Link copied to clipboard
Request to get status of notifications for the user.
Link copied to clipboard
open fun getRequestForNotificationsUpdate(apiVersion: String, notificationIds: List<String>, before: Date, read: Boolean, seen: Boolean): RestRequest
Request for updating notifications.
Link copied to clipboard
open fun getRequestForNotificationUpdate(apiVersion: String, notificationId: String, read: Boolean, seen: Boolean): RestRequest
Request for updating a notification.
Link copied to clipboard
open fun getRequestForObjectLayout(apiVersion: String, objectAPIName: String, formFactor: String, layoutType: String, mode: String, recordTypeId: String): RestRequest
Request to get object layout data.
Link copied to clipboard
open fun getRequestForPrimingRecords(apiVersion: String, relayToken: String, changedAfterTime: Long): RestRequest
Request for getting list of record related to offline briefcase
Link copied to clipboard
Request to execute the specified SOQL query.
Link copied to clipboard
Request to execute the specified SOQL query which includes deleted records because of a merge or delete in the result set.
Link copied to clipboard
Request to list available resources for the specified API version, including resource name and URI.
Link copied to clipboard
open fun getRequestForRetrieve(apiVersion: String, objectType: String, objectId: String, fieldList: List<String>): RestRequest
Request to retrieve a record by object ID.
Link copied to clipboard
Request to execute the specified SOSL search.
Link copied to clipboard
Request to get search result layouts
Link copied to clipboard
Request to get search scope and order.
Link copied to clipboard
Request to generate URL to bridge into UI sessions (a front door URL) Applications should use that API instead of building front door URLs directly
Link copied to clipboard
open fun getRequestForSObjectTree(apiVersion: String, objectType: String, objectTrees: List<RestRequest.SObjectTree>): RestRequest
Request to create one or more sObject trees with root records of the specified type.
Link copied to clipboard
open fun getRequestForUpdate(apiVersion: String, objectType: String, objectId: String, fields: Map<String, Any>): RestRequest
open fun getRequestForUpdate(apiVersion: String, objectType: String, objectId: String, fields: Map<String, Any>, ifUnmodifiedSinceDate: Date): RestRequest
Request to update a record.
Link copied to clipboard
open fun getRequestForUpsert(apiVersion: String, objectType: String, externalIdField: String, externalId: String, fields: Map<String, Any>): RestRequest
Request to upsert (update or insert) a record.
Link copied to clipboard
Request to get information about the user making the request.
Link copied to clipboard
Request to get summary information about each Salesforce.com version currently available.