List Production Schedule Lines
Beta/v1/operations/production-schedules/{id}/linesThis endpoint is idempotent. Learn more
Returns the planned campaigns for a schedule version, in the order they run.
idstringID of the schedule version.
machine_ids[]optional arrayOnly return campaigns on these machines.
week_indexoptional integerOnly return campaigns in this horizon week, zero-based.
objectstringenumValues:listResource type identifier.
page_infoobjectPagination metadata.
next_page_urlstringnullableRelative URL that fetches the next page of results.
null when the last page has been reached.
previous_page_urlstringnullableRelative URL that fetches the previous page of results.
null while on the first page.
has_next_pagebooleanWhether more results exist after this page.
has_prev_pagebooleanWhether results exist before this page.
dataarray of production_schedule_lineResources in this page.
idstringLine ID.
objectstringenumValues:production_schedule_lineResource type identifier.
production_scheduleentitynullableThe schedule version this line belongs to.
idstringUnique identifier for the entity.
objectstringenumValues:entityResource type identifier.
typestringenumValues:accountactorentityThe resource kind that this entity references, as an object-type value (e.g. user, account).
Unlike object — which is always entity — this names the underlying resource the id points to.
namestringnullableHuman-readable display name for the entity (e.g. a user's full name, a sales order number).
handlestringnullableSecondary human-readable identifier (e.g. email address, username, redacted API key value).
week_indexintegerZero-based week offset from the start of the horizon.
week_starts_atstring (date-time)First instant of the week this campaign runs in.
machineentitynullableThe machine assigned to the campaign.
idstringUnique identifier for the entity.
objectstringenumValues:entityResource type identifier.
typestringenumValues:accountactorentityThe resource kind that this entity references, as an object-type value (e.g. user, account).
Unlike object — which is always entity — this names the underlying resource the id points to.
namestringnullableHuman-readable display name for the entity (e.g. a user's full name, a sales order number).
handlestringnullableSecondary human-readable identifier (e.g. email address, username, redacted API key value).
production_stepentitynullableThe production step the campaign runs at.
idstringUnique identifier for the entity.
objectstringenumValues:entityResource type identifier.
typestringenumValues:accountactorentityThe resource kind that this entity references, as an object-type value (e.g. user, account).
Unlike object — which is always entity — this names the underlying resource the id points to.
namestringnullableHuman-readable display name for the entity (e.g. a user's full name, a sales order number).
handlestringnullableSecondary human-readable identifier (e.g. email address, username, redacted API key value).
departmententitynullableThe department the machine belongs to.
idstringUnique identifier for the entity.
objectstringenumValues:entityResource type identifier.
typestringenumValues:accountactorentityThe resource kind that this entity references, as an object-type value (e.g. user, account).
Unlike object — which is always entity — this names the underlying resource the id points to.
namestringnullableHuman-readable display name for the entity (e.g. a user's full name, a sales order number).
handlestringnullableSecondary human-readable identifier (e.g. email address, username, redacted API key value).
itementitynullableThe item to produce.
idstringUnique identifier for the entity.
objectstringenumValues:entityResource type identifier.
typestringenumValues:accountactorentityThe resource kind that this entity references, as an object-type value (e.g. user, account).
Unlike object — which is always entity — this names the underlying resource the id points to.
namestringnullableHuman-readable display name for the entity (e.g. a user's full name, a sales order number).
handlestringnullableSecondary human-readable identifier (e.g. email address, username, redacted API key value).
planned_quantitynumberQuantity to produce.
planned_unitentitynullableUnit the quantity is expressed in.
idstringUnique identifier for the entity.
objectstringenumValues:entityResource type identifier.
typestringenumValues:accountactorentityThe resource kind that this entity references, as an object-type value (e.g. user, account).
Unlike object — which is always entity — this names the underlying resource the id points to.
namestringnullableHuman-readable display name for the entity (e.g. a user's full name, a sales order number).
handlestringnullableSecondary human-readable identifier (e.g. email address, username, redacted API key value).
planned_unit_abbreviationstringnullableAbbreviation of the unit every quantity on this line is counted in, for display.
A campaign of 360 means 360 pairs or 360 eaches depending on this, so the two are never meaningful apart.
planned_lotsintegerWhole lots the quantity rounds to.
planned_lot_unitsnumberUnits in one lot, which is the batch size the week is released to the floor in.
planned_run_hoursnumberConstraint hours the campaign consumes.
planned_changeover_minutesnumberModelled changeover time before the campaign.
sequence_indexintegerOrder the campaign runs within its week.
projected_on_hand_beforenumberProjected stock before the campaign lands.
projected_on_hand_afternumberProjected stock after the campaign lands and the week's demand is drawn down.
statusstringenumValues:plannedreleasedin_progressWhere the line is in its lifecycle.
sourcestringenumValues:solvermanualWhether the solver or a person created the line.
reasonstringnullableenumValues:machine_downmaterial_shortagerush_orderWhy the campaign was scheduled.
freeze_statusstringenumValues:frozenflexibleWhether the line is inside the frozen window and can no longer be changed without recording a deviation.
production_runentitynullableThe production run created from this line.
idstringUnique identifier for the entity.
objectstringenumValues:entityResource type identifier.
typestringenumValues:accountactorentityThe resource kind that this entity references, as an object-type value (e.g. user, account).
Unlike object — which is always entity — this names the underlying resource the id points to.
namestringnullableHuman-readable display name for the entity (e.g. a user's full name, a sales order number).
handlestringnullableSecondary human-readable identifier (e.g. email address, username, redacted API key value).
released_batch_countintegerBatches this campaign issued to the floor when its week was released.
Zero until the week is released.
scanned_batch_countintegerBatches of this campaign the floor has scanned.
scanned_quantitynumberQuantity scanned so far, in the planned unit.
Measured from the run the week was released as, matched on this campaign's item, so a run holding several SKUs credits each campaign with only its own work.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
Responses
Successful response for List Production Schedule Lines