1. Overview

The MES service contains a collection of RESTful service calls to retrieve various information relevant to manufacturing execution.

Descriptions of these functions can be found in the section headers for each collection of relevant resources.

1.1. URI scheme

Host : localhost
BasePath : /

1.2. Tags

  • active-product-controller : Active Product Controller

  • color-scheme-field-controller : Color Scheme Field Controller

  • comment-controller : Comment Controller

  • department-controller : Department Controller

  • downtime-controller : Downtime Controller

  • downtime-statistics-controller : Downtime Statistics Controller

  • downtime-unit-controller : Downtime Unit Controller

  • fault-controller : Fault Controller

  • group-controller : Group Controller

  • line-controller : Line Controller

  • npt-controller : Npt Controller

  • path-controller : Path Controller

  • process-order-actuals-controller : Process Order Actuals Controller

  • process-order-controller : Process Order Controller

  • process-order-start-controller : Process Order Start Controller

  • product-controller : Product Controller

  • product-family-controller : Product Family Controller

  • product-group-controller : Product Group Controller

  • product-unit-controller : Product Unit Controller

  • production-ratio-controller : Production Ratio Controller

  • site-parameter-controller : Site Parameter Controller

  • unit-controller : Unit Controller

  • unit-process-orders-controller : Unit Process Orders Controller

  • variable-category-controller : Variable Category Controller

  • variable-controller : Variable Controller

2. Resources

2.1. Active-product-controller

Active Product Controller

2.1.1. Get All Active Products Details

GET /production/v1/activeProducts
Parameters
Type Name Description Schema

Query

endTime
optional

endTime

string (date-time)

Query

lineId
optional

lineId

< integer (int64) > array(multi)

Query

lineIds
optional

lineIds

string

Query

startTime
required

startTime

string (date-time)

Query

unitId
optional

unitId

< integer (int64) > array(multi)

Query

unitIds
optional

unitIds

string

Responses
HTTP Code Description Schema

200

OK

< ActiveProductPage > array

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.2. Color-scheme-field-controller

Color Scheme Field Controller

2.2.1. Get categories field colors

GET /color/v1/colorSchemeFields
Parameters
Type Name Description Schema Default

Query

colorSchemeCategory
optional

Color Scheme Category to retrieve the Color Scheme Fields.

enum (AutologCellForeground, AutologCellBackground, Spreadsheet, Trendsheet, DelayReports, QualityReports, COAReports, OtherReports, ProficyWebCharts, Downtime, Waste)

Query

colorSchemeId
optional

Color Scheme Id to retrieve the Color Scheme Fields.

integer (int64)

1

Responses
HTTP Code Description Schema

200

Ok

ColorSchemeFieldInfoResources

401

Unauthorized

No Content

403

Forbidden, Authenticated user is not known by MES

No Content

Produces
  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.3. Comment-controller

Comment Controller

2.3.1. Start a new comment thread

POST /comment/v1/commentThreads
Parameters
Type Name Description Schema

Body

commentRecord
required

commentRecord

SecureCommentRecord

Responses
HTTP Code Description Schema

201

Created

Comment

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

No Content

422

Unprocessable Entity

HttpErrorResponse

Consumes
  • application/vnd.ge.mes.v2.create+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.create+json

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.3.2. Add a comment to a thread

POST /comment/v1/commentThreads/{threadId}/comments
Parameters
Type Name Description Schema

Path

threadId
required

threadId

integer (int64)

Body

newComment
required

newComment

SecureCommentRecord

Responses
HTTP Code Description Schema

201

Created

Comment

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

No Content

422

Unprocessable Entity

HttpErrorResponse

Consumes
  • application/vnd.ge.mes.v2.create+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.create+json

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.3.3. Get comments by thread

GET /comment/v1/commentThreads/{threadId}/comments
Parameters
Type Name Description Schema

Path

threadId
required

threadId

integer (int64)

Responses
HTTP Code Description Schema

200

OK

CommentPage

401

Unauthorized

No Content

403

Forbidden, Authenticated user is not known by MES

No Content

404

Not Found

No Content

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.3.4. Get a thread comment

GET /comment/v1/commentThreads/{threadId}/comments/{commentId}
Parameters
Type Name Description Schema

Path

commentId
required

commentId

integer (int64)

Path

threadId
required

threadId

integer (int64)

Responses
HTTP Code Description Schema

200

OK

Comment

401

Unauthorized

No Content

403

Forbidden, Authenticated user is not known by MES

No Content

404

Not Found

No Content

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.3.5. Update a comment

PUT /comment/v1/commentThreads/{threadId}/comments/{commentId}
Parameters
Type Name Description Schema

Path

commentId
required

commentId

integer (int64)

Path

threadId
required

threadId

integer (int64)

Body

updatedComment
required

updatedComment

SecureCommentRecord

Responses
HTTP Code Description Schema

200

OK

Comment

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

No Content

422

Unprocessable Entity

HttpErrorResponse

Consumes
  • application/vnd.ge.mes.v2.update+json

  • application/vnd.ge.mes.v1.update+json

  • application/json;charset=UTF-8

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.3.6. Delete a comment

DELETE /comment/v1/commentThreads/{threadId}/comments/{commentId}
Parameters
Type Name Description Schema

Path

commentId
required

commentId

integer (int64)

Path

threadId
required

threadId

integer (int64)

Query

commentType
required

commentType

enum (Tests, Variables, Product, ProductionEvent, SheetColumns, AlarmTemplates, AlarmTemplateVariableData, ProdUnits, UDE, UDECause, UDEAction, UDEResearch, AlarmCause, AlarmAction, AlarmResearch, DowntimeCause, DowntimeAction, DowntimeResearch, ProductChange, WasteCause, WasteAction, WasteResearch, EDModels, Calculations, EventSubtypes, EventConfiguration, CustomerOrders, CustomerOrderLineItems, EDFields, ProductionPlan, Characteristics, ProductionLines, ProductionGroups, SecurityGroups, Specifications, ProductionSetup, ProductionSetupDetail, CrewSchedule, ActiveSpecs, COA, COAItems, ContainerLocation, CustomerCOA, EventDetails, EventReasons, GB_DSet, GB_RSum, InProcessBins, PrdExecInputEvent, ProductFamily, ProductProperties, ProductionPlanStarts, ReportTreeTemplates, ReportWebpages, SavedQueries, Sheets, Shipment, ShipmentLineItems, StoredProcs, DowntimeSummaryAction, DowntimeSummaryCause, DowntimeSummaryResearch, TransProperties, TransVariables, Transactions, VarSpecs, DefectDetailsAction, DefectDetailsCause, DefectDetailsResearch, PrdExecPaths, UnitLocation, Departments, PrdExecPathUnitStarts, NonProductiveDetail, Activity)

Query

unitId
required

unitId

integer (int64)

Responses
HTTP Code Description Schema

200

OK

Comment

204

No Content

Comment

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

422

Unprocessable Entity

HttpErrorResponse

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.4. Department-controller

Department Controller

2.4.1. Get departments

GET /s95/v1/departments
Parameters
Type Name Description Schema

Query

expandLines
optional

expandLines

boolean

Responses
HTTP Code Description Schema

200

OK

< Department > array

401

Unauthorized

No Content

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.4.2. Get a department

GET /s95/v1/departments/{departmentId}
Parameters
Type Name Description Schema

Path

departmentId
required

departmentId

integer (int64)

Query

expandLines
optional

expandLines

boolean

Responses
HTTP Code Description Schema

200

OK

Department

401

Unauthorized

No Content

404

Not Found

HttpErrorResponse

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5. Downtime-controller

Downtime Controller

