Create Job Track (/jt/checkin)
Request moving an Rx-Universe job to a new job tracking station
Allows a third-party application to request an update to job tracking for a job in Rx-Universe. If the lab is set to verify the job flow, this will be reflected in the output.
Example:
POST http://localhost:4567/api/jt/checkin {"order":"2341296", "station":"001"}
input - 2 parameters, the order number, tray number or PO number of the job to move, and the Rx-Universe station ID to move it to
returns
{ "input-job": "2341296", "input-station": "001", "result": "successful" }
If the order number specified does not exist as an in-process order in Rx-Universe, the response would be:
{ "input-job": "2341299", "input-station": "001", "result": "order not found" }
If the job station requested is not a valid job station in Rx-Universe, the response would be:
{ "input-job": "2341296", "input-station": "022", "result": "invalid station" }
If the order requested does not pass the job flow validation for the requested job station, the response will include the validation error similar to:Â
{ "input-job": "2341296", "input-station": "AR1", "result": "AR not needed" }