Get Job Counts at Stations (/jt/stations/jobs/count)

Job Stations with current count

accepts one optional parameter, http://localhost:4567/api/jt/stations/jobs/count?station=001
Returns the count of jobs at each station

Example:

http://localhost:4567/api/jt/stations/jobs/count

returns

[ { "code": "001", "desc": "WAITING FOR LENSES", "count": "000002" }, { "code": "002", "desc": "OUT TO A/R LAB", "count": "000008" }, { "code": "003", "desc": "TINTING", "count": "000000" }, { "code": "004", "desc": "FRAME RECEIVED", "count": "000000" }, { "code": "005", "desc": "SHIPPING", "count": "000000" }, { "code": "006", "desc": "WAITING FOR FRAME", "count": "000000" }, { "code": "008", "desc": "TINTING", "count": "000000" }, { "code": "009", "desc": "INTO A/R PREP", "count": "000000" }, { "code": "010", "desc": "OUT OF A/R PREP", "count": "000000" }, { "code": "011", "desc": "AR BASKET 11", "count": "000000" }, { "code": "012", "desc": "OUT OF A/R ROOM", "count": "000000" }, { "code": "013", "desc": "A/R CLEAN-UP", "count": "000000" }, { "code": "014", "desc": "A/R IS FINALLY DONE", "count": "000000" }, { "code": "020", "desc": "ENTERING FINISHING", "count": "000000" }, { "code": "025", "desc": "OUT TO A/R LAB", "count": "000000" }, { "code": "088", "desc": "station 88", "count": "000000" }, { "code": "100", "desc": "AR COATING LAB", "count": "000000" }, { "code": "207", "desc": "OUTSIE LAB 1", "count": "000000" }, { "code": "208", "desc": "OUTSIE LAB 2", "count": "000000" }, { "code": "209", "desc": "NVI", "count": "000000" }, { "code": "3B", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "801", "desc": "TONY LEBLANC", "count": "000000" }, { "code": "802", "desc": "JOHN SMITH", "count": "000000" }, { "code": "888", "desc": "SUPERCODE", "count": "000000" }, { "code": "899", "desc": "LOGOUT", "count": "000000" }, { "code": "900", "desc": "OUT TO VISIONWEB", "count": "000000" }, { "code": "A", "desc": "SYMBOL SCANNER", "count": "000000" }, { "code": "ACM", "desc": "ACME LAB", "count": "000009" }, { "code": "AR", "desc": "AR DEVICE", "count": "000000" }, { "code": "ART", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "B", "desc": "AMS SCANNER", "count": "000000" }, { "code": "B1", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "BK", "desc": "BREAKAGE", "count": "000025" }, { "code": "BNV", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "C", "desc": "AMS SCANNER", "count": "000000" }, { "code": "CAD", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "CF", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "CR", "desc": "CRIZAL LAB", "count": "000000" }, { "code": "CRS", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "D", "desc": "AMS SCANNER", "count": "000000" }, { "code": "E", "desc": "AMS SCANNER", "count": "000000" }, { "code": "E1", "desc": "EDGER", "count": "000000" }, { "code": "EG", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "ER", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "ES", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "ESS", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "F", "desc": "AMS SCANNER", "count": "000000" }, { "code": "F1", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "FIL", "desc": "File Interface", "count": "000047" }, { "code": "G", "desc": "AMS SCANNER", "count": "000000" }, { "code": "G1", "desc": "GERBER SG8 GENERATOR", "count": "000000" }, { "code": "G2", "desc": "NATIONAL OPTRONICS GATEWY", "count": "000000" }, { "code": "G3", "desc": "VFT ORBIT", "count": "000000" }, { "code": "GEN", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "GN1", "desc": "ORBIT GENERATOR", "count": "000000" }, { "code": "H", "desc": "AMS SCANNER", "count": "000000" }, { "code": "IOT", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "IQ", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "JFC", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "LP", "desc": "LENS PICK", "count": "000009" }, { "code": "LPT", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "ML", "desc": "MAIN LAB", "count": "000000" }, { "code": "NE", "desc": "NATIONAL OPTRONICS EDGER", "count": "000000" }, { "code": "NG", "desc": "NATIONAL OPTRONICS GENER", "count": "000000" }, { "code": "NUC", "desc": "NUCLEO", "count": "000000" }, { "code": "NVI", "desc": "NVI", "count": "000000" }, { "code": "OD", "desc": "ORDER DELETION", "count": "000000" }, { "code": "OE", "desc": "ORDER ENTRY - NEW JOB", "count": "000012" }, { "code": "OM", "desc": "ORDER ENTRY - MODIFY", "count": "000010" }, { "code": "OMA", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "OPT", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "OR", "desc": "NEW REMOTE JOB", "count": "000296" }, { "code": "ORB", "desc": "ORBIT", "count": "000000" }, { "code": "OS", "desc": "NEW STOCK ORDERS", "count": "000000" }, { "code": "OU", "desc": "UNVALID ORDER", "count": "000007" }, { "code": "P1", "desc": "WORK TICKET PRINTED LPT1", "count": "000012" }, { "code": "P2", "desc": "WORK TICKET PRINTED TO LP", "count": "000000" }, { "code": "P3", "desc": "WORK TICKET PRINTED TO LP", "count": "000000" }, { "code": "P4", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "P5", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "P6", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "P7", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "P8", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "P9", "desc": "*** STATION CREATED AUTO", "count": "000004" }, { "code": "PRA", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "PT", "desc": "PRINT TICKET", "count": "000000" }, { "code": "QA", "desc": "Q/A", "count": "000000" }, { "code": "RXS", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "S1", "desc": "GERBER STEP 1 BLOCKER", "count": "000000" }, { "code": "SGX", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "SH", "desc": "SHIPPING", "count": "000000" }, { "code": "SHA", "desc": "SHAMIR CALCS", "count": "000000" }, { "code": "SHE", "desc": "SHIP BY EXTERNAL", "count": "000000" }, { "code": "SHS", "desc": "SHIPPED STOCK ORDERS", "count": "000000" }, { "code": "SKO", "desc": "SEIKO CALCULATIONS", "count": "000000" }, { "code": "SM", "desc": "Shipped TO Montreal", "count": "000000" }, { "code": "SOD", "desc": "STOCK ORDER - DELETE", "count": "000000" }, { "code": "SOM", "desc": "STOCK ORDER - MODIFY", "count": "000000" }, { "code": "ST", "desc": "Shipped BY Montreal", "count": "000000" }, { "code": "T1", "desc": "TRACER 1", "count": "000000" }, { "code": "T3", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "TAL", "desc": "TAL", "count": "000000" }, { "code": "UC", "desc": "UNCOMPLETE ORDERS", "count": "000000" }, { "code": "UNI", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "VE", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "VWB", "desc": "*** STATION CREATED AUTO", "count": "000000" }, { "code": "WT", "desc": "*** STATION CREATED AUTO", "count": "000000" } ]

Â