2.5.1. Create a downtime record. This is deprecated and will be removed in future release. Use /api/downtimeRecords from downtime-service

POST /downtime/v1/downtimeRecords
Caution

operation.deprecated

Parameters
Type Name Description Schema

Body

downtime
required

downtime

DowntimeRecord

Responses
HTTP Code Description Schema

201

Created

Downtime

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

HttpErrorResponse

409

Record Conflict

HttpErrorResponse

422

Unprocessable Entity

HttpErrorResponse

Consumes
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5.2. Get all downtime records. This is deprecated and will be removed in future release. Use /api/downtimeRecords from downtime-service

GET /downtime/v1/downtimeRecords
Caution

operation.deprecated

Parameters
Type Name Description Schema Default

Query

endTime
optional

endTime

string (date-time)

Query

filterCategoryIds
optional

filterCategoryIds

string

Query

filterLocationIds
optional

filterLocationIds

string

Query

filterMaxDuration
optional

filterMaxDuration

number (double)

Query

filterMinDuration
optional

filterMinDuration

number (double)

Query

filterNptOnly
optional

filterNptOnly

boolean

Query

filterStatusIds
optional

filterStatusIds

string

Query

isMasterUnit
optional

isMasterUnit

boolean

"true"

Query

lineIds
optional

lineIds

string

Query

startTime
optional

startTime

string (date-time)

Query

timeSelection
optional

timeSelection

integer (int64)

Query

unitIds
optional

unitIds

string

Responses
HTTP Code Description Schema

200

OK

DowntimePage

401

Unauthorized

No Content

403

Forbidden, Authenticated user is not known by MES

No Content

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5.3. Split a downtime record. This is deprecated and will be removed in future release. Use /api/downtimeRecords from downtime-service

PATCH /downtime/v1/downtimeRecords
Caution

operation.deprecated

Parameters
Type Name Description Schema

Body

downtimeRecords
required

downtimeRecords

DowntimeRecords

Responses
HTTP Code Description Schema

200

OK

< Downtime > array

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

HttpErrorResponse

409

Record Conflict

HttpErrorResponse

422

Unprocessable Entity

HttpErrorResponse

Consumes
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5.4. Get a downtime record. This is deprecated and will be removed in future release. Use /api/downtimeRecords/{id} from downtime-service

GET /downtime/v1/downtimeRecords/{id}
Caution

operation.deprecated

Parameters
Type Name Description Schema

Path

id
required

id

integer (int64)

Responses
HTTP Code Description Schema

200

OK

Downtime

401

Unauthorized

No Content

403

Forbidden, Authenticated user is not known by MES

No Content

404

Not Found

No Content

Produces
  • application/json

  • application/vnd.ge.mes.v2.full+json

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5.5. Update a downtime record. This is deprecated and will be removed in future release. Use /api/downtimeRecords/{id} from downtime-service

PUT /downtime/v1/downtimeRecords/{id}
Caution

operation.deprecated

Parameters
Type Name Description Schema Default

Path

id
required

id

integer (int64)

Query

mergeExistingRecords
optional

mergeExistingRecords

boolean

"false"

Body

updatedDowntime
required

updatedDowntime

DowntimeRecord

Responses
HTTP Code Description Schema

200

OK

Downtime

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

HttpErrorResponse

409

Record Conflict

HttpErrorResponse

422

Unprocessable Entity

HttpErrorResponse

Consumes
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5.6. Delete a downtime record. This is deprecated and will be removed in future release. Use /api/downtimeRecords/{id} from downtime-service

DELETE /downtime/v1/downtimeRecords/{id}
Caution

operation.deprecated

Parameters
Type Name Description Schema

Path

id
required

id

integer (int64)

Responses
HTTP Code Description Schema

200

OK

object

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

HttpErrorResponse

422

Unprocessable Entity

HttpErrorResponse

Produces
  • /

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.6. Downtime-statistics-controller

Downtime Statistics Controller

2.6.1. Get all downtime records. This is deprecated and will be removed in future release. Use /api/downtimeStatistics from downtime-service

GET /downtime/v1/downtimeStatistics
Caution

operation.deprecated

Parameters
Type Name Description Schema

Query

endTime
optional

endTime

string (date-time)

Query

filterCategoryIds
optional

filterCategoryIds

string

Query

filterLocationIds
optional

filterLocationIds

string

Query

filterMaxDuration
optional

filterMaxDuration

number (double)

Query

filterMinDuration
optional

filterMinDuration

number (double)

Query

filterNptOnly
optional

filterNptOnly

boolean

Query

filterStatusIds
optional

filterStatusIds

string

Query

isMaster
optional

isMaster

boolean

Query

lineIds
optional

lineIds

string

Query

startTime
optional

startTime

string (date-time)

Query

timeSelection
required

timeSelection

integer (int64)

Query

unitIds
optional

unitIds

string

Responses
HTTP Code Description Schema

200

OK

DowntimeSummary

401

Unauthorized

No Content

403

Forbidden, Authenticated user is not known by MES

No Content

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.7. Downtime-unit-controller

Downtime Unit Controller

2.7.1. Get all units

GET /downtime/v1/units
Parameters
Type Name Description Schema

Query

lineId
optional

lineId

integer (int64)

Query

unitId
optional

unitId

integer (int64)

Responses
HTTP Code Description Schema

200

OK

< BaseAsset > array

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

403

Forbidden, Authenticated user is not known by MES

No Content

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.8. Fault-controller

Fault Controller

2.8.1. Get all faults. This is deprecated and will be removed in future release. Use /api/faults from downtime-service

GET /downtime/v1/faults
Caution

operation.deprecated

Parameters
Type Name Description Schema

Query

unitId
required

unitId

integer (int64)

Responses
HTTP Code Description Schema

200

OK

FaultPage

401

Unauthorized

No Content

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.8.2. Get a fault. This is deprecated and will be removed in future release. Use /api/faults/{id} from downtime-service

GET /downtime/v1/faults/{id}
Caution

operation.deprecated

Parameters
Type Name Description Schema

Path

id
required

id

integer (int64)

Responses
HTTP Code Description Schema

200

OK

Fault

401

Unauthorized

No Content

404

Not Found

No Content

Produces
  • application/json

  • application/vnd.ge.mes.v2.full+json

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.9. Group-controller

Group Controller

2.9.1. Get groups

GET /s95/v1/groups
Parameters
Type Name Description Schema

Query

expandVariables
optional

expandVariables

boolean

Query

unitId
optional

unitId

integer (int64)

Responses
HTTP Code Description Schema

200

OK

< Group > array

401

Unauthorized

No Content

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.9.2. Get a group

GET /s95/v1/groups/{groupId}
Parameters
Type Name Description Schema

Path

groupId
required

groupId

integer (int64)

Query

expandVariables
optional

expandVariables

boolean

Responses
HTTP Code Description Schema

200

OK

Group

401

Unauthorized

No Content

404

Not Found

HttpErrorResponse

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.10. Line-controller

Line Controller

2.10.1. Get all lines

GET /s95/v1/lines
Parameters
Type Name Description Schema

Query

departmentId
optional

departmentId

integer (int64)

Query

expandUnits
optional

expandUnits

boolean

Query

isRouteEnabled
optional

isRouteEnabled

boolean

Responses
HTTP Code Description Schema

200

OK

< Line > array

401

Unauthorized

No Content

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.10.2. Get a line

GET /s95/v1/lines/{lineId}
Parameters
Type Name Description Schema

Path

lineId
required

lineId

integer (int64)

Query

expandUnits
optional

expandUnits

boolean

Responses
HTTP Code Description Schema

200

OK

Line

401

Unauthorized

No Content

404

Not Found

HttpErrorResponse

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.11. Npt-controller

