Export complete
This commit is contained in:
53
prepared_steps/1_extract_data/export.json
Normal file
53
prepared_steps/1_extract_data/export.json
Normal file
@ -0,0 +1,53 @@
|
||||
{
|
||||
"allOrNone": true,
|
||||
"useSeparatedCSVFiles": true,
|
||||
"pollingQueryTimeoutMs": 1000000,
|
||||
"bulkApiVersion": "2.0",
|
||||
"parallelRestJobs": 2,
|
||||
"objectSets": [
|
||||
{
|
||||
"objects": [
|
||||
{
|
||||
"query": "SELECT Id, City__c, Country__c, GeoY__c, GeoX__c, PostalCode__c, Street__c, Extension__c, HouseNo__c, FlatNo__c, Floor__c FROM SCInstalledBaseLocation__c WHERE Country__c = 'NL'",
|
||||
"externalId": "Name",
|
||||
"operation": "Readonly"
|
||||
}
|
||||
]
|
||||
},{
|
||||
"objects": [
|
||||
{
|
||||
"query": "SELECT Id, Name, CommissioningDate__c,InstallationDate__c,ProductEnergy__c, ProductUnitClass__c,ArticleNo__c,SerialNo__c, SerialNoException__c, ProductUnitType__c, InstalledBaseLocation__c FROM SCInstalledBase__c WHERE Country__c = 'NL'",
|
||||
"externalId": "Name",
|
||||
"operation": "Readonly",
|
||||
"excludedFromUpdateFields": ["InstalledBaseLocation__c"]
|
||||
}
|
||||
]
|
||||
},{
|
||||
"objects": [
|
||||
{
|
||||
"query": "SELECT Id, Serialnumber FROM Asset WHERE Location.ParentLocation.Name LIKE '%NL'",
|
||||
"externalId": "Name",
|
||||
"operation": "Readonly"
|
||||
}
|
||||
]
|
||||
},{
|
||||
"objects": [
|
||||
{
|
||||
"query": "SELECT Id, Country, CountryCode, Street, City, ParentId PostalCode FROM Address WHERE CountryCode = 'NL'",
|
||||
"externalId": "Name",
|
||||
"operation": "Readonly",
|
||||
"excludedFields": ["ParentId"]
|
||||
}
|
||||
]
|
||||
|
||||
},{
|
||||
"objects": [
|
||||
{
|
||||
"query": "SELECT Id, ParentLocationId, Name FROM Location WHERE Name LIKE '%NL' OR ParentLocation.Name = '%NL'",
|
||||
"externalId": "Name",
|
||||
"operation": "Readonly"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user