const options = {
method: 'POST',
headers: {
'x-partner': '<x-partner>',
'x-organization-id': '<x-organization-id>',
'x-api-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({ignore_errors: false})
};
fetch('https://api.dcycle.io/v2/imports/{import_id}/submit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "<string>",
"rows_submitted": 123,
"file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"processing_job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Submit the import session for downstream processing.
const options = {
method: 'POST',
headers: {
'x-partner': '<x-partner>',
'x-organization-id': '<x-organization-id>',
'x-api-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({ignore_errors: false})
};
fetch('https://api.dcycle.io/v2/imports/{import_id}/submit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "<string>",
"rows_submitted": 123,
"file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"processing_job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}An enumeration.
dcycle, onau Submit request for a validated import session.