Npt Controller

2.11.1. Add NPT record

POST /schedule/v1/nonProductiveTimeRecords
Parameters
Type Name Description Schema

Body

npt
required

npt

NptRecord

Responses
HTTP Code Description Schema

200

OK

Npt

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

HttpErrorResponse

409

Record Conflict

HttpErrorResponse

422

Unprocessable Entity

HttpErrorResponse

Consumes
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.11.2. Get a NPT record

GET /schedule/v1/nonProductiveTimeRecords/{id}
Parameters
Type Name Description Schema

Path

id
required

id

integer (int64)

Responses
HTTP Code Description Schema

200

OK

Npt

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

HttpErrorResponse

409

Record Conflict

HttpErrorResponse

422

Unprocessable Entity

HttpErrorResponse

Produces
  • application/json

  • application/vnd.ge.mes.v2.full+json

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.11.3. Update a NPT record

PUT /schedule/v1/nonProductiveTimeRecords/{id}
Parameters
Type Name Description Schema

Path

id
required

id

integer (int64)

Body

updatedNpt
required

updatedNpt

NptRecord

Responses
HTTP Code Description Schema

200

OK

Npt

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

HttpErrorResponse

409

Record Conflict

HttpErrorResponse

422

Unprocessable Entity

HttpErrorResponse

Consumes
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.11.4. Get available end times

GET /schedule/v1/nonProductiveTimeRecords/{id}/availableEditTimes
Parameters
Type Name Description Schema

Path

id
required

id

integer (int64)

Responses
HTTP Code Description Schema

200

OK

TimeRange

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

403

Forbidden, Authenticated user is not known by MES

No Content

404

Not Found

No Content

Produces
  • application/json

  • application/vnd.ge.mes.v2.full+json

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.12. Path-controller

Path Controller

2.12.1. Get paths

GET /production/v1/lines/{lineId}/paths
Parameters
Type Name Description Schema

Path

lineId
required

lineId

integer (int64)

Query

unitIds
optional

unitIds

string

Responses
HTTP Code Description Schema

200

OK

ExecutionPathPage

401

Unauthorized

No Content

403

Forbidden, Authenticated user is not known by MES

No Content

404

Not Found

No Content

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.12.2. Get a path

GET /production/v1/lines/{lineId}/paths/{pathId}
Parameters
Type Name Description Schema

Path

lineId
required

lineId

integer (int64)

Path

pathId
required

pathId

integer (int64)

Responses
HTTP Code Description Schema

200

OK

ExecutionPath

401

Unauthorized

No Content

403

Forbidden, Authenticated user is not known by MES

No Content

404

Not Found

HttpErrorResponse

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.12.3. Get a path

GET /production/v1/paths/{pathId}
Parameters
Type Name Description Schema

Path

pathId
required

pathId

integer (int64)

Responses
HTTP Code Description Schema

301

Moved Permanently

object

401

Unauthorized

No Content

403

Forbidden, Authenticated user is not known by MES

No Content

404

Not Found

HttpErrorResponse

Produces
  • /

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.13. Process-order-actuals-controller

Process Order Actuals Controller

2.13.1. Get actuals for a process order

GET /production/v1/process-orders/{id}/actuals
Parameters
Type Name Description Schema

Path

id
required

id

integer (int64)

Responses
HTTP Code Description Schema

200

OK

ProcessOrderActuals

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

HttpErrorResponse

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.14. Process-order-controller

Process Order Controller

2.14.1. Add a process order

POST /production/v1/process-orders
Parameters
Type Name Description Schema

Body

newProcessOrder
required

newProcessOrder

ProcessOrderPlanInfo

Responses
HTTP Code Description Schema

201

Created

ProcessOrder

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

HttpErrorResponse

422

Unprocessable Entity

HttpErrorResponse

Consumes
  • application/vnd.ge.mes.v2.full+json

  • application/vnd.ge.mes.v1.full+json

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.14.2. Get process orders

GET /production/v1/process-orders
Parameters
Type Name Description Schema

Query

lineId
optional

Production line id

integer (int64)

Query

page
optional

Results page you want to retrieve (0..N)

integer (int32)

Query

size
optional

Number of records per page.

integer (int32)

Query

statusIds
optional

Comma separated list of status ids

string

Responses
HTTP Code Description Schema

200

OK

ProcessOrderPage

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.14.3. Get a process order

GET /production/v1/process-orders/{id}
Parameters
Type Name Description Schema

Path

id
required

id

integer (int64)

Responses
HTTP Code Description Schema

200

OK

ProcessOrder

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

HttpErrorResponse

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.14.4. Update a process order

PUT /production/v1/process-orders/{id}
Parameters
Type Name Description Schema

Path

id
required

id

integer (int64)

Body

updatedProcessOrder
required

updatedProcessOrder

ProcessOrderPlanInfo

Responses
HTTP Code Description Schema

200

OK

ProcessOrder

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

HttpErrorResponse

422

Unprocessable Entity

HttpErrorResponse

Consumes
  • application/vnd.ge.mes.v2.full+json

  • application/vnd.ge.mes.v1.full+json

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.14.5. Delete a process order

DELETE /production/v1/process-orders/{id}
Parameters
Type Name Description Schema

Path

id
required

id

integer (int64)

Responses
HTTP Code Description Schema

204

No Content

object

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

HttpErrorResponse

Produces
  • /

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.15. Process-order-start-controller

Process Order Start Controller

2.15.1. Add a process order start

POST /production/v1/process-orders/{processOrderId}/starts
Parameters
Type Name Description Schema

Path

processOrderId
required

processOrderId

integer (int64)

Body

newProcessOrderStart
required

newProcessOrderStart

ProcessOrderStartCreateInfo

Responses
HTTP Code Description Schema

201

Created

ProcessOrderStart

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

HttpErrorResponse

422

Unprocessable Entity

HttpErrorResponse

Consumes
  • application/vnd.ge.mes.v2.create+json

  • application/vnd.ge.mes.v1.create+json

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.15.2. Get process order starts

GET /production/v1/process-orders/{processOrderId}/starts
Parameters
Type Name Description Schema

Path

processOrderId
required

processOrderId

integer (int64)

Query

page
optional

Results page you want to retrieve (0..N)

integer (int32)

Query

size
optional

Number of records per page.

integer (int32)

Query

unitIds
optional

Comma separated list of unit ids. Only return PO Starts for these units.

string

Responses
HTTP Code Description Schema

200

OK

ProcessOrderStartPage

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

HttpErrorResponse

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.15.3. Get a process order start

GET /production/v1/process-orders/{processOrderId}/starts/{id}
Parameters
Type Name Description Schema

Path

id
required

id

integer (int64)

Path

processOrderId
required

processOrderId

integer (int64)

Responses
HTTP Code Description Schema

200

OK

ProcessOrderStart

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

HttpErrorResponse

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.15.4. Update a process order start

PUT /production/v1/process-orders/{processOrderId}/starts/{id}
Parameters
Type Name Description Schema

Path

id
required

id

integer (int64)

Path

processOrderId
required

processOrderId

integer (int64)

Body

updatedProcessOrderStart
required

updatedProcessOrderStart

ProcessOrderStartUpdateInfo

Responses
HTTP Code Description Schema

200

OK

ProcessOrderStart

400

Invalid data supplied. See message for details.

No Content

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

HttpErrorResponse

422

Unprocessable Entity

HttpErrorResponse

Consumes
  • application/vnd.ge.mes.v2.update+json

  • application/vnd.ge.mes.v1.update+json

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.15.5. Delete a process order start

DELETE /production/v1/process-orders/{processOrderId}/starts/{id}
Parameters
Type Name Description Schema

