1. Overview
Microservice containing the business logic for managing route-app-service.
Descriptions of these functions can be found in the section headers for each collection of relevant resources.
1.2. Tags
-
bom-formulation-controller : Bom Formulation Controller
-
document-management-controller : Document Management Controller
-
labor-type-controller : Labor Type Controller
-
line-controller : Line Controller
-
permission-check-controller : Permission Check Controller
-
product-controller : Product Controller
-
property-group-controller : Property Group Controller
-
route-controller : Route Controller
-
segment-controller : Segment Controller
-
unit-controller : Unit Controller
-
user-settings-controller : User Settings Controller
-
work-order-controller : Work Order Controller
2. Resources
2.1. Bom-formulation-controller
Bom Formulation Controller
2.1.1. Get UnitOfMeasure details
GET /v1/routes-viewer/engineeringUnit/{uomId}
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
400 |
Invalid data supplied. See message for details. |
|
401 |
Unauthorized |
|
403 |
Forbidden |
|
404 |
Not Found |
|
422 |
Unprocessable Entity |
2.1.2. Get BOM item by formulationItemId
GET /v1/routes-viewer/formulations/items/{formulationItemId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
formulationItemId |
formulationItemId to get a BOM item |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
|
503 |
Service Unavailable |
2.1.3. Get BOM items by formulationId
GET /v1/routes-viewer/formulations/{formulationId}/items
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
formulationId |
formulationId to get a list of BOM items |
integer (int64) |
Query |
routeId |
routeId |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
|
503 |
Service Unavailable |
2.1.4. Get BOM formulations
GET /v1/routes-viewer/products/{productId}/formulations
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
400 |
Invalid data supplied. See message for details. |
|
401 |
Unauthorized |
|
403 |
Forbidden |
|
404 |
Not Found |
|
422 |
Unprocessable Entity |
2.2. Document-management-controller
Document Management Controller
2.2.1. Create Metadata / Create revision
POST /v1/routes-viewer/documents
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
clientId |
clientId |
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.2.2. Get Documents
GET /v1/routes-viewer/documents
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
clientId |
clientId |
string |
|
Query |
documentId |
document id |
string |
|
Query |
pageNo |
page |
integer (int32) |
|
Query |
routeId |
route id |
integer (int64) |
|
Query |
size |
size |
integer (int32) |
|
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
400 |
Bad Request |
|
401 |
Unauthorized |
|
422 |
Unprocessable Entity |
2.2.3. document Upload
PUT /v1/routes-viewer/documents
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
attachmentName |
Attachment Name |
string |
Query |
clientId |
clientId |
string |
Query |
docId |
Document Id |
string |
Query |
rev |
Document Revision Id |
string |
FormData |
file |
Upload Document |
file |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
400 |
Bad Request |
|
401 |
Unauthorized |
|
422 |
Unprocessable Entity |
2.2.4. Get document
GET /v1/routes-viewer/documents/attachment
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
attachmentName |
attachment Name(required if documentId is not null) |
string |
Query |
clientId |
clientId |
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.2.5. Create document reference
POST /v1/routes-viewer/documents/references
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
clientId |
clientId |
string |
Body |
documentReference |
Document reference |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
Created |
object |
400 |
Bad Request |
|
401 |
Unauthorized |
|
422 |
Unprocessable Entity |
2.2.6. Get Revisions By InitialId
GET /v1/routes-viewer/documents/{initialId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
initialId |
initial id |
string |
Query |
clientId |
clientId |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
400 |
Bad Request |
|
401 |
Unauthorized |
|
422 |
Unprocessable Entity |
2.3. Labor-type-controller
Labor Type Controller
2.4. Line-controller
Line Controller
2.4.1. Get all lines
GET /v1/routes-viewer/lines
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
401 |
Unauthorized |
No Content |
404 |
Not Found |
No Content |
2.5. Permission-check-controller
Permission Check Controller
2.5.1. checkPermission
GET /v1/routes-viewer/checkPermission
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
permissionName |
Permission Scope |
string |
Query |
resourceId |
UnitId or LineId |
integer (int32) |
Query |
resourceType |
Unit or Line |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
boolean |
401 |
Unauthorized |
|
404 |
Not Found |
|
500 |
Internal Server error |
2.6. Product-controller
Product Controller
2.6.1. Get Products
GET /v1/routes-viewer/products
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
lineId |
lineId |
integer (int32) |
Query |
material |
material |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
400 |
Invalid data supplied. See message for details. |
|
401 |
Unauthorized |
|
403 |
Forbidden |
|
404 |
Not Found |
|
422 |
Unprocessable Entity |
2.7. Property-group-controller
Property Group Controller
2.7.1. Get all property definitions
GET /v1/properties/definitions
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
includeDeleted |
includeDeleted |
boolean |
|
Query |
page |
page |
integer (int32) |
|
Query |
size |
size |
integer (int32) |
|
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.7.2. Get all revisions for property-group-definition
GET /v1/properties/definitions/{initialId}/revisions
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.7.3. Get all property groups list
GET /v1/properties/groups
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
includeDeleted |
includeDeleted |
boolean |
|
Query |
page |
page |
integer (int32) |
|
Query |
size |
size |
integer (int32) |
|
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.7.4. Get all property group with definitions list
GET /v1/properties/groups-definitions
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
includeDeleted |
includeDeleted |
boolean |
|
Query |
page |
page |
integer (int32) |
|
Query |
size |
size |
integer (int32) |
|
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.7.5. Get property group by property group id
GET /v1/properties/groups/{groupId}
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.7.6. Get selected list of property groups for route or segment
GET /v1/properties/routes/{routeId}/segments/{segmentId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
routeId |
routeId |
integer (int64) |
Path |
segmentId |
segmentId |
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.7.7. Get all property definitions by property group id
GET /v1/properties/{groupId}/definitions
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.8. Route-controller
Route Controller
2.8.1. Create Route
POST /v1/routes-viewer/routes
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
400 |
Invalid data supplied. See message for details. |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
422 |
Unprocessable Entity |
|
500 |
Internal Server error |
2.8.2. Get routes
GET /v1/routes-viewer/routes
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
description |
description |
string |
|
Query |
modifiedBY |
modifiedBY |
string |
|
Query |
name |
name |
string |
|
Query |
orderBy |
enum (asc, desc) |
|
|
Query |
orderByColumn |
orderByColumn |
string |
|
Query |
page |
integer (int32) |
|
|
Query |
producedMaterialId |
producedMaterialId |
integer (int64) |
|
Query |
productionLineId |
productionLineId |
integer (int64) |
|
Query |
showAllRevision |
showAllRevision |
boolean |
|
Query |
size |
integer (int32) |
|
|
Query |
status |
status |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
401 |
ERR401: Unauthorized |
No Content |
500 |
ERR500: Internal Server Error |
No Content |
2.8.3. Get Secret Key
POST /v1/routes-viewer/routes/secretkey
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.8.4. Get route
GET /v1/routes-viewer/routes/{routeId}
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.8.5. Delete Route
DELETE /v1/routes-viewer/routes/{routeId}
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.8.6. Update Route
PATCH /v1/routes-viewer/routes/{routeId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
routeId |
routeId |
integer (int64) |
Body |
routeInfo |
routeInfo |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
400 |
Invalid data supplied. See message for details. |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
422 |
Unprocessable Entity |
|
500 |
Internal Server error |
2.8.7. Archive route
PATCH /v1/routes-viewer/routes/{routeId}/archive
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
routeId |
routeId |
integer (int64) |
Body |
routeForStatusUpdateInfo |
routeForStatusUpdateInfo |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
400 |
Invalid data supplied. See message for details. |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
422 |
Unprocessable Entity |
|
500 |
Internal Server error |
2.8.8. Copy route
POST /v1/routes-viewer/routes/{routeId}/copy
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
routeId |
routeId |
integer (int64) |
Body |
routeInput |
routeInput |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
401 |
Unauthorized |
No Content |
422 |
Unprocessable Entity |
No Content |
500 |
Server error |
No Content |
2.8.9. Create a New Revision
POST /v1/routes-viewer/routes/{routeId}/revision
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
401 |
Unauthorized |
No Content |
422 |
Unprocessable Entity |
No Content |
500 |
Server error |
No Content |
2.8.10. Release Route
POST /v1/routes-viewer/routes/{routeId}/{confirmRelease}/release
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
confirmRelease |
confirm release flag |
boolean |
|
Path |
routeId |
routeId |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
401 |
Unauthorized |
No Content |
422 |
Unprocessable Entity |
No Content |
500 |
Server error |
No Content |
2.8.11. Upgrade Segment
GET /v1/routes-viewer/upgrade/{schemaVersion}/{routeId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
routeId |
RouteId of segment |
integer (int64) |
Path |
schemaVersion |
Schema Version |
integer (int32) |
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.9. Segment-controller
Segment Controller
2.9.1. Get Segments
GET /v1/segments-viewer/{routeId}/segments
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.9.2. Add Segment
PUT /v1/segments-viewer/{routeId}/segments
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
routeId |
routeId |
integer (int64) |
Body |
segmentDefInput |
segmentDefInput |
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.9.3. Get Segment
GET /v1/segments-viewer/{routeId}/segments/{segmentId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
routeId |
routeId |
integer (int64) |
Path |
segmentId |
segmentId |
integer (int64) |
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.10. Unit-controller
Unit Controller
2.11. User-settings-controller
User Settings Controller
2.11.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.11.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.11.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.11.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.11.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.12. Work-order-controller
Work Order Controller
2.12.1. Create work order
POST /v1/workOrders
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
201 |
Created |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
500 |
Internal Server error |
2.12.2. update properties
PUT /v1/workOrders
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
workOrderPropertiesUpdateRequest |
workOrderPropertiesUpdateRequest |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
201 |
Created |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
500 |
Internal Server error |
2.12.3. Check work order
GET /v1/workOrders/exists
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Ok |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
500 |
Internal Server error |
3. Definitions
3.1. Api error
Http Error response.
Name | Schema |
---|---|
errorCode |
string |
message |
string |
requestPath |
string |
status |
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) |
subErrors |
|
timestamp |
string |
3.2. ApiSubError
Name | Schema |
---|---|
args |
< string > array |
errorCode |
string |
field |
string |
message |
string |
value |
object |
3.3. 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) |
materialId |
Id of the material |
integer (int32) |
propertyValues |
properties associated to a segment. |
< PropertiesDefInfo > array |
quantity |
Quantity of the material |
number (double) |
unitOfMeasureId |
Id of the unitOfMeasure |
integer (int32) |
visualization |
Visualization of a BOM item |
3.4. BillOfMaterialsVisualization
Behaviours for Bill of Material of a route.
Name | Description | Schema |
---|---|---|
displayOrder |
BOM item requires displayOrder |
integer (int32) |
3.5. DocumentInfo
Documents of a route.
Name | Description | Schema |
---|---|---|
displayName |
Name of the document |
string |
link |
Link of the document |
string |
3.8. 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.9. MaterialLotEntryRequest
Name | Schema |
---|---|
lotIdentifier |
string |
plannedQuantity |
integer (int32) |
3.10. OperationsInfo
Operations of a route.
Name | Description | Schema |
---|---|---|
id |
Id of the operation |
integer (int64) |
sequenceNumber |
Sequence number of the operation |
integer (int32) |
3.11. PrivilegeSet
Name | Schema |
---|---|
category |
string |
description |
string |
displayName |
string |
icon |
string |
id |
integer (int32) |
scope |
string |
3.12. PropertiesDefInfo
Properties of a route.
Name | Description | Schema |
---|---|---|
propertyDefinitionId |
Id of property |
string |
propertyValue |
Value of property |
string |
3.13. RouteForCreateInfo
Name | Description | Schema |
---|---|---|
bomFormulationId |
bomFormulationId of the route |
integer (int64) |
description |
description of the route record |
string |
name |
name of the route record |
string |
producedMaterialId |
producedMaterialId of the route record |
integer (int64) |
productionLineId |
productionLineId of the route record |
integer (int64) |
revision |
revision of the route record |
integer (int32) |
secretKey |
secretkey of the BFF request |
string |
status |
status of the route record |
string |
3.14. RouteForStatusUpdateInfo
Route data tranfer object for update
Name | Description | Schema |
---|---|---|
status |
Status of the route record |
string |
3.15. RouteForUpdateInfo
Route data tranfer object for update
Name | Description | Schema |
---|---|---|
bomFormulationId |
bomFormulationId of the route record |
integer (int64) |
description |
Description of the route record |
string |
name |
Name of the route record |
string |
status |
Status of the route record |
string |
3.16. RouteSegmentInfo
RouteSegment data tranfer object
Name | Description | Schema |
---|---|---|
id |
id of the route Segment |
integer (int64) |
3.17. SegmentInfo
Segment data tranfer 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 |
segmentType |
Type of the segment. Possible options are Segment, Reference |
string |
suggestedLaborTypes |
Labor types to expected on operations for this segment. First value is the default labor type. |
< integer (int64) > array |
3.18. 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.19. SegmentsDefinitionInfo
Segment data tranfer object
Name | Description | Schema |
---|---|---|
plannedLineId |
Line Id to which segment document belongs/refers to |
integer (int64) |
producedMaterialId |
produced material Id |
integer (int64) |
schemaVersion |
Version of the segments document. |
integer (int32) |
segments |
List of segments |
< SegmentInfo > array |
structure |
Structure of segments |
|
structureType |
Structure Type of segment. Possible options are Simple, TreeHierarchy |
string |
3.20. StructureInfo
Name | Description | Schema |
---|---|---|
operations |
List of operations |
< OperationsInfo > array |
routeSegment |
Route segment details |
3.21. UserSettingRequest
Name | Description | Schema |
---|---|---|
appId |
integer (int32) |
|
data |
The application specific settings, Eg:- 'App Name' : {'property1' : 'value' , 'property2' : 'value'} } |
object |
viewName |
string |
3.22. UserSettingResource
Name | Description | Schema |
---|---|---|
appId |
integer (int32) |
|
data |
object |
|
defaultSetting |
Example : |
boolean |
links |
< Link > array |
|
viewName |
string |
3.23. 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.24. WorkOrderCreationRequest
Name | Schema |
---|---|
materialLotEntries |
< MaterialLotEntryRequest > array |
name |
string |
plannedEndDate |
string (date-time) |
plannedStartDate |
string (date-time) |
priority |
integer (int32) |
producedMaterialId |
integer (int64) |
productionLineId |
integer (int64) |
routeDefinitionId |
integer (int64) |
3.25. WorkOrderExistsResponse
Name | Schema |
---|---|
exists |
boolean |
id |
integer (int64) |
status |
string |
3.26. WorkOrderProperties
WorkOrderProperties data tranfer object
Name | Schema |
---|---|
propertiesDefInfoList |
< PropertiesDefInfo > array |
segementDefinitionId |
integer (int64) |
3.27. WorkOrderPropertiesUpdateRequest
WorkOrderPropertiesUpdateRequest data tranfer object
Name | Schema |
---|---|
workOrderId |
integer (int64) |
workOrderPropertiesList |
< WorkOrderProperties > array |
4. Security
4.1. access_token
Type : oauth2
Flow : accessCode
Token URL : https://10.181.213.234/uaa/oauth/authorize
Token URL : https://10.181.213.234/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.2. resource_owner
Type : oauth2
Flow : password
Token URL : https://10.181.213.234/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.3. implicit_grant
Type : oauth2
Flow : implicit
Token URL : https://10.181.213.234/uaa/oauth/authorize
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.4. client_creds
Type : oauth2
Flow : application
Token URL : https://10.181.213.234/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |