private
Create a migration job
Creates a migration job using body data.
post/migration-jobs
Query parameters
dry_runboolean
A modifier for creation to see what would be created if done.
Request body
Response
Successful dry run response
Example response
{
"allOf": {
"job_number": 20,
"last_updated": "2020-06-11T12:49:20+01:00",
"label": "Consumer Price Index: All Items",
"links": {
"events": {
"href": "https://api.beta.ons.gov.uk/v1/migration-jobs/20/events"
},
"self": {
"href": "https://api.beta.ons.gov.uk/v1/migration-jobs/20",
"job_number": 20
},
"tasks": {
"href": "https://api.beta.ons.gov.uk/v1/migration-jobs/20/tasks"
}
},
"config": {
"collection_id": "migration-collection-20",
"source_id": "/economy/inflationandpriceindices",
"target_id": "migration-series-id"
}
},
"tasks": [
{
"id": "1",
"last_updated": "2020-06-11T12:49:20+01:00",
"source": {
"id": "1",
"label": "Consumer price inflation tables",
"dataset_id": "consumer-price-inflation"
},
"target": {
"id": "1",
"label": "Consumer price inflation tables",
"dataset_id": "consumer-price-inflation"
}
}
]
}