Jobs

View Status of a Job

Changed on
get/public/api/jobs/{id}

Request

  • Base URL
    https://<base_url>
  • Auth
    HTTP bearer

Path parameters

idstring required

The id of the job

Response

OK

job_idstring
namestring
progressnumber
lastFinishedAtstring

Example response

{
  "job_id": "612794dad9fd130035333636",
  "name": "Import file",
  "progress": 1,
  "lastFinishedAt": "2021-08-26T13:19:24.565Z",
  "data": {
    "input": {
      "file": {
        "originalFilename": "testImportErrors.xlsx"
      },
      "modelName": "stores"
    },
    "stats": {
      "execution_time_milliseconds": 446.931333,
      "execution_time": "446.931333 ms",
      "errors": 2,
      "success": 0
    },
    "output": {
      "error": {
        "expires_at": "2021-08-27T13:19:24.341Z",
        "download_url": "https://yoobic-loopback-dev-v3.herokuapp.com/api/businesslogic/getTransientResource/stores_errors_612794dad9fd130035333636.csv"
      }
    }
  }
}

Changes