GET api/production/current_job/{line}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
line

integer

Required

Body Parameters

None.

Response Information

Resource Description

CurrentJobResult
NameDescriptionTypeAdditional information
production

Job

None.

packaging

Job

None.

queue

Collection of Job

None.

Response Formats

application/json, text/json

Sample:
{
  "production": {
    "order_code": "sample string 1",
    "status": 2.0,
    "qty_kg": 3,
    "qty_bags": 4,
    "mix_number": 5,
    "lot": "sample string 6",
    "article_code": "sample string 7",
    "article_description": "sample string 8",
    "bags_per_hour": 9.0,
    "expected_end": "2025-12-11T11:41:48.0936344+01:00",
    "delivery": "2025-12-11T11:41:48.0946381+01:00"
  },
  "packaging": {
    "order_code": "sample string 1",
    "status": 2.0,
    "qty_kg": 3,
    "qty_bags": 4,
    "mix_number": 5,
    "lot": "sample string 6",
    "article_code": "sample string 7",
    "article_description": "sample string 8",
    "bags_per_hour": 9.0,
    "expected_end": "2025-12-11T11:41:48.0936344+01:00",
    "delivery": "2025-12-11T11:41:48.0946381+01:00"
  },
  "queue": [
    {
      "order_code": "sample string 1",
      "status": 2.0,
      "qty_kg": 3,
      "qty_bags": 4,
      "mix_number": 5,
      "lot": "sample string 6",
      "article_code": "sample string 7",
      "article_description": "sample string 8",
      "bags_per_hour": 9.0,
      "expected_end": "2025-12-11T11:41:48.0936344+01:00",
      "delivery": "2025-12-11T11:41:48.0946381+01:00"
    },
    {
      "order_code": "sample string 1",
      "status": 2.0,
      "qty_kg": 3,
      "qty_bags": 4,
      "mix_number": 5,
      "lot": "sample string 6",
      "article_code": "sample string 7",
      "article_description": "sample string 8",
      "bags_per_hour": 9.0,
      "expected_end": "2025-12-11T11:41:48.0936344+01:00",
      "delivery": "2025-12-11T11:41:48.0946381+01:00"
    }
  ]
}