Path

id
required

id

integer (int64)

Path

processOrderId
required

processOrderId

integer (int64)

Responses
HTTP Code Description Schema

204

No Content

object

401

Unauthorized

No Content

403

Forbidden

HttpErrorResponse

404

Not Found

HttpErrorResponse

Produces
  • /

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.16. Product-controller

Product Controller

2.16.1. Get products

GET /product/v1/products
Parameters
Type Name Description Schema

Query

productFamilyIds
optional

productFamilyIds

string

Query

productGroupIds
optional

productGroupIds

string

Responses
HTTP Code Description Schema

200

OK

ProductPage

401

Unauthorized

No Content

403

Forbidden, Authenticated user is not known by MES

No Content

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.16.2. Get product by ID

GET /product/v1/products/{id}
Parameters
Type Name Description Schema

Path

id
required

id

integer (int64)

Responses
HTTP Code Description Schema

200

OK

Product

401

Unauthorized

No Content

403

Forbidden, Authenticated user is not known by MES

No Content

404

Not Found

No Content

Produces
  • application/json

  • application/vnd.ge.mes.v2.full+json

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.17. Product-family-controller

Product Family Controller

2.17.1. Get product families

GET /product/v1/productFamilies
Parameters
Type Name Description Schema

Query

productId
optional

productId

integer (int64)

Responses
HTTP Code Description Schema

200

OK

ProductFamilyPage

401

Unauthorized

No Content

403

Forbidden, Authenticated user is not known by MES

No Content

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.17.2. Get product family by ID

GET /product/v1/productFamilies/{id}
Parameters
Type Name Description Schema

Path

id
required

id

integer (int64)

Responses
HTTP Code Description Schema

200

OK

ProductFamily

401

Unauthorized

No Content

403

Forbidden, Authenticated user is not known by MES

No Content

404

Not Found

No Content

Produces
  • application/json

  • application/vnd.ge.mes.v2.full+json

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.18. Product-group-controller

Product Group Controller

2.18.1. Get product groups

GET /product/v1/productGroups
Parameters
Type Name Description Schema

Query

productId
optional

productId

integer (int64)

Responses
HTTP Code Description Schema

200

OK

ProductGroupPage

401

Unauthorized

No Content

403

Forbidden, Authenticated user is not known by MES

No Content

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.18.2. Get product group by ID

GET /product/v1/productGroups/{id}
Parameters
Type Name Description Schema

Path

id
required

id

integer (int64)

Responses
HTTP Code Description Schema

200

OK

ProductGroup

401

Unauthorized

No Content

403

Forbidden, Authenticated user is not known by MES

No Content

404

Not Found

No Content

Produces
  • application/json

  • application/vnd.ge.mes.v2.full+json

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.19. Product-unit-controller

Product Unit Controller

2.19.1. Get product units

GET /product/v1/productUnits
Parameters
Type Name Description Schema

Query

departmentIds
optional

departmentIds

string

Query

lineIds
optional

lineIds

string

Query

productIds
optional

productIds

string

Query

unitIds
optional

unitIds

string

Responses
HTTP Code Description Schema

200

OK

ProductUnitPage

401

Unauthorized

No Content

403

Forbidden, Authenticated user is not known by MES

No Content

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.19.2. Get product unit by ID

GET /product/v1/productUnits/{id}
Parameters
Type Name Description Schema

Path

id
required

id

string

Responses
HTTP Code Description Schema

200

OK

ProductUnit

401

Unauthorized

No Content

403

Forbidden, Authenticated user is not known by MES

No Content

404

Not Found

No Content

Produces
  • application/json

  • application/vnd.ge.mes.v2.full+json

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.20. Production-ratio-controller

Production Ratio Controller

2.20.1. Create production ratio

POST /s95/v1/production-ratios
Parameters
Type Name Description Schema

Body

input
required

input

ProductionRatioInfo

Responses
HTTP Code Description Schema

201

Created

ProductionRatio

422

Unprocessable Entity

No Content

Consumes
  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Produces
  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.20.2. Get production ratios

GET /s95/v1/production-ratios
Parameters
Type Name Description Schema

Query

productId
optional

productId

integer (int64)

Responses
HTTP Code Description Schema

200

OK

< ProductionRatio > array

Produces
  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.20.3. Delete production ratios

DELETE /s95/v1/production-ratios
Responses
HTTP Code Description Schema

200

OK

ResponseEntity

Produces
  • /

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.20.4. Get a production ratio

GET /s95/v1/production-ratios/{ratioId}
Parameters
Type Name Description Schema

Path

ratioId
required

ratioId

integer (int64)

Responses
HTTP Code Description Schema

200

OK

ProductionRatio

400

Not Found

No Content

Produces
  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.20.5. Update production ratio

PUT /s95/v1/production-ratios/{ratioId}
Parameters
Type Name Description Schema

Path

ratioId
required

ratioId

integer (int64)

Body

input
required

input

ProductionRatioInfo

Responses
HTTP Code Description Schema

200

OK

ProductionRatio

404

Not Found

No Content

422

Unprocessable Entity

No Content

Consumes
  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Produces
  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.20.6. Delete a production ratio

DELETE /s95/v1/production-ratios/{ratioId}
Parameters
Type Name Description Schema

Path

ratioId
required

ratioId

integer (int64)

Responses
HTTP Code Description Schema

200

OK

ResponseEntity

Produces
  • /

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.21. Site-parameter-controller

Site Parameter Controller

2.21.1. Get a Site parameter value

GET /s95/v1/siteParameters/{parameterId}
Parameters
Type Name Description Schema

Path

parameterId
required

parameterId

integer (int64)

Responses
HTTP Code Description Schema

200

OK

SiteParameterInfo

401

Unauthorized

No Content

404

Not Found

HttpErrorResponse

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.22. Unit-controller

Unit Controller

2.22.1. Get all units (for a specific line, if specified)

GET /s95/v1/units
Parameters
Type Name Description Schema

Query

expandGroups
optional

expandGroups

boolean

Query

isInventoryUnit
optional

isInventoryUnit

boolean

Query

isVirtual
optional

isVirtual

boolean

Query

lineId
optional

lineId

integer (int64)

Responses
HTTP Code Description Schema

200

OK

< Unit > array

401

Unauthorized

No Content

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.22.2. Get a unit

GET /s95/v1/units/{unitId}
Parameters
Type Name Description Schema

Path

unitId
required

unitId

integer (int64)

Query

expandGroups
optional

expandGroups

boolean

Responses
HTTP Code Description Schema

200

OK

Unit

401

Unauthorized

No Content

404

Not Found

HttpErrorResponse

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.22.3. Get Variable categories for a unit

GET /s95/v1/units/{unitId}/variableCategories
Parameters
Type Name Description Schema

Path

unitId
required

unitId

integer (int64)

Query

page
optional

Results page you want to retrieve (0..N)

integer (int32)

Query

size
optional

Number of records per page.

integer (int32)

Responses
HTTP Code Description Schema

200

OK

< VariableCategoryResource > array

401

Unauthorized

No Content

404

Not Found

HttpErrorResponse

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.23. Unit-process-orders-controller

Unit Process Orders Controller

2.23.1. Get all unit process orders (for a specific line, if specified)

GET /production/v1/units
Parameters
Type Name Description Schema

Query

lineId
optional

lineId

integer (int64)

Responses
HTTP Code Description Schema

200

OK

< UnitProcessOrders > array

401

Unauthorized

No Content

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.23.2. Get process orders for a unit

GET /production/v1/units/{unitId}
Parameters
Type Name Description Schema

Path

unitId
required

unitId

integer (int64)

Responses
HTTP Code Description Schema

200

OK

