Salesforce Restores
Select
This operation is used to perform Salesforce restores.
- application/json
Request Body
taskInfo object
task object
policyType stringtaskType string requiredinitiatedFrom stringassociations object[]
Salesforce source organization details
clientName stringinstanceName stringdisplayName stringbackupsetId integer requiredinstanceId integer requiredinstanceGUID stringclientId integer requiredappName stringapplicationId integer requiredFor Salesforce use 134
subTasks object[]
subTask object
subTaskType string requiredoperationType string requiredoptions object
restoreOptions object
browseOption object
commCellId integertimeRange object
Browse time range
fromTime integertoTime integernoImage booleanSet true when restoring an item marked as deleted
includeMetaData booleanSet true for Metadata restore
fileOption object
sourceItem string[] requiredSource item for Restore
commonOptions object
validateOnly booleanDefault value:
false
Set true for Metadata Restore with Validation only
cloudAppsRestoreOptions object
instanceType string requiredsalesforceRestoreOptions object
restoreToFileSystem booleanDefault value:
false
Set to true for restore to File system
restoreToSalesforce booleanSet to true for restore to Salesforce
isRecordLevelRestore booleanDefault value:
false
Set to true for Record level restore
isSeeding booleanDefault value:
false
Set to true for sandbox seeding job
isMetadataRestore booleanDefault value:
false
Set to true for Metadata restore
pathToStoreCsv stringStaging path for intermediate CSVs
restoreFromDatabase booleanSet true to restore using Sync DB data
fieldMappingType integerField mapping to use Ex: Skip mapping fields-0, Use destination field mappings-1, Use source field mappings-2, Use CVExternalId to map all objects-3
dependentRestoreLevel integerDependent level Ex: No children-0, Immediate children only-1, All children- -1
isSaaSRestore booleandisableTriggers booleanDefault value:
false
Set to true for Disabling triggers and rules
restoreParentType stringRestore parent level Ex: All parents-"ALL", No parents-"NONE"
restoreOnlyModifedAndDeletedRecords booleanDefault value:
false
Set true to restore only changed and deleted records
insertNullValues booleanDefault value:
false
Set true to restore empty fields
overrideTable booleanSet true to override DB table when restore to Database
excludeObject booleanSet true to Exclude child object
excludedObjects string[]Child objects to exclude
enableMasking booleanDefault value:
false
Set true to use Data masking
userSelectedMaskingPolicy object
Data masking policy details
policy object
policyId integerData masking policy Id
policyName stringData masking policy name
restoreCatalogDatabase booleanSet false to Restore only latest version for Restore to DB
syncDatabase object
Destination Database details for Restore to DB
dbEnabled booleandbHost stringdbInstance stringdbName stringdbPort stringdbType stringdbUserPassword object
password stringBase64 Encoded DB user's password
userName stringassociateOwnershipToLoggedInUser booleanSet true to Associate ownership to the logged-in user for cross org restore
selectedRecords object[]
Provide record details for Record Level Restore
modTimeStamp stringrecordId stringobjectConfigs object[]
Fields to Restore for Record Level Restore, if not passed all fields are restored
includeFields undefined[]objectName stringuserSelectedSeedingPolicy object
Sandbox seeding template details for Seeding job
policy object
policyId integerSandbox seeding template Id
policyName stringSandbox seeding template name
seedingOptions object[]
Configure field filters
dependentRestoreLevel integerChildren restore level Ex: All- -1, No- 0, Immediate- 1
excludeObject booleanSet true to exclude children from restore
objectName stringObject name
query stringSQL query to use with where clause
queryBlock object
Query block to build SQL query
blocks object[]
List of rule groups
isAnd booleanSet true to perform AND between rules of the group otherwise OR will be used
rules object[]
column stringColumn name for rule
columnType integerColumn Type Ex: STRING-0, INTEGER-1, DOUBLE-2, DATE-3, BOOLEAN-4, ENUM-5, DATETIME-6, TIME-7
condition integerCondition Ex: equals to-0, does not equal to-1, contains-2, does not contain-3, less than-4, less than or equal to-5, greater than-6, greater than or equal to-7, between-8, starts with-12, ends with-13, is null-14, is not null-15, not between-18
stringParam1 stringProvide first parameter if required with operation
stringParam2 stringProvide second parameter if required with operation
isAnd booleanSet true to perform AND between Rule Groups otherwise OR will be used
restoreParentType stringParent restore level Ex: No parents- 0, All parents- 1
type numberdestination object
destClient object required
Destination client details
clientName stringinstanceName stringdisplayName stringbackupsetId integerinstanceId integerinstanceGUID stringsubclientId integerclientId integerappName stringapplicationId integerFor Salesforce use 134
destinationInstance object
Destination instance details
clientName stringinstanceName stringdisplayName stringbackupsetId integerinstanceId integerinstanceGUID stringsubclientId integerclientId integerappName stringapplicationId integerFor Salesforce use 134
destinationBackupset object
Destination backupset details
clientName stringinstanceName stringdisplayName stringbackupsetId integerinstanceId integerinstanceGUID stringsubclientId integerclientId integerappName stringapplicationId integerFor Salesforce use 134
noOfStreams integerDefault value:
2
Number of data streams to use
commonOpts object
notifyUserOnJobCompletion booleanDefault value:
false
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- taskId integer
- jobIds string[]
Restore job Id
{
"taskId": 0,
"jobIds": [
"string"
]
}