erp-imports

suggestErpImportUseCases

Changed on

Rank the org's inbound use cases against this file's columns — the input to the ranked picker ("matches 6 of your 7 columns"). Optional: skip this and call :validate directly when the use case is already known. Reads only the file's first row, not its data. Every eligible use case is returned, including ones matching nothing: the "nothing fits, pick anyway" view needs the full list. Highest match first. CSV only — an xlsx import fails with 400 rather than silently returning zero matches, which would look identical to "we checked and nothing matches".

post/v2/erp/imports/{importId}:suggest-use-cases

Request

  • Base URL
    https://integration-toolkit.sls.epilot.io
  • URL
    https://integration-toolkit.sls.epilot.io/v2/erp/imports/{importId}:suggest-use-cases
  • Auth
    HTTP bearer

Path parameters

importIdstring required

Response

Ranked use-case suggestions

file_columnsinteger required

Columns in the file. Present even when suggestions is empty.

Changes

    • breaking

      removed the required property // from the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property // to the response with the status

    • info

      endpoint added