UnitProcessOrders

401

Unauthorized

No Content

404

Not Found

No Content

422

Unprocessable Entity

No Content

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.24. Variable-category-controller

Variable Category Controller

2.24.1. Get variable Categories

GET /s95/v1/variableCategories
Parameters
Type Name Description Schema

Query

name
optional

name

string

Query

page
optional

Results page you want to retrieve (0..N)

integer (int32)

Query

size
optional

Number of records per page.

integer (int32)

Responses
HTTP Code Description Schema

200

OK

< VariableCategoryResource > array

401

Unauthorized

No Content

404

Not Found

HttpErrorResponse

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.24.2. Get variable Category by Id

GET /s95/v1/variableCategories/{variableCategoryId}
Parameters
Type Name Description Schema

Path

variableCategoryId
required

variableCategoryId

integer (int64)

Responses
HTTP Code Description Schema

200

OK

VariableCategoryResource

401

Unauthorized

No Content

404

Not Found

HttpErrorResponse

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.25. Variable-controller

Variable Controller

2.25.1. Get variables

GET /s95/v1/variables
Parameters
Type Name Description Schema

Query

groupId
optional

groupId

integer (int64)

Responses
HTTP Code Description Schema

200

OK

< Variable > array

401

Unauthorized

No Content

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.25.2. Get variable

GET /s95/v1/variables/{variableId}
Parameters
Type Name Description Schema

Path

variableId
required

variableId

integer (int64)

Responses
HTTP Code Description Schema

200

OK

Variable

401

Unauthorized

No Content

404

Not Found

HttpErrorResponse

Produces
  • application/vnd.ge.mes.v2.full+json

  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

3. Definitions

3.1. ActiveProduct

Name Description Schema

endTime
optional

The end time of the product record

string (date-time)

links
optional

< Link > array

productId
optional

Product Id of the product record

integer (int64)

startTime
optional

The start time of the product record

string (date-time)

unitId
optional

Unit Id of the product record

integer (int64)

3.2. ActiveProductPage

Name Schema

content
optional

< ActiveProduct > array

links
optional

< Link > array

page
optional

PageMetadata

3.3. BaseAsset

Name Description Schema

assetId
optional

The asset ID

integer (int64)

links
optional

< Link > array

name
optional

The name of the asset

string

permissions
optional

< Permission > array

type
optional

The type of the asset

enum (Department, Line, Unit, Group, Variable, ProcessOrder)

3.4. BaseAssetInfo

Name Description Schema

assetId
optional

The asset ID

integer (int64)

name
optional

The name of the asset

string

type
optional

The type of the asset

enum (Department, Line, Unit, Group, Variable, ProcessOrder)

3.5. CategoryStatistics

Name Description Schema

categoryDisplayName
optional

The display name of the category

string

categoryId
optional

Unique identifier of the category

integer (int64)

count
optional

The count of the items in this category

integer (int64)

name
optional

string

3.6. CollectionMetadata

Name Schema

totalElements
optional

integer (int32)

3.7. ColorSchemeFieldInfo

Name Description Schema

category
optional

Category of the Color Scheme Field.

enum (AutologCellForeground, AutologCellBackground, Spreadsheet, Trendsheet, DelayReports, QualityReports, COAReports, OtherReports, ProficyWebCharts, Downtime, Waste)

color
optional

Color Code.

string

colorSchemeFieldDesc
optional

string

colorSchemeFieldId
optional

integer (int64)

colorSchemeInfo
optional

Color Scheme to which Color Scheme Field belongs to.

ColorSchemeInfo

3.8. ColorSchemeFieldInfoResources

Name Schema

content
optional

< ColorSchemeFieldInfo > array

links
optional

< Link > array

3.9. ColorSchemeInfo

Name Schema

colorSchemeDesc
optional

string

colorSchemeId
optional

integer (int64)

3.10. Comment

Name Description Schema

commentId
optional

Unique identifier of this comment record

integer (int64)

commentText
optional

The text of the comment

string

commentTime
optional

The time this comment was entered

string (date-time)

links
optional

< Link > array

threadId
optional

Comment thread this record is part of

integer (int64)

user
optional

The user who entered this comment

IdNameValue

3.11. CommentPage

Name Schema

content
optional

< Comment > array

links
optional

< Link > array

page
optional

PageMetadata

3.12. DataSourceInfo

Name Schema

nodeId
optional

string

systemName
optional

string

systemType
optional

string

3.13. Department

Name Description Schema

assetId
optional

The asset ID

integer (int64)

lines
optional

Collection of lines belonging to this department

LineCollection

links
optional

< Link > array

name
optional

The name of the asset

string

type
optional

The type of the asset

enum (Department, Line, Unit, Group, Variable, ProcessOrder)

3.14. Downtime

Name Description Schema

action1
optional

The Level 1 Action of the downtime record.

IdNameValue

action2
optional

The Level 2 Action of the downtime record.

IdNameValue

action3
optional

The Level 3 Action of the downtime record.

IdNameValue

action4
optional

The Level 4 Action of the downtime record.

IdNameValue

actionCommentsThreadId
optional

The Action Comments Thread Id of the downtime record. Points to a chain of comments.

integer (int64)

asset
optional

The Asset(Unit) of the downtime record

BaseAssetInfo

category
optional

The Category of the downtime record

IdNameValue

cause1
optional

The Level 1 Cause (Reason) of the downtime record.

IdNameValue

cause2
optional

The Level 2 Cause (Reason) of the downtime record.

IdNameValue

cause3
optional

The Level 3 Cause (Reason) of the downtime record.

IdNameValue

cause4
optional

The Level 4 Cause (Reason) of the downtime record.

IdNameValue

causeCommentsThreadId
optional

The Cause Comments Thread Id of the downtime record. Points to a chain of comments.

integer (int64)

department
optional

The Department of the downtime record

BaseAssetInfo

downtimeId
optional

The Unique Id of the downtime record

integer (int64)

duration
optional

The Duration of the downtime record

number (double)

eSignatureId
optional

The E-Signature Id of the downtime record. Points to a Electronic signature record.

integer (int64)

endTime
optional

The End Time of the downtime record

string (date-time)

eventStatus
optional

The Event Status of the downtime record

IdNameValue

fault
optional

The Fault of the downtime record

IdNameValue

line
optional

The Line of the downtime record

BaseAssetInfo

links
optional

< Link > array

nptId
optional

The Id of the Non-Productive Time record associated with this downtime record. Will only be present if this is a Non-Productive Time cause record.

integer (int64)

permissions
optional

< Permission > array

reasonTreeDataId
optional

The Reason Tree Data Id of the downtime record. This is a unique id pointing to a specific set of reasons.

integer (int64)

reasonsComplete
optional

True if all of the cause (reason) levels have been entered to the lowest required level.
Example : false

boolean

researchCloseDate
optional

The Research Close Date of the downtime record.

string (date-time)

researchCommentsThreadId
optional

The Research Comments Thread Id of the downtime record. Points to a chain of comments.

integer (int64)

researchOpenDate
optional

The Research Open Date of the downtime record.

string (date-time)

researchStatus
optional

The Research Status of the downtime record.

IdNameValue

researchUser
optional

The Research User of the downtime record.

IdNameValue

startTime
optional

The Start Time of the downtime record

string (date-time)

status
optional

The Status of the downtime record

IdNameValue

uptime
optional

The Up Time of the downtime record

number (double)

user
optional

The User who entered the downtime record.

IdNameValue

3.15. DowntimeDurationFilter

Name Description Schema

maxDuration
optional

The maximum duration to be included in the filtered results

number (double)

minDuration
optional

The minimum duration to be included in the filtered results

number (double)

