1. Overview
Microservice containing the business logic for managing supervisor-app-service.
1.2. Tags
-
application-properties-controller : Application Properties Controller
-
bom-formulation-controller : Bom Formulation Controller
-
clock-on-controller : Clock On Controller
-
document-management-controller : Document Management Controller
-
history-controller : History Controller
-
labor-type-controller : Labor Type Controller
-
line-controller : Line Controller
-
material-controller : Material Controller
-
material-lot-controller : Material Lot Controller
-
operations-controller : Operations Controller
-
product-controller : Product Controller
-
product-family-controller : Product Family Controller
-
property-group-controller : Property Group Controller
-
summary-controller : Summary Controller
-
unit-controller : Unit Controller
-
user-settings-controller : User Settings Controller
-
work-order-segment-controller : Work Order Segment Controller
-
work-orders-controller : Work Orders Controller
2. Resources
2.1. Application-properties-controller
Application Properties Controller
2.2. Bom-formulation-controller
Bom Formulation Controller
2.2.1. Get BOM items by formulationId
GET /formulationItems
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
workOrderId |
Workorder Id for which BOM formulation details are required |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
|
503 |
Service Unavailable |
2.3. Clock-on-controller
Clock On Controller
2.3.1. clockOffUser
POST /workorders/{id}/clockOffUser
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
id |
WorkOrder Id |
integer (int64) |
Query |
productionLineId |
ProductionLineId |
integer (int64) |
Body |
clockOffByOperatorEntryInfos |
ClockOff User and Operation Details |
< ClockOffByOperatorEntryInfo > array |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
500 |
Internal Server error |
2.4. Document-management-controller
Document Management Controller
2.4.1. API Endpoint to Create Metadata / Create revision for the documents
POST /documents
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
clientId |
clientId, The data store (documents or media) |
string |
Body |
documentMetaInfo |
Metadata for creation of document or revision |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
Created |
object |
400 |
Bad Request |
|
401 |
Unauthorized |
|
422 |
Unprocessable Entity |
2.4.2. API endpoint to Get Documents
GET /documents
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
clientId |
clientId, The data store (documents or media) |
string |
Query |
documentId |
document id |
string |
Query |
workOrderId |
workOrderId, The workorder whose documents are required |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
400 |
Bad Request |
|
401 |
Unauthorized |
|
422 |
Unprocessable Entity |
2.4.3. API endpoint to upload a document
PUT /documents
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
attachmentName |
Attachment Name |
string |
Query |
clientId |
ClientId, The data store (documents or media) |
string |
Query |
docId |
The document identifier |
string |
Query |
rev |
The Document Revision Id |
string |
FormData |
file |
The file that has to be uploaded |
file |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
400 |
Bad Request |
|
401 |
Unauthorized |
|
422 |
Unprocessable Entity |
2.4.4. API endpoint to Get uploaded document
GET /documents/attachment
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
attachmentName |
attachment Name |
string |
Query |
clientId |
clientId, The data store (documents or media) |
string |
Query |
documentId |
document id or url |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
400 |
Bad Request |
|
401 |
Unauthorized |
|
422 |
Unprocessable Entity |
2.4.5. API endpoint to Create document reference
POST /documents/references
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
clientId |
clientId The data store (documents or media) |
string |
Body |
documentReference |
Document reference |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
Created |
object |
400 |
Bad Request |
|
401 |
Unauthorized |
|
422 |
Unprocessable Entity |
2.4.6. API endpoint to Get Revisions By InitialId
GET /documents/revision/{initialId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
initialId |
initial id |
string |
Query |
clientId |
clientId The data store (documents or media) |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
400 |
Bad Request |
|
401 |
Unauthorized |
|
422 |
Unprocessable Entity |
2.5. History-controller
History Controller
2.5.1. getHistoryDetails
GET /workorders/{id}/historyDetails
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
id |
WorkOrder Id |
integer (int64) |
Query |
materialLotActualId |
Material Lot Actual Id |
integer (int64) |
Query |
segmentActualId |
SegmentActualId |
integer (int64) |
Query |
segmentId |
Segment Id |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
500 |
Internal Server error |
2.6. Labor-type-controller
Labor Type Controller
2.7. Line-controller
Line Controller
2.7.1. Get Route Enabled Lines
GET /lines
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< Line > array |
400 |
Bad Request |
|
401 |
Unauthorized |
|
500 |
Internal Server error |
2.8. Material-controller
Material Controller
2.8.1. Get Target Material Lot Details
GET /targetMaterialLot
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
lotIdentifier |
lotIdentifier |
string |
Query |
workOrderId |
workOrderId |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
500 |
Internal Server error |
2.9. Material-lot-controller
Material Lot Controller
2.9.1. Get Material Lot Details
GET /workorders/{id}/materialLotDetails
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
id |
WorkOrder Id |
integer (int64) |
Query |
page |
Results page you want to retrieve (0..N) |
integer (int32) |
Query |
size |
Number of records per page. |
integer (int32) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
500 |
Internal Server error |
2.10. Operations-controller
Operations Controller
2.10.1. getOperations
GET /operations
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
completedAfter |
Fetch Operations created/completed after |
string |
Query |
completedBefore |
Fetch Operations created/completed before |
string |
Query |
completedTimeFrame |
Completed Timeframe of the Operation |
enum (Last7Days) |
Query |
limitSearchResult |
limitSearchResult |
boolean |
Query |
materialLotName |
Lot Identifier to Fetch the workorders from |
string |
Query |
name |
WorkOrder Name to Fetch |
string |
Query |
onHold |
Fetch only onHold Items |
boolean |
Query |
page |
Results page you want to retrieve (0..N) |
integer (int32) |
Query |
producedMaterialId |
Product Id to Fetch the workorders from |
integer (int64) |
Query |
productFamilyId |
ProductFamily Ids to Fetch the workorders from |
< integer (int64) > array(multi) |
Query |
productionLineId |
ProductionLine Ids to Fetch the workorders from |
< integer (int64) > array(multi) |
Query |
size |
Number of records per page. |
integer (int32) |
Query |
status |
Status of the WorkOrder (Ready, InProgress, Complete, Skipped) |
< string > array(multi) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
500 |
Internal Server error |
2.11. Product-controller
Product Controller
2.11.1. Get Products
GET /products
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< ProductInfo > array |
400 |
Bad Request |
|
401 |
Unauthorized |
|
500 |
Internal Server error |
2.12. Product-family-controller
Product Family Controller
2.12.1. Get Product Families
GET /productFamilies
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< ProductFamilyInfo > array |
400 |
Bad Request |
|
401 |
Unauthorized |
|
500 |
Internal Server error |
2.12.2. Get Products For Family
GET /productFamilies/getProducts/{productFamilyId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
productFamilyId |
ProductFamilyId to Fetch the products from |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< ProductFamilyInfo > array |
400 |
Bad Request |
|
401 |
Unauthorized |
|
500 |
Internal Server error |
2.13. Property-group-controller
Property Group Controller
2.13.1. Get all revisions for property-group-definition
GET /properties/definitions/{initialId}/revisions
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
initialId |
initialId for which property revisions are required |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
400 |
Invalid data supplied. See message for details. |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
500 |
Internal Server error |
2.13.2. Get all property groups list
GET /properties/groups
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
includeDeleted |
Include deleted items(true/false) |
boolean |
|
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
400 |
Invalid data supplied. See message for details. |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
500 |
Internal Server error |
2.13.3. Get all property definitions by property group id
GET /properties/groups/{groupId}/definitions
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
groupId |
GroupId to fetch definitions from |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
400 |
Invalid data supplied. See message for details. |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
500 |
Internal Server error |
2.13.4. Get selected list of property groups for workorder or segment
GET /properties/workorders/{workOrderId}/segments/{segmentId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
segmentId |
Segment Id for which property details are required |
integer (int64) |
Path |
workOrderId |
Workorder Id for which property details are required |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
204 |
No selected group properties for the given request |
object |
400 |
Invalid data supplied. See message for details. |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
500 |
Internal Server error |
2.14. Summary-controller
Summary Controller
2.14.1. getSummaryDetails
GET /workorders/{id}/summaryDetails
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
id |
WorkOrder Id for which summary is required |
integer (int64) |
Query |
page |
Results page you want to retrieve (0..N) |
integer (int32) |
Query |
size |
Number of records per page. |
integer (int32) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
500 |
Internal Server error |
2.15. Unit-controller
Unit Controller
2.15.1. Get all units
GET /units
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
lineId |
Line Id for which unit details are required |
integer (int32) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
400 |
Invalid data supplied. See message for details. |
|
401 |
Unauthorized |
|
404 |
Not Found |
2.16. User-settings-controller
User Settings Controller
2.16.1. Create User settings for the logged in user
POST /v2/settings
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
Created |
|
204 |
No Content, Error retrieving created user settings |
|
400 |
Invalid data supplied |
|
401 |
User Unauthorized |
No Content |
404 |
App ID not found in privilege set |
|
409 |
Conflict, User Setting already exists. Use a PUT to update |
|
500 |
Internal Server Error |
2.16.2. Get User settings for the logged in User
GET /v2/settings
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
appId |
appId |
integer (int32) |
Query |
viewName |
viewName |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Invalid data supplied |
|
401 |
User Unauthorized |
No Content |
404 |
Not found, no user setting found for the user |
|
500 |
Internal Server Error |
2.16.3. Update User settings for the logged in user
PUT /v2/settings
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Invalid data supplied |
|
401 |
User Unauthorized |
No Content |
404 |
Not Found, There is no saved User settings for the logged in user |
|
500 |
Internal Server Error |
2.16.4. Delete User settings for the logged in user
DELETE /v2/settings
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
appId |
appId |
integer (int32) |
Query |
viewName |
viewName |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
204 |
Success |
object |
400 |
Invalid data supplied |
|
401 |
User Unauthorized |
No Content |
404 |
Not Found, User Setting not found |
|
500 |
Internal Server Error |
2.16.5. Get Privilege Sets
GET /v2/settings/apps
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< PrivilegeSet > array |
400 |
Invalid data supplied |
|
401 |
User Unauthorized |
No Content |
404 |
Not found, no user setting found for the user |
|
500 |
Internal Server Error |
2.17. Work-order-segment-controller
Work Order Segment Controller
2.17.1. Get WorkOrder Segments
GET /workorders/{id}/segments
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
500 |
Internal Server error |
2.17.2. Update WorkOrder Segments
PUT /workorders/{id}/segments
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
id |
WorkOrder Id |
integer (int64) |
Query |
eTagValue |
eTagValue |
string |
Body |
updatedSegmentsDefinitionObject |
updatedSegmentsDefinitionObject |
object |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
500 |
Internal Server error |
2.18. Work-orders-controller
Work Orders Controller
2.18.1. Get WorkOrders
GET /workorders
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
completedAfter |
Fetch Workorders created/completed after |
string |
Query |
completedBefore |
Fetch Workorders created/completed before |
string |
Query |
completedTimeFrame |
Completed Timeframe of the WorkOrder |
enum (Last7Days) |
Query |
materialLotName |
Material Lot to be searched |
< string > array(multi) |
Query |
name |
Name of the WorkOrder |
string |
Query |
onHold |
Fetch only onHold Items |
boolean |
Query |
orderBy |
Field by which response is sorted, default by Name (Name, Priority, PlannedStartDate) |
string |
Query |
page |
Results page you want to retrieve (0..N) |
integer (int32) |
Query |
priority |
Relative priority of the WorkOrder |
integer (int32) |
Query |
producedMaterialId |
Product Id to Fetch the workorders from |
integer (int64) |
Query |
productFamilyIds |
ProductFamily Ids to Fetch the workorders from |
< integer (int64) > array(multi) |
Query |
productionLineId |
ProductionLine Ids to Fetch the workorders from |
< integer (int64) > array(multi) |
Query |
size |
Number of records per page. |
integer (int32) |
Query |
status |
Status of the WorkOrder (Ready, InProgress, Complete) |
< string > array(multi) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
500 |
Internal Server error |
2.18.2. Get Workorder
GET /workorders/{id}
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
500 |
Internal Server error |
2.18.3. updateWorkOrderPriority
PUT /workorders/{id}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
id |
WorkOrder Id |
integer (int64) |
Query |
productionLineId |
ProductionLineId |
integer (int64) |
Body |
workOrderDetails |
Relative priority of the WorkOrder |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
500 |
Internal Server error |
2.18.4. Cancel Workorder
POST /workorders/{id}/cancel
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
id |
WorkOrder Id |
integer (int64) |
Query |
productionLineId |
ProductionLineId |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
500 |
Internal Server error |
2.18.5. Get Lot Status Details
GET /workorders/{id}/currentLotStatus
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
500 |
Internal Server error |
2.18.6. updateLotIdentifiers
POST /workorders/{id}/updateLotIdentifiers
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
id |
WorkOrder Id |
integer (int64) |
Query |
productionLineId |
ProductionLineId |
integer (int64) |
Body |
updateLotIdentifierEntriesinfo |
Workorder lot Identifiers |
< UpdateLotIdentifierEntryinfo > array |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
500 |
Internal Server error |
3. Definitions
3.1. BaseResponse
Name | Schema |
---|---|
data |
object |
depServiceStatusCode |
integer (int32) |
message |
< string > array |
statusCode |
integer (int32) |
3.2. BillOfMaterialInfo
Bill of Materials of a route.
Name | Description | Schema |
---|---|---|
behaviors |
Behaviours of a BOM item |
object |
bomItemId |
Bom Item Id of the material |
integer (int32) |
defaultStorageUnitId |
V8: defaultStorageUnitId of a BOM item |
integer (int32) |
lowerTolerance |
V8: lowerTolerance of a BOM item |
number (double) |
lowerTolerancePrecision |
V8: lowerTolerancePrecision of a BOM item |
integer (int32) |
materialId |
Id of the material |
integer (int32) |
propertyValues |
properties associated to a segment. |
< PropertiesDefInfo > array |
quantity |
Quantity of the material |
number (double) |
quantityPrecision |
V8: quantityPrecision of a BOM item |
integer (int32) |
scrapFactor |
V8: scrapFactor of a BOM item |
object |
unitOfMeasureId |
Id of the unitOfMeasure |
integer (int32) |
upperTolerance |
V8: upperTolerance of a BOM item |
number (double) |
upperTolerancePrecision |
V8: upperTolerancePrecision of a BOM item |
integer (int32) |
visualization |
Visualization of a BOM item |
3.3. BillOfMaterialsVisualization
Behaviours for Bill of Material of a route.
Name | Description | Schema |
---|---|---|
displayOrder |
BOM item requires displayOrder |
integer (int32) |
3.4. ClockOffByOperatorEntryInfo
Clock Off User By Operator Data Transfer Object
Name | Description | Schema |
---|---|---|
operatorName |
Name of the User to be clocked off |
string |
segmentActualId |
Id of the segment actual that is to be clocked off |
integer (int64) |
3.6. DocumentInfo
Documents of a route.
Name | Description | Schema |
---|---|---|
displayName |
Name of the document |
string |
link |
Link of the document |
string |
3.9. Line
Name | Description | Schema |
---|---|---|
assetId |
The asset ID |
integer (int64) |
isRouteEnabled |
Is this line route enabled. A route enabled line is ready to be used by the route service and has been properly configured. |
boolean |
links |
< Link > array |
|
name |
The name of the asset |
string |
type |
The type of the asset |
enum (Department, Line, Unit, Group, Variable, ProcessOrder) |
units |
Collection of Units belonging to this Line |
3.10. Link
Holds a resource link to support HATEOAS
Name | Description | Schema |
---|---|---|
href |
URL for the link. |
string |
rel |
Type or relation of the link. |
string |
templated |
Indicates if the link uses templating. |
boolean |
3.11. MaterialLotDetailsInfo
Name | Description | Schema |
---|---|---|
id |
Unique Identifier for the Material Lot |
integer (int64) |
name |
Name of the Lot |
string |
status |
Status of the Lot |
string |
workOrderId |
Unique Identifier for the WorkOrder |
integer (int64) |
3.12. OperationsInfo
Operations of a route.
Name | Description | Schema |
---|---|---|
id |
Id of the operation |
integer (int64) |
sequenceNumber |
Sequence number of the operation |
integer (int32) |
skipIfSuccessorStarted |
V8: Indicates if implicit skip is enabled |
boolean |
3.13. PageMetadata
Page size and location information.
Name | Description | Schema |
---|---|---|
number |
Current page number. |
integer (int32) |
size |
Maximum number of resources on a page. |
integer (int32) |
totalElements |
Total number of resources in the paged collection. |
integer (int32) |
totalPages |
Total number of pages in the paged collection. |
integer (int32) |
3.14. PrivilegeSet
Name | Schema |
---|---|
category |
string |
description |
string |
displayName |
string |
icon |
string |
id |
integer (int32) |
scope |
string |
3.15. ProductFamilyInfo
Product Family data transfer object
Name | Description | Schema |
---|---|---|
id |
Unique Identifier for the Product Family |
integer (int64) |
name |
Name of the Product Family |
string |
3.16. ProductInfo
Product data transfer object
Name | Description | Schema |
---|---|---|
familyId |
Family to which the product belongs |
integer (int64) |
id |
Unique Identifier for the Product |
integer (int64) |
name |
Name of the Product |
string |
3.17. PropertiesDefInfo
Properties of a route.
Name | Description | Schema |
---|---|---|
propertyDefinitionId |
Id of property |
string |
propertyValue |
Value of property |
string |
3.18. RouteSegmentInfo
RouteSegment data tranfer object
Name | Description | Schema |
---|---|---|
id |
id of the route Segment |
integer (int64) |
3.19. SegmentsAppliesTo
Qualifiers for the segment definition.
Name | Description | Schema |
---|---|---|
materialLotActualIds |
Material lot actual(s) that the segment applies to. Applies to all material lot actual(s) if empty. |
< integer (int64) > array |
3.20. StructureInfo
Name | Description | Schema |
---|---|---|
operations |
List of operations |
< OperationsInfo > array |
routeSegment |
Route segment details |
3.21. TargetMaterialLotDetailsInfo
Name | Description | Schema |
---|---|---|
id |
Unique Identifier for the Target Material Lot |
integer (int64) |
lotIdentifier |
Name of the lot identifier |
string |
productId |
Applied product id for the Target Material Lot |
integer (int64) |
3.22. Unit
Name | Description | Schema |
---|---|---|
assetId |
The asset ID |
integer (int64) |
isInventoryUnit |
Is this unit an inventory unit. A inventory unit is a storage unit. |
boolean |
isVirtual |
Is this unit a virtual unit. A virtual unit is a tracking unit. It doesn’t have physical assets associated with it. |
boolean |
lineId |
The line this unit belongs to |
integer (int64) |
links |
< Link > array |
|
name |
The name of the asset |
string |
type |
The type of the asset |
enum (Department, Line, Unit, Group, Variable, ProcessOrder) |
unitRank |
This unit’s rank |
integer (int32) |
units |
Collection of Groups belonging to this Unit |
3.23. UnitCollection
Name | Schema |
---|---|
collection |
|
content |
< Unit > array |
links |
< Link > array |
3.24. UpdateLotIdentifierEntryinfo
Material lot identifier update object
Name | Description | Schema |
---|---|---|
lotIdentifier |
lotIdentifier for the WorkOrder |
string |
materialLotActualId |
MaterialLot Actual Id of the WorkOrder |
integer (int64) |
3.25. UserSettingRequest
Name | Description | Schema |
---|---|---|
appId |
integer (int32) |
|
data |
The application specific settings, Eg:- 'App Name' : {'property1' : 'value' , 'property2' : 'value'} } |
object |
viewName |
string |
3.26. UserSettingResource
Name | Description | Schema |
---|---|---|
appId |
integer (int32) |
|
data |
object |
|
defaultSetting |
Example : |
boolean |
links |
< Link > array |
|
viewName |
string |
3.27. WorkOrder
Work order Data transfer object
Name | Description | Schema |
---|---|---|
cancelledOn |
Date that the work order was cancelled. |
string (date-time) |
completedOn |
Date that the work order was completed. |
string (date-time) |
createdBy |
User that created the route. |
string |
createdOn |
Date that the work order was created. |
string (date-time) |
eTagValue |
Current ETag value of the work order resource |
string |
id |
Work Order ID. |
integer (int64) |
lastModifiedBy |
User that last modified the route. |
string |
lastModifiedOn |
Date that the route was last modified. |
string (date-time) |
links |
Set of links on the resource. |
< Link > array |
name |
Work Order name. |
string |
plannedEndDate |
Planned end date for the work order. |
string (date-time) |
plannedQuantity |
The planned quantity to produce with this work order. |
integer (int32) |
plannedStartDate |
Planned start date for the work order. |
string (date-time) |
priority |
Relative priority of the work order. |
integer (int32) |
processOrderId |
Work order’s process order in the plant apps execution system. |
integer (int64) |
producedMaterialId |
Work order produced material ID. |
integer (int64) |
productionLineId |
Work order production line ID. |
integer (int64) |
readyOn |
Date that the work order was made ready. |
string (date-time) |
routeDefinitionId |
Refers to the route used to execute the work order. |
integer (int64) |
startedOn |
Date that the work order was started. |
string (date-time) |
status |
Status of the work order. |
string |
3.28. WorkOrderPage
Contains a page of resources and the links required to navigate over pages.
Name | Description | Schema |
---|---|---|
content |
Set of resources on the page. |
< WorkOrder > array |
links |
Set of links on the resource. |
< Link > array |
page |
3.29. WorkOrderSegmentDefinitionInfo
Name | Schema |
---|---|
eTagValue |
string |
lotStatus |
< MaterialLotDetailsInfo > array |
plannedLineId |
integer (int64) |
producedMaterialId |
integer (int64) |
schemaVersion |
integer (int32) |
segments |
< WorkOrderSegmentInfo > array |
structure |
|
structureType |
string |
3.30. WorkOrderSegmentInfo
Segments data transfer object
Name | Description | Schema |
---|---|---|
appliesTo |
Qualifiers for operations based on this segment. |
|
behaviors |
Behaviors of a segment |
< string > array |
billOfMaterials |
Bill of materials associated to a segment. |
< BillOfMaterialInfo > array |
description |
Description of the segment. |
string |
documents |
documents associated to a segment. |
< DocumentInfo > array |
id |
id of the route segment |
integer (int64) |
name |
Name of the segment. |
string |
plannedUnitIds |
units associated to a segment. |
< integer (int64) > array |
propertyValues |
properties associated to a segment. |
< PropertiesDefInfo > array |
segmentOnHold |
boolean |
|
segmentType |
Type of the segment. Possible options are Segment, Reference |
string |
sequenceNumber |
Sequence Number of the Segment |
integer (int32) |
status |
Status of the segment derived from segment actuals |
string |
suggestedLaborTypes |
Labor types to expected on operations for this segment. First value is the default labor type. |
< integer (int64) > array |
3.31. WorkOrderUpdateInfo
WorkOrder data update object
Name | Description | Schema |
---|---|---|
eTagValue |
If Match Header for WorkOrder |
string |
plannedEndDate |
Planned end date for the WorkOrder |
string (date-time) |
plannedStartDate |
Planned start date for the WorkOrder |
string (date-time) |
priority |
Relative priority of the WorkOrder |
integer (int32) |
4. Security
4.1. access_token
Type : oauth2
Flow : accessCode
Token URL : http://localhost:8443/uaa/oauth/authorize
Token URL : http://localhost:8443/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.2. resource_owner
Type : oauth2
Flow : password
Token URL : http://localhost:8443/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.3. implicit_grant
Type : oauth2
Flow : implicit
Token URL : http://localhost:8443/uaa/oauth/authorize
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.4. client_creds
Type : oauth2
Flow : application
Token URL : http://localhost:8443/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |