createErpImport
Changed onRegister an already-uploaded file (S3 ref) as a pricing-file import job. Returns the job and a file preview. Nothing runs yet: no use case is chosen and no validation starts here. Optionally rank candidates with POST /v2/erp/imports/{importId}:suggest-use-cases, then start validation with POST /v2/erp/imports/{importId}:validate. Pass import_id to repoint an existing import at a different file instead, keeping its id and its place in the history — allowed while the import has written nothing.
Request
- Base URLhttps://integration-toolkit.sls.epilot.io
- URLhttps://integration-toolkit.sls.epilot.io/v2/erp/imports
- AuthHTTP bearer
Request body
Response
The named import now points at this file. Returned only when import_id was supplied — no Location, because nothing was created.
Example response
{
"job": {
"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
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 - 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 - info
added the optional property
//////to the response with the status
- warning