3.16. DowntimeLocation

Name Description Schema

asset
optional

The Asset (Unit) that identifies this location

BaseAssetInfo

department
optional

The Department this location belongs to

BaseAssetInfo

line
optional

The Line this location belongs to

BaseAssetInfo

3.17. DowntimePage

Name Schema

content
optional

< Downtime > array

links
optional

< Link > array

page
optional

PageMetadata

3.18. DowntimeRecord

Name Description Schema

action1
optional

The Level 1 Action of the downtime record.

IdNameValue

action2
optional

The Level 2 Action of the downtime record.

IdNameValue

action3
optional

The Level 3 Action of the downtime record.

IdNameValue

action4
optional

The Level 4 Action of the downtime record.

IdNameValue

actionCommentsThreadId
optional

The Action Comments Thread Id of the downtime record. Points to a chain of comments.

integer (int64)

asset
optional

The Asset(Unit) of the downtime record

BaseAssetInfo

category
optional

The Category of the downtime record

IdNameValue

cause1
optional

The Level 1 Cause (Reason) of the downtime record.

IdNameValue

cause2
optional

The Level 2 Cause (Reason) of the downtime record.

IdNameValue

cause3
optional

The Level 3 Cause (Reason) of the downtime record.

IdNameValue

cause4
optional

The Level 4 Cause (Reason) of the downtime record.

IdNameValue

causeCommentsThreadId
optional

The Cause Comments Thread Id of the downtime record. Points to a chain of comments.

integer (int64)

department
optional

The Department of the downtime record

BaseAssetInfo

downtimeId
optional

The Unique Id of the downtime record

integer (int64)

duration
optional

The Duration of the downtime record

number (double)

eSignatureId
optional

The E-Signature Id of the downtime record. Points to a Electronic signature record.

integer (int64)

endTime
optional

The End Time of the downtime record

string (date-time)

eventStatus
optional

The Event Status of the downtime record

IdNameValue

fault
optional

The Fault of the downtime record

IdNameValue

line
optional

The Line of the downtime record

BaseAssetInfo

nptId
optional

The Id of the Non-Productive Time record associated with this downtime record. Will only be present if this is a Non-Productive Time cause record.

integer (int64)

reasonTreeDataId
optional

The Reason Tree Data Id of the downtime record. This is a unique id pointing to a specific set of reasons.

integer (int64)

reasonsComplete
optional

True if all of the cause (reason) levels have been entered to the lowest required level.
Example : false

boolean

researchCloseDate
optional

The Research Close Date of the downtime record.

string (date-time)

researchCommentsThreadId
optional

The Research Comments Thread Id of the downtime record. Points to a chain of comments.

integer (int64)

researchOpenDate
optional

The Research Open Date of the downtime record.

string (date-time)

researchStatus
optional

The Research Status of the downtime record.

IdNameValue

researchUser
optional

The Research User of the downtime record.

IdNameValue

startTime
optional

The Start Time of the downtime record

string (date-time)

status
optional

The Status of the downtime record

IdNameValue

uptime
optional

The Up Time of the downtime record

number (double)

user
optional

The User who entered the downtime record.

IdNameValue

3.19. DowntimeRecords

Name Description Schema

downtimeRecords
optional

The list of downtime records

< DowntimeRecord > array

3.20. DowntimeSummary

Name Description Schema

categories
optional

List of category statistics. This provides counts of records available by category.

< CategoryStatistics > array

downtimeRecords
optional

Paged list of downtime records that match the request criteria

DowntimePage

filterCategories
optional

The categories available to filter by

< IdNameValue > array

filterDuration
optional

The duration available to filter by

DowntimeDurationFilter

filterLocations
optional

The locations available to filter by

< DowntimeLocation > array

filterStatuses
optional

The statuses available to filter by

< IdNameValue > array

links
optional

< Link > array

3.21. Error

Name Schema

code
optional

string

details
optional

object

3.22. ExecutionPath

Name Description Schema

code
optional

Customer Code for the path

string

commentsThreadId
optional

The Comments Thread Id of the path record. Points to a chain of comments.

integer (int64)

description
optional

Path Description

string

isLineProduction
optional

Production on this path should count towards line production
Example : false

boolean

isScheduleControlled
optional

The execution path is controlled by a schedule
Example : false

boolean

lineId
optional

The production line id of this path

integer (int64)

links
optional

< Link > array

pathId
optional

Unique Id of the path record

integer (int64)

pathUnits
optional

The pathUnits associated with this path

< ExecutionPathUnitInfo > array

scheduleControlType
optional

The schedule control type setting

enum (AllUnitsRunSameScheduleSimultaneously, ScheduleFlowsByEvent, ScheduleFlowsIndependently)

3.23. ExecutionPathPage

Name Schema

content
optional

< ExecutionPath > array

links
optional

< Link > array

page
optional

PageMetadata

3.24. ExecutionPathUnitInfo

Name Description Schema

executionPathUnitId
optional

Unique Id of the Execution Path Unit record

integer (int64)

isProductionPoint
optional

Is this unit the production counting unit of the path
Example : false

boolean

isSchedulePoint
optional

Is this unit the scheduling unit of the path
Example : false

boolean

pathId
optional

The Path Id of the path this unit is a member of

integer (int64)

unitId
optional

The production unit id

integer (int64)

unitOrder
optional

The execution order of this unit in the path

integer (int32)

3.25. Fault

Name Description Schema

faultId
optional

The Unique Id of the fault

integer (int64)

links
optional

< Link > array

name
optional

The descriptive name of the fault

string

reason1
optional

Level 1 reason associated with this fault

IdNameValue

reason2
optional

Level 2 reason associated with this fault

IdNameValue

reason3
optional

Level 3 reason associated with this fault

IdNameValue

reason4
optional

Level 4 reason associated with this fault

IdNameValue

3.26. FaultPage

Name Schema

content
optional

< Fault > array

links
optional

< Link > array

page
optional

PageMetadata

3.27. Group

Name Description Schema

assetId
optional

The asset ID

integer (int64)

links
optional

< Link > array

name
optional

The name of the asset

string

type
optional

The type of the asset

enum (Department, Line, Unit, Group, Variable, ProcessOrder)

variables
optional

Collection of variables belonging to this group

VariableCollection

3.28. HttpErrorResponse

Name Schema

error
optional

Error

path
optional

string

timestamp
optional

string

3.29. IdNameValue

Name Description Schema

id
optional

The unique ID of the entity

integer (int64)

name
optional

The name of the entity

string

3.30. Line

Name Description Schema

assetId
optional

The asset ID

integer (int64)

isRouteEnabled
optional

Is this line route enabled. A route enabled line is ready to be used by the route service and has been properly configured.
Example : false

boolean

links
optional

< Link > array

name
optional

The name of the asset

string

type
optional

The type of the asset

enum (Department, Line, Unit, Group, Variable, ProcessOrder)

units
optional

Collection of Units belonging to this Line

UnitCollection

3.31. LineCollection

Name Schema

collection
optional

CollectionMetadata

content
optional

< Line > array

links
optional

< Link > array

Name Schema

href
optional

string

rel
optional

string

templated
optional

boolean

3.33. Npt

Name Description Schema

asset
optional

The Asset(Unit) of the NPT record

BaseAssetInfo

commentId
optional

The Comment Id of the NPT record. Points to a chain of comments.

integer (int64)

department
optional

Department of the NPT record

BaseAssetInfo

endTime
optional

The End Time of the NPT record

string (date-time)

entryOn
optional

The Entry On time of the NPT record.

string (date-time)

line
optional

Line of the NPT record

BaseAssetInfo

links
optional

< Link > array

nptId
optional

Unique ID of the NPT record

