API User Guide

Currently, the Wello API allows changing the status of a job from 'Completed' to a virtual status that is a child of the 'Completed' status.

Endpoint:

HTTP PUT : api/Jobs/ChangeToVirtualStatus

Request body:

Params:

  • jobs_id (mandatory): The Id of the 'Completed' job that needs to be switched to virtual status
  • target_job_status_id or target_job_status_code (mandatory): If you know the ID of the target virtual status, use target_job_status_id. Otherwise, if you know the code, use target_job_status_code.

Sample 1: Update the job's status using the Id of the virtual status


    {
    "jobs_id":"2044B92D-6F7D-460E-AEDA-00E69B68BAC7",
    "target_job_status_id":"284B65D7-D5C8-419F-91D5-10A2F5132BAB"
    }

Sample 2: Update the job's status using the code of the virtual status


    {
    "jobs_id":"2044B92D-6F7D-460E-AEDA-00E69B68BAC7",
    "target_job_status_code":"ERP_IMP"
    }