The DataUnits parameter defines which objects are included in the export. Its function is similar to the Data Units to Export field on the Business Manager Site Import & Export page. The parameter requires a string in JSON format that describes the data to be exported. Units not included in the JSON are not included in the export. The JSON syntax and data unit names are validated when you add the step to the job. If an object name is not found, a log message is written during run time. The following is an example of JSON for DataUnits.
{
"export_data_units_configuration" : {
"sites" : {
"siteDEMO" : {
"active_data_feeds": true,
"cache_settings": true,
"campaigns_and_promotions": true,
"content": true,
"coupons": true,
"customer_cdn_settings": true,
"customer_groups": true,
"custom_objects": true,
"dynamic_file_resources": true,
"distributed_commerce_extensions": true,
"ocapi_settings": true,
"payment_methods": true,
"payment_processors": true,
"redirect_urls": true,
"search_settings": true,
"shipping": true,
"site_descriptor": true,
"site_preferences": true,
"static_dynamic_alias_mappings": true,
"sitemap_settings": true,
"slots": true,
"sorting_rules": true,
"source_codes": true,
"stores": true,
"tax": true,
"url_rules": true,
"gift_certificates": true
},
"otherSiteDEMO" : {
"all": true
}
},
"libraries" : {
"libDEMO" : true
},
"library_static_resources" : {
"siteDEMO" : true,
"sharedLibraryDemo" : true
},
"catalogs" : {
"catalogDEMO" : true
},
"catalog_static_resources" : {
"catalogStaticResDEMO" : true
},
"price_books" : {
"pricebookDEMO" : true
},
"inventory_lists" : {
"all" : true
},
"customer_lists" : {
"siteDEMO" : true
},
"assignments" : {
"assignmentDEMO" : true
},
"global_data" : {
"preferences": true,
"global_custom_objects": true,
"job_schedules": true,
"job_schedules_deprecated": true,
"meta_data": true,
"static_resources": true,
"users": true,
"access_roles": true,
"geolocations": true,
"custom_quota_settings": true,
"oauth_providers": true,
"ocapi_settings": true,
"webdav_client_permissions": true,
"services": true,
"csc_settings": true,
"page_meta_tags": true,
"price_adjustment_limits": true,
"csrf_whitelists": true,
"sorting_rules": true,
"system_type_definitions": true,
"custom_types": true,
"custom_preference_groups": true
}
}
}