integer (int64)

reason1
optional

The Level 1 Reason of the NPT record.

IdNameValue

reason2
optional

The Level 2 Reason of the NPT record.

IdNameValue

reason3
optional

The Level 3 Reason of the NPT record.

IdNameValue

reason4
optional

The Level 4 Reason of the NPT record.

IdNameValue

reasonTreeDataId
optional

The Reason Tree Data Id of the NPT record. This is a unique id pointing to a specific set of reasons.

integer (int64)

reasonsComplete
optional

True if all of the reason levels have been entered to the lowest required level.
Example : false

boolean

startTime
optional

The Start Time of the NPT record

string (date-time)

user
optional

The User who entered the NPT. This may be a system user if the event was generated by a service.

IdNameValue

3.34. NptRecord

Name Description Schema

asset
optional

The Asset(Unit) of the NPT record

BaseAssetInfo

commentId
optional

The Comment Id of the NPT record. Points to a chain of comments.

integer (int64)

department
optional

Department of the NPT record

BaseAssetInfo

endTime
optional

The End Time of the NPT record

string (date-time)

entryOn
optional

The Entry On time of the NPT record.

string (date-time)

line
optional

Line of the NPT record

BaseAssetInfo

nptId
optional

Unique ID of the NPT record

integer (int64)

reason1
optional

The Level 1 Reason of the NPT record.

IdNameValue

reason2
optional

The Level 2 Reason of the NPT record.

IdNameValue

reason3
optional

The Level 3 Reason of the NPT record.

IdNameValue

reason4
optional

The Level 4 Reason of the NPT record.

IdNameValue

reasonTreeDataId
optional

The Reason Tree Data Id of the NPT record. This is a unique id pointing to a specific set of reasons.

integer (int64)

reasonsComplete
optional

True if all of the reason levels have been entered to the lowest required level.
Example : false

boolean

startTime
optional

The Start Time of the NPT record

string (date-time)

user
optional

The User who entered the NPT. This may be a system user if the event was generated by a service.

IdNameValue

3.35. PageMetadata

Name Schema

number
optional

integer (int64)

size
optional

integer (int64)

totalElements
optional

integer (int64)

totalPages
optional

integer (int64)

3.36. Permission

Name Schema

permissionName
optional

string

permissionValue
optional

boolean

3.37. ProcessOrder

Name Description Schema

adjustedQuantity
optional

Actual quantity of product this process order has produced

number (double)

bomFormulationId
optional

Specifies the BOM Formulation Id of the order

integer (int64)

commentsThreadId
optional

The Comments Thread Id of the process order record. Points to a chain of comments.

integer (int64)

controlTypeId
optional

Specifies the control type of the order

integer (int64)

impliedSequence
optional

Execution sequence is normally by planned start, but this can override the sequence

integer (int64)

links
optional

< Link > array

name
optional

Descriptive Name of the process order

string

orderTypeId
optional

Specifies the type of the order (Production Plan Type)

integer (int64)

pathId
optional

The Path Id this process order uses

integer (int64)

plannedEndTime
optional

The planned time to finish the order

string (date-time)

plannedQuantity
optional

Quantity of product this process order is requesting

number (double)

plannedStartTime
optional

The planned time to start the order

string (date-time)

processOrderId
optional

Unique Id of the process order record

integer (int64)

productId
optional

Product Id of the product this process order is requesting

integer (int64)

productionRate
optional

Production rate of this product

number (double)

statusId
optional

The status of the process order

integer (int64)

userId
optional

The User who entered the process order.

integer (int64)

3.38. ProcessOrderActuals

Name Description Schema

actualBadItems
optional

Count of bad events (Items)

integer (int64)

actualBadQuantity
optional

Quantity of bad production

number (double)

actualDownTime
optional

Minutes of downtime

number (double)

actualEndTime
optional

The actual time the order was ended

string (date-time)

actualGoodItems
optional

Count of good events (Items)

integer (int64)

actualGoodQuantity
optional

Quantity of good production

number (double)

actualRunningTime
optional

Minutes of running time

number (double)

actualStartTime
optional

The actual time the order was started

string (date-time)

alarmCount
optional

Number of alarms on this order

integer (int64)

links
optional

< Link > array

pathId
optional

The Path Id this process order uses

integer (int64)

predictedRemainingDuration
optional

Predicted time (minutes) remaining to complete this order

number (double)

predictedRemainingQuantity
optional

Predicted quantity remaining to be produced

number (double)

predictedTotalDuration
optional

Predicted total running time of the order

number (double)

processOrderId
optional

Unique Id of the process order record

integer (int64)

3.39. ProcessOrderPage

Name Schema

content
optional

< ProcessOrder > array

links
optional

< Link > array

page
optional

PageMetadata

3.40. ProcessOrderPlanInfo

Name Description Schema

adjustedQuantity
optional

Actual quantity of product this process order has produced

number (double)

bomFormulationId
optional

Specifies the BOM Formulation Id of the order

integer (int64)

commentsThreadId
optional

The Comments Thread Id of the process order record. Points to a chain of comments.

integer (int64)

controlTypeId
optional

Specifies the control type of the order

integer (int64)

impliedSequence
optional

Execution sequence is normally by planned start, but this can override the sequence

integer (int64)

name
optional

Descriptive Name of the process order

string

orderTypeId
optional

Specifies the type of the order (Production Plan Type)

integer (int64)

pathId
optional

The Path Id this process order uses

integer (int64)

plannedEndTime
optional

The planned time to finish the order

string (date-time)

plannedQuantity
optional

Quantity of product this process order is requesting

number (double)

plannedStartTime
optional

The planned time to start the order

string (date-time)

processOrderId
optional

Unique Id of the process order record

integer (int64)

productId
optional

Product Id of the product this process order is requesting

integer (int64)

productionRate
optional

Production rate of this product

number (double)

statusId
optional

The status of the process order

integer (int64)

userId
optional

The User who entered the process order.

integer (int64)

3.41. ProcessOrderStart

Name Description Schema

commentsThreadId
optional

The Comments Thread Id of the process order start record. Points to a chain of comments.

integer (int64)

departmentId
optional

The ID of the department that this start is associated with

integer (int64)

endTime
optional

The end time of the process order start record

string (date-time)

lineId
optional

The ID of the department that this start is associated with

integer (int64)

links
optional

< Link > array

processOrderId
optional

Unique Id of the process order record that this start is associated with

integer (int64)

processOrderSetupId
optional

Unique Id of the process order setup record that this start is associated with

integer (int64)

processOrderStartId
optional

Unique Id of the process order start record

integer (int64)

startTime
optional

The start time of the process order start record

string (date-time)

unitId
optional

The ID of the unit that this start is associated with

integer (int64)

userId
optional

The User who entered the process order start.

integer (int64)

3.42. ProcessOrderStartCreateInfo

Name Description Schema

commentsThreadId
optional

The Comments Thread Id of the process order start record. Points to a chain of comments.

integer (int64)

endTime
optional

The end time of the process order start record

string (date-time)

processOrderSetupId
optional

Unique Id of the process order setup record that this start is associated with

integer (int64)

startTime
optional

The start time of the process order start record

string (date-time)

unitId
optional

The ID of the unit that this start is associated with

integer (int64)

3.43. ProcessOrderStartPage

Name Schema

content
optional

< ProcessOrderStart > array

links
optional

< Link > array

page
optional

PageMetadata

3.44. ProcessOrderStartUpdateInfo

Name Description Schema

commentsThreadId
optional

The Comments Thread Id of the process order start record. Points to a chain of comments.

integer (int64)

endTime
optional

The end time of the process order start record

string (date-time)

processOrderSetupId
optional

