erp-imports
executeErpImport
Changed onConfirm and run the write phase of a validated import. Only a READY job may be executed; any other status returns 409. The verdict is re-checked against live inputs first: if the mapping or an entity schema changed since the check, this returns 409 VALIDATION_STALE and leaves the verdict untouched for :validate to re-form.
post/v2/erp/imports/{importId}:execute
Request
- Base URLhttps://integration-toolkit.sls.epilot.io
- URLhttps://integration-toolkit.sls.epilot.io/v2/erp/imports/{importId}:execute
- AuthHTTP bearer
Path parameters
importIdstring required
Request body
Response
Execution started
Example response
{
"validation": {
"entity_details": [
{
"condition_attributes": [
"grid_area"
],
"version_attribute": "valid_from"
}
]
}
}Changes
- warning
added the new
VALID_FROM_NOT_MAPPEDenum value to the///response property for the response status
- warning
- warning
added the new
UNIQUE_ID_NOT_IN_SCHEMAenum value to the///response property for the response status - info
added the optional property
/////to the response with the status
- warning