Unique Id of the process order setup record that this start is associated with

integer (int64)

startTime
optional

The start time of the process order start record

string (date-time)

3.45. Product

Name Description Schema

code
optional

The product code

string

description
optional

The description of the product

string

links
optional

< Link > array

productFamilyId
optional

The id of the product family this product is a member of

integer (int64)

productId
optional

The unique ID of the product

integer (int64)

3.46. ProductFamily

Name Description Schema

description
optional

The product family’s description

string

links
optional

< Link > array

productFamilyId
optional

The unique Id of the product family

integer (int64)

3.47. ProductFamilyPage

Name Schema

content
optional

< ProductFamily > array

links
optional

< Link > array

page
optional

PageMetadata

3.48. ProductGroup

Name Description Schema

description
optional

The property group’s description

string

links
optional

< Link > array

productGroupId
optional

The unique Id of the product group

integer (int64)

3.49. ProductGroupPage

Name Schema

content
optional

< ProductGroup > array

links
optional

< Link > array

page
optional

PageMetadata

3.50. ProductPage

Name Schema

content
optional

< Product > array

links
optional

< Link > array

page
optional

PageMetadata

3.51. ProductUnit

Name Description Schema

departmentId
optional

The ID of the department

integer (int64)

lineId
optional

The ID of the department

integer (int64)

links
optional

< Link > array

productId
optional

The unique ID of the department

integer (int64)

productUnitId
optional

The ID of the production unit

string

unitId
optional

The ID of the unit

integer (int64)

3.52. ProductUnitPage

Name Schema

content
optional

< ProductUnit > array

links
optional

< Link > array

page
optional

PageMetadata

3.53. ProductionRatio

Name Description Schema

links
optional

< Link > array

productId
optional

The product associated with this ratio.

integer (int64)

unitRatios
optional

The collection of unit ratio overrides.

< UnitRatioInfo > array

3.54. ProductionRatioInfo

Name Description Schema

productId
optional

The product associated with this ratio.

integer (int64)

unitRatios
optional

The collection of unit ratio overrides.

< UnitRatioInfo > array

3.55. Ratio

Name Description Schema

in
optional

The antecedent, or top part, of the ratio

integer (int32)

out
optional

The consequent, or bottom part, of the ratio

integer (int32)

3.56. ResponseEntity

Name Schema

body
optional

object

statusCode
optional

enum (100, 101, 102, 103, 200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 307, 308, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 426, 428, 429, 431, 451, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511)

statusCodeValue
optional

integer (int32)

3.57. SecureCommentRecord

Name Description Schema

commentId
optional

Unique identifier of this comment record

integer (int64)

commentText
optional

The text of the comment

string

commentTime
optional

The time this comment was entered

string (date-time)

commentType
optional

The comment table id (Comment Type) of this comment

enum (Tests, Variables, Product, ProductionEvent, SheetColumns, AlarmTemplates, AlarmTemplateVariableData, ProdUnits, UDE, UDECause, UDEAction, UDEResearch, AlarmCause, AlarmAction, AlarmResearch, DowntimeCause, DowntimeAction, DowntimeResearch, ProductChange, WasteCause, WasteAction, WasteResearch, EDModels, Calculations, EventSubtypes, EventConfiguration, CustomerOrders, CustomerOrderLineItems, EDFields, ProductionPlan, Characteristics, ProductionLines, ProductionGroups, SecurityGroups, Specifications, ProductionSetup, ProductionSetupDetail, CrewSchedule, ActiveSpecs, COA, COAItems, ContainerLocation, CustomerCOA, EventDetails, EventReasons, GB_DSet, GB_RSum, InProcessBins, PrdExecInputEvent, ProductFamily, ProductProperties, ProductionPlanStarts, ReportTreeTemplates, ReportWebpages, SavedQueries, Sheets, Shipment, ShipmentLineItems, StoredProcs, DowntimeSummaryAction, DowntimeSummaryCause, DowntimeSummaryResearch, TransProperties, TransVariables, Transactions, VarSpecs, DefectDetailsAction, DefectDetailsCause, DefectDetailsResearch, PrdExecPaths, UnitLocation, Departments, PrdExecPathUnitStarts, NonProductiveDetail, Activity)

threadId
optional

Comment thread this record is part of

integer (int64)

unitId
optional

Unit this comment is associated with

integer (int64)

user
optional

The user who entered this comment

IdNameValue

3.58. SiteParameterInfo

Name Description Schema

id
optional

Id of the parameter record

integer (int64)

value
optional

Value for this parameter

object

3.59. TimeRange

Name Description Schema

endTime
optional

The end time

string (date-time)

links
optional

< Link > array

startTime
optional

The start time

string (date-time)

3.60. Unit

Name Description Schema

assetId
optional

The asset ID

integer (int64)

isInventoryUnit
optional

Is this unit an inventory unit. A inventory unit is a storage unit.
Example : false

boolean

isVirtual
optional

Is this unit a virtual unit. A virtual unit is a tracking unit. It doesn’t have physical assets associated with it.
Example : false

boolean

lineId
optional

The line this unit belongs to

integer (int64)

links
optional

< Link > array

name
optional

The name of the asset

string

type
optional

The type of the asset

enum (Department, Line, Unit, Group, Variable, ProcessOrder)

unitRank
optional

This unit’s rank

integer (int32)

units
optional

Collection of Groups belonging to this Unit

UnitCollection

3.61. UnitCollection

Name Schema

collection
optional

CollectionMetadata

content
optional

< Unit > array

links
optional

< Link > array

3.62. UnitProcessOrders

Name Description Schema

associatedProcessOrders
optional

List of associated process orders for this unit in order of forecast execution. Does not include the current active process order.

< ProcessOrder > array

currentEffectiveRatio
optional

The effective ratio describing the relative number of inputs to create some number of outputs. Only valid when the unit has a current process order.

Ratio

currentProcessOrder
optional

The process order currently active on this unit

ProcessOrder

currentScrapFactor
optional

The scrap factor for unit

number

links
optional

< Link > array

unitId
optional

The unique ID of the unit

integer (int64)

unitStartTime
optional

The time the current process order started on this unit

string (date-time)

3.63. UnitRatioInfo

Name Description Schema

ratio
optional

The ratio

Ratio

unitId
optional

The unit ID

integer (int64)

3.64. Variable

Name Description Schema

assetId
optional

The asset ID

integer (int64)

inputTag
optional

The Input Tag data source for this variable

DataSourceInfo

links
optional

< Link > array

name
optional

The name of the asset

string

type
optional

The type of the asset

enum (Department, Line, Unit, Group, Variable, ProcessOrder)

3.65. VariableCategoryResource

Name Description Schema

id
optional

Unique Identifier for the Event Subtype

integer (int64)

links
optional

< Link > array

name
optional

Value for Event subtype

string

3.66. VariableCollection

Name Schema

collection
optional

CollectionMetadata

content
optional

< Variable > array

links
optional

< Link > array

4. Security

4.1. access_token

Type : oauth2
Flow : accessCode
Token URL : http://localhost:8080/uaa/oauth/authorize
Token URL : http://localhost:8080/uaa/oauth/token

Name Description

default

Default oauth2 scope.

4.2. resource_owner

Type : oauth2
Flow : password
Token URL : http://localhost:8080/uaa/oauth/token

Name Description

default

Default oauth2 scope.

4.3. implicit_grant

Type : oauth2
Flow : implicit
Token URL : http://localhost:8080/uaa/oauth/authorize

Name Description

default

Default oauth2 scope.

4.4. client_creds

Type : oauth2
Flow : application
Token URL : http://localhost:8080/uaa/oauth/token

Name Description

default

Default oauth2 scope.