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
-
approval-workflow-event-controller : Approval Workflow Event Controller
-
bom-formulation-controller : Bom Formulation Controller
-
document-management-controller : Document Management Controller
-
event-sub-type-controller : Event Sub Type Controller
-
external-config-controller : External Config Controller
-
historian-controller : Historian Controller
-
labor-code-details-controller : Labor Code Details Controller
-
labor-type-controller : Labor Type Controller
-
line-controller : Line Controller
-
permission-check-controller : Permission Check Controller
-
product-controller : Product Controller
-
product-property-value-controller : Product Property Value Controller
-
property-group-controller : Property Group Controller
-
route-controller : Route Controller
-
segment-controller : Segment Controller
-
tool-category-controller : Tool Category Controller
-
tool-controller : Tool Controller
-
unit-controller : Unit Controller
-
user-settings-controller : User Settings Controller
-
variable-controller : Variable Controller
-
work-order-controller : Work Order Controller
2. Resources
2.1. Approval-workflow-event-controller
Approval Workflow Event Controller
2.1.1. Query WorkFlow Configurations by Event ID
GET /approval-workflow/v1/workflow-events/{id}/workflow-configurations
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
|
Path |
id |
Event Id |
integer (int32) |
|
Query |
lineId |
Production Line 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 |
|
404 |
Not Found |
|
500 |
Internal Server error |
2.2. Bom-formulation-controller
Bom Formulation Controller
2.2.1. Get UnitOfMeasure details
GET /v1/routes-viewer/engineeringUnit/{uomId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
uomId |
uomId |
integer (int64) |
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.2. Get BOM items by formulationId
GET /v1/routes-viewer/formulations/items
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Query |
formulationId |
formulationId |
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.2.3. Get PropertyDefinitions from Bom Item Property Group
GET /v1/routes-viewer/formulations/items/propertyDefinitions
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
400 |
Bad Request |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
503 |
Service Unavailable |
2.2.4. Get BOM item by formulationItemId
GET /v1/routes-viewer/formulations/items/{formulationItemId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
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.2.5. Get BomItem alias Duplicate Flag Value
GET /v1/routes-viewer/getBomItemAliasDuplicateValue/{formulationId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
formulationId |
formulationId |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
400 |
Bad Request |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
|
503 |
Service Unavailable |
2.2.6. Check if BOM revision is enabled
GET /v1/routes-viewer/isBomRevisionEnabled
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Success |
object |
401 |
Unauthorized |
|
404 |
Not Found |
|
500 |
Internal Server error |
2.2.7. Get BOM formulations
GET /v1/routes-viewer/products/{productId}/formulations
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
productId |
productId |
integer (int64) |
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.8. Get PropertyDefinitions Metadata from property definitionIds
GET /v1/routes-viewer/propertyDefinitionDetails
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Query |
propertyDefinitionIds |
List of propertiesDefinitionIds whose metadata like propertyName, DataType etc, are required. |
< string > array(multi) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
400 |
Bad Request |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
503 |
Service Unavailable |
2.3. Document-management-controller
Document Management Controller
2.3.1. Create Metadata / Create revision
POST /v1/routes-viewer/documents
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
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.3.2. Get Documents
GET /v1/routes-viewer/documents
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
|
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.3.3. document Upload
PUT /v1/routes-viewer/documents
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
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.3.4. Get document
GET /v1/routes-viewer/documents/attachment
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
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.3.5. Get common Properties
GET /v1/routes-viewer/documents/getCommonProperties
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< string, string > map |
400 |
Bad Request |
|
401 |
Unauthorized |
|
422 |
Unprocessable Entity |
2.3.6. Create document reference
POST /v1/routes-viewer/documents/references
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
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.3.7. Get Revisions By InitialId
GET /v1/routes-viewer/documents/{initialId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
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.4. Event-sub-type-controller
Event Sub Type Controller
2.4.1. Get EventSubTypes
GET /v1/eventSubTypes/getEventSubTypes
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
204 |
No Content |
|
400 |
Invalid data supplied. See message for details. |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
500 |
Internal Server error |
2.5. External-config-controller
External Config Controller
2.5.1. Get external Configurations
GET /external-configuration/v1/configurations
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
|
Query |
actionId |
actionId |
integer (int32) |
|
Query |
actionName |
actionName |
string |
|
Query |
actionTypeId |
actionTypeId |
integer (int32) |
|
Query |
configId |
configId |
integer (int64) |
|
Query |
includeDeleted |
includeDeleted |
boolean |
|
Query |
page |
page |
integer (int32) |
|
Query |
size |
size |
integer (int32) |
|
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
204 |
No Content, Error retrieving actions |
|
400 |
Bad Request |
|
401 |
User Unauthorized |
No Content |
500 |
Internal Server Error |
2.6. Historian-controller
Historian Controller
2.6.1. Get tags using alias name
GET /v1/routes-viewer/historian/{connectionAlias}/tags
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
|
Path |
connectionAlias |
Alias name of historian |
string |
|
Query |
name |
Tag name contains as a filter |
string |
|
Query |
page |
Page number to return 0 to N. |
integer (int32) |
|
Query |
size |
Number of resources to return per page. |
integer (int32) |
|
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Success |
|
400 |
Bad request |
No Content |
401 |
Unauthorized |
No Content |
422 |
Unprocessable Entity |
No Content |
500 |
Internal Server Error |
No Content |
503 |
Gateway timeout or Service Unavailable |
No Content |
2.6.2. Get tag values
GET /v1/routes-viewer/historian/{connectionAlias}/tags/{tagName}/values
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
|
Path |
connectionAlias |
Alias name of historian |
string |
|
Path |
tagName |
Tag Name |
string |
|
Query |
calculationMode |
Calculation Mode |
enum (Interpolated, Tot, Min, Max, Std, Ave, MinTime, MaxTime, Count) |
|
Query |
endTime |
End time as a filter. Format: yyyy-MM-dd 'T' HH:mm:ssZ (ISO), e.g. 2021-07-30T03:08:11Z |
string (date-time) |
|
Query |
numberOfValues |
Number of values. |
integer (int64) |
|
Query |
page |
Page number to return 0 to N. |
integer (int32) |
|
Query |
readDirection |
Read direction |
enum (Forward, Backward) |
|
Query |
samplingInterval |
Sampling interval |
integer (int32) |
|
Query |
samplingMode |
Sampling Mode |
enum (Before, After, Exact, ExactOrBefore, Interpolated, Calculated, Raw) |
|
Query |
size |
Number of resources to return per page. |
integer (int32) |
|
Query |
startTime |
Start time as a filter. Format: yyyy-MM-dd 'T' HH:mm:ssZ (ISO), e.g. 2021-07-29T03:08:00Z |
string (date-time) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Success |
|
400 |
Bad request |
No Content |
401 |
Unauthorized |
No Content |
422 |
Unprocessable Entity |
No Content |
500 |
Internal Server Error |
No Content |
503 |
Gateway timeout or Service Unavailable |
No Content |
2.6.3. Get historians with os list and historian type list
GET /v1/routes-viewer/historians
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Success |
|
400 |
Bad request |
No Content |
401 |
Unauthorized |
No Content |
500 |
Internal Server Error |
No Content |
503 |
Gateway timeout or Service Unavailable |
No Content |
2.7. Labor-code-details-controller
Labor Code Details Controller
2.7.1. Add Labor code
POST /v1/laborcodes/create
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Body |
laborCodeCreateRequest |
Details of the labor code to create |
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 labor code by Unit, Line And Deartment
GET /v1/laborcodes/getLaborCodes
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Query |
lineId |
lineId |
integer (int32) |
Query |
unitId |
unitId |
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.7.3. Get labor code by id
GET /v1/laborcodes/getLaborCodesByIds
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Query |
laborCodeId |
laborCodeId |
< integer (int32) > array(multi) |
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. Update Labor code
PUT /v1/laborcodes/update/{id}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
id |
id |
integer (int32) |
Body |
laborCodeUpdateRequest |
Details of the labor code to update |
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. Labor-type-controller
Labor Type Controller
2.8.1. Get LaborTypes
GET /v1/routes-viewer/laborTypes
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
2.9. Line-controller
Line Controller
2.9.1. Get all lines
GET /v1/routes-viewer/lines
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
401 |
Unauthorized |
No Content |
404 |
Not Found |
No Content |
2.9.2. Get all lines
GET /v1/routes-viewer/lines/materials/{id}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
id |
id |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
401 |
Unauthorized |
No Content |
404 |
Not Found |
No Content |
2.9.3. Get a single line
GET /v1/routes-viewer/lines/{lineId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
lineId |
lineId |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
401 |
Unauthorized |
No Content |
404 |
Not Found |
No Content |
2.10. Permission-check-controller
Permission Check Controller
2.10.1. checkPermission
GET /v1/routes-viewer/checkPermission
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
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.11. Product-controller
Product Controller
2.11.1. Get Products
GET /v1/routes-viewer/products
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
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.12. Product-property-value-controller
Product Property Value Controller
2.12.1. Get property value for product
GET /v1/product/{productId}/properties
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
productId |
product 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 |
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.13. Property-group-controller
Property Group Controller
2.13.1. Get all property definitions
GET /v1/properties/definitions
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
|
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.13.2. Get all revisions for property-group-definition
GET /v1/properties/definitions/{initialId}/revisions
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
initialId |
initialId |
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.3. Get all property groups list
GET /v1/properties/groups
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
|
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.13.4. Get all property group with definitions list
GET /v1/properties/groups-definitions
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
|
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.13.5. Get property group by property group id
GET /v1/properties/groups/{groupId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
groupId |
groupId |
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.6. Properties sync for route
POST /v1/properties/routes/{routeId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
routeId |
routeId |
integer (int64) |
Body |
propertyGroupIds |
Property GroupIds |
< string > array |
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.13.7. Get selected list of property groups for route or segment
GET /v1/properties/routes/{routeId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
routeId |
routeId |
integer (int64) |
Query |
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.13.8. Get all property definitions by property group id
GET /v1/properties/{groupId}/definitions
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
groupId |
groupId |
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.14. Route-controller
Route Controller
2.14.1. Check if ECO is enabled
GET /v1/routes-viewer/isecoenabled
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Success |
object |
401 |
Unauthorized |
|
404 |
Not Found |
|
500 |
Internal Server error |
2.14.2. Create Route
POST /v1/routes-viewer/routes
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Body |
route |
route |
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.14.3. Get routes
GET /v1/routes-viewer/routes
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
|
Query |
bomFormulationId |
bomFormulationId |
integer (int64) |
|
Query |
description |
description |
string |
|
Query |
isPartialSearch |
isPartialSearch |
boolean |
|
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.14.4. Get Secret Key
POST /v1/routes-viewer/routes/secretkey
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Body |
route |
route |
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.14.5. Get route
GET /v1/routes-viewer/routes/{routeId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
routeId |
routeId |
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.14.6. Delete Route
DELETE /v1/routes-viewer/routes/{routeId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
routeId |
routeId |
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.14.7. Update Route
PATCH /v1/routes-viewer/routes/{routeId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
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.14.8. Archive route
PATCH /v1/routes-viewer/routes/{routeId}/archive
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
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.14.9. Copy route
POST /v1/routes-viewer/routes/{routeId}/copy
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
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.14.10. Create a New Revision
POST /v1/routes-viewer/routes/{routeId}/revision
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
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.14.11. Release Route
POST /v1/routes-viewer/routes/{routeId}/{confirmRelease}/release
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
|
Path |
confirmRelease |
confirm release flag |
boolean |
|
Path |
routeId |
routeId |
integer (int64) |
|
Body |
approvalProcessRequest |
Approval workflow request of the route |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
401 |
Unauthorized |
No Content |
422 |
Unprocessable Entity |
No Content |
500 |
Server error |
No Content |
2.14.12. Upgrade Segment
GET /v1/routes-viewer/upgrade/{schemaVersion}/{routeId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
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.15. Segment-controller
Segment Controller
2.15.1. Get Segment tools
GET /v1/segments-viewer/segments/tools
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Query |
routeId |
routeId |
integer (int64) |
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.15.2. Get BOM Expiry and Sync
POST /v1/segments-viewer/{routeId}/hasBOMFormulationChanged
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
routeId |
routeId |
integer (int64) |
Body |
segmentsDefinition |
segmentsDefinition |
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.15.3. Get Segments
GET /v1/segments-viewer/{routeId}/segments
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
|
Path |
routeId |
routeId |
integer (int64) |
|
Query |
bomFormulationId |
bomFormulationId |
integer (int64) |
|
Query |
isUpdateBOMformulation |
isUpdateBOMformulation |
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.15.4. Add Segment
PUT /v1/segments-viewer/{routeId}/segments
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
routeId |
routeId |
integer (int64) |
Body |
segmentDefInput |
segmentDefInput |
object |
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.15.5. Get Segment
GET /v1/segments-viewer/{routeId}/segments/{segmentId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
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.16. Tool-category-controller
Tool Category Controller
2.16.1. Get all parent tool categories
GET /v1/routes-viewer/toolCategories/parentCategories
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
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.16.2. Get all parent tool categories
GET /v1/routes-viewer/toolCategories/{id}/subCategoriesAndTools
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
id |
Category Id |
integer (int32) |
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.17. Tool-controller
Tool Controller
2.17.1. Wild card tool search by tool code or category name
GET /v1/tools/search
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Query |
name |
name |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< ToolSearchResponse > array |
400 |
BadRequest |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden, Authenticated user is not known by MES |
No Content |
2.18. Unit-controller
Unit Controller
2.18.1. Get all departments
GET /v1/routes-viewer/departments
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
400 |
Invalid data supplied. See message for details. |
|
401 |
Unauthorized |
|
404 |
Not Found |
2.18.2. Get all units
GET /v1/routes-viewer/units
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Query |
lineId |
lineId |
integer (int32) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
400 |
Invalid data supplied. See message for details. |
|
401 |
Unauthorized |
|
404 |
Not Found |
2.19. User-settings-controller
User Settings Controller
2.19.1. Create User settings for the logged in user
POST /v2/settings
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Body |
userSettingsRequest |
User Setting Object |
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.19.2. Get User settings for the logged in User
GET /v2/settings
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
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.19.3. Update User settings for the logged in user
PUT /v2/settings
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Body |
request |
User Preference Object |
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.19.4. Delete User settings for the logged in user
DELETE /v2/settings
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Query |
appId |
appId |
integer (int32) |
Query |
viewName |
viewName |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
204 |
Success |
string |
400 |
Invalid data supplied |
|
401 |
User Unauthorized |
No Content |
404 |
Not Found, User Setting not found |
|
500 |
Internal Server Error |
2.19.5. Get Privilege Sets
GET /v2/settings/apps
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Query |
appName |
appName |
string |
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.20. Variable-controller
Variable Controller
2.20.1. Create DataEntryPlan
POST /v1/variables/dataEntryPlans
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Body |
dataEntryPlanForCreation |
create data entry plan |
< DataEntryPlanForCreation > array |
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.20.2. Update Data Entry Plan
PUT /v1/variables/dataEntryPlans
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Body |
dataEntryPlanForUpdate |
Updated data entry plan details |
< UpdateDataEntryPlanReq > array |
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.20.3. Duplicate Data Entry Plans
PUT /v1/variables/duplicateDataEntryPlans/{isExistingMaterial}/{routeStatus}
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
|
Path |
isExistingMaterial |
isExistingMaterial |
boolean |
|
Path |
routeStatus |
routeStatus |
string |
|
Body |
duplicateDataEntryPlanReq |
release data entry plans |
< DuplicateDataEntryPlan > array |
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.20.4. Get DataEntryPlans
GET /v1/variables/getDataEntryPlans
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Query |
routeId |
routeId |
integer (int64) |
Query |
workOrderId |
workOrderId |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
204 |
No Content |
|
400 |
Invalid data supplied. See message for details. |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
500 |
Internal Server error |
2.20.5. Get material variables
GET /v1/variables/getMaterialVariables/{productId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
productId |
productId |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
204 |
No Content |
|
400 |
Invalid data supplied. See message for details. |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
500 |
Internal Server error |
2.20.6. Get unit variables
GET /v1/variables/getUnitVariables
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Query |
productId |
productId |
integer (int64) |
Query |
unitIds |
unitIds |
< integer (int64) > array(multi) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
204 |
No Content |
|
400 |
Invalid data supplied. See message for details. |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
500 |
Internal Server error |
2.20.7. Release Data Entry Plans
PUT /v1/variables/releaseDataEntryPlan/{productId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
productId |
productId |
integer (int64) |
Body |
releaseDataEntryPlanReq |
release data entry plans |
< ReleaseDataEntryPlanReq > array |
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.21. Work-order-controller
Work Order Controller
2.21.1. Create work order
POST /v1/workOrders
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Body |
workOrderCreation |
workOrderCreation |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
201 |
Created |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
500 |
Internal Server error |
2.21.2. update properties
PUT /v1/workOrders
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
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.21.3. Check work order
GET /v1/workOrders/exists
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Query |
workOrderName |
workOrderName |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Ok |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
500 |
Internal Server error |
2.21.4. Delete work order
DELETE /v1/workOrders/{workOrderId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Header |
Site-Id |
Represents the id of the site to connect to |
string |
Path |
workOrderId |
workOrderId |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
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 CONTINUE, 101 SWITCHING_PROTOCOLS, 102 PROCESSING, 103 CHECKPOINT, 200 OK, 201 CREATED, 202 ACCEPTED, 203 NON_AUTHORITATIVE_INFORMATION, 204 NO_CONTENT, 205 RESET_CONTENT, 206 PARTIAL_CONTENT, 207 MULTI_STATUS, 208 ALREADY_REPORTED, 226 IM_USED, 300 MULTIPLE_CHOICES, 301 MOVED_PERMANENTLY, 302 FOUND, 302 MOVED_TEMPORARILY, 303 SEE_OTHER, 304 NOT_MODIFIED, 305 USE_PROXY, 307 TEMPORARY_REDIRECT, 308 PERMANENT_REDIRECT, 400 BAD_REQUEST, 401 UNAUTHORIZED, 402 PAYMENT_REQUIRED, 403 FORBIDDEN, 404 NOT_FOUND, 405 METHOD_NOT_ALLOWED, 406 NOT_ACCEPTABLE, 407 PROXY_AUTHENTICATION_REQUIRED, 408 REQUEST_TIMEOUT, 409 CONFLICT, 410 GONE, 411 LENGTH_REQUIRED, 412 PRECONDITION_FAILED, 413 PAYLOAD_TOO_LARGE, 413 REQUEST_ENTITY_TOO_LARGE, 414 URI_TOO_LONG, 414 REQUEST_URI_TOO_LONG, 415 UNSUPPORTED_MEDIA_TYPE, 416 REQUESTED_RANGE_NOT_SATISFIABLE, 417 EXPECTATION_FAILED, 418 I_AM_A_TEAPOT, 419 INSUFFICIENT_SPACE_ON_RESOURCE, 420 METHOD_FAILURE, 421 DESTINATION_LOCKED, 422 UNPROCESSABLE_ENTITY, 423 LOCKED, 424 FAILED_DEPENDENCY, 425 TOO_EARLY, 426 UPGRADE_REQUIRED, 428 PRECONDITION_REQUIRED, 429 TOO_MANY_REQUESTS, 431 REQUEST_HEADER_FIELDS_TOO_LARGE, 451 UNAVAILABLE_FOR_LEGAL_REASONS, 500 INTERNAL_SERVER_ERROR, 501 NOT_IMPLEMENTED, 502 BAD_GATEWAY, 503 SERVICE_UNAVAILABLE, 504 GATEWAY_TIMEOUT, 505 HTTP_VERSION_NOT_SUPPORTED, 506 VARIANT_ALSO_NEGOTIATES, 507 INSUFFICIENT_STORAGE, 508 LOOP_DETECTED, 509 BANDWIDTH_LIMIT_EXCEEDED, 510 NOT_EXTENDED, 511 NETWORK_AUTHENTICATION_REQUIRED) |
subErrors |
|
timestamp |
string |
3.2. ApiSubError
Name | Schema |
---|---|
args |
< string > array |
errorCode |
string |
field |
string |
message |
string |
value |
object |
3.3. AppliesTo
Name | Schema |
---|---|
excludedMaterialLotActualIds |
< integer (int64) > array |
materialLotActualIds |
< integer (int64) > array |
3.4. ApprovalProcessRequest
Approval process request associated with route release
Name | Description | Schema |
---|---|---|
workFlowId |
Approval process workflow id. |
integer (int64) |
3.5. AssociatedProduct
Name | Schema |
---|---|
associationId |
integer (int64) |
productId |
integer (int64) |
unitId |
integer (int64) |
3.6. BomFormulation
Name | Schema |
---|---|
associatedProducts |
< AssociatedProduct > array |
behaviors |
< string > array |
crossReferences |
< CrossReference > array |
effectiveDate |
string |
expirationDate |
string |
formulationCode |
string |
formulationDescription |
string |
formulationItems |
< FormulationItem > array |
isBOMAliasDuplicate |
boolean |
producedQuantity |
number (double) |
producedQuantityPrecision |
integer (int32) |
producedQuantityUnitOfMeasureId |
integer (int64) |
propertyValues |
< PropertyValues > array |
schemaVersion |
integer (int64) |
3.7. Class to hold tag related information
Name | Description | Schema |
---|---|---|
quality |
Quality of a historian tag data value like good, bad etc. |
string |
timeStamp |
timeStamp |
string |
value |
Historian tag data value |
string |
3.8. CrossReference
Name | Schema |
---|---|
externalId |
string |
externalSystemId |
integer (int64) |
3.9. DataEntryPlanForCreation
Name | Description | Schema |
---|---|---|
eventSubtypeId |
integer (int64) |
|
eventType |
enum (Time, ProductionEvent, Downtime, Waste, ProductChange, ProductByTime, Replix, Import, Export, Trigger, Genealogy, Alarm, UserDefined, Generic, InputMovement, InputGenealogy, InputConsumption, ProcessOrder, UnitConversion, Disposition, Uptime, Autoline, Acquidata, Valmet, ProductionEventByTime, ProcessOrderByTime, AutomatedCOAReporting, CrewSchedule, SegmentResponse, WorkResponse) |
|
groups |
< DataEntryPlanGroupInfo > array |
|
isReleased |
True if this data entry plan is released and cannot be modified. |
boolean |
name |
string |
3.10. DataEntryPlanGroupInfo
Name | Schema |
---|---|
name |
string |
variables |
< DataEntryPlanVariableInfo > array |
3.11. DataEntryPlanGroupInfoForUpdate
Name | Schema |
---|---|
name |
string |
variables |
< DataEntryPlanVariableInfoForUpdate > array |
3.12. DataEntryPlanVariableInfo
Name | Description | Schema |
---|---|---|
isMandatory |
True if entering a value for this variable is mandatory; Otherwise, false. |
boolean |
preferredToolId |
integer (int32) |
|
toolCategoryIds |
ToolCategoryList asssigned to variable |
< integer (int32) > array |
tools |
ToolList asssigned to variable |
< ToolsInfo > array |
variableId |
ID of the variable associated with this data entry plan |
integer (int64) |
3.13. DataEntryPlanVariableInfoForUpdate
Name | Schema |
---|---|
isMandatory |
boolean |
preferredToolId |
integer (int32) |
toolCategoryIds |
< integer (int32) > array |
tools |
< ToolsInfo > array |
variableId |
integer (int64) |
3.15. DuplicateDataEntryPlan
Name | Schema |
---|---|
dataEntryPlanId |
< integer (int64) > array |
segmentId |
integer (int64) |
3.17. ExternalConfigResponse
Name | Schema |
---|---|
actionId |
integer (int64) |
actionName |
string |
actionType |
string |
actionTypeId |
integer (int64) |
configId |
integer (int64) |
createdBy |
string |
data |
object |
deleted |
boolean |
id |
integer (int64) |
updatedBy |
string |
3.18. ExternalConfigResponsePage
Name | Schema |
---|---|
content |
< ExternalConfigResponse > array |
links |
|
page |
3.19. FormulationItem
Name | Schema |
---|---|
appliesTo |
|
behaviors |
< string > array |
displayOrder |
integer (int32) |
itemId |
integer (int64) |
itemReference |
string |
locationId |
integer (int64) |
lotDescription |
string |
lowerTolerance |
number (double) |
lowerTolerancePrecision |
integer (int64) |
productCode |
string |
productDescription |
string |
productId |
integer (int64) |
propertyValues |
< PropertyValues > array |
quantity |
number (double) |
quantityPrecision |
integer (int32) |
scrapFactor |
number (double) |
substitutions |
< Substitution > array |
unitId |
integer (int64) |
unitName |
string |
unitOfMeasureId |
integer (int64) |
uomCode |
string |
uomDescription |
string |
upperTolerance |
number (double) |
upperTolerancePrecision |
integer (int64) |
3.20. FormulationItemsConsumption
Name | Schema |
---|---|
behaviors |
< string > array |
itemReference |
string |
lowerTolerance |
number (double) |
quantity |
number (double) |
quantityPrecision |
integer (int32) |
upperTolerance |
number (double) |
3.21. Historian
Name | Schema |
---|---|
active |
boolean |
alias |
string |
histDefault |
boolean |
histId |
integer (int64) |
histPassword |
string |
histPassword2 |
string |
histServername |
string |
histTypeDesc |
string |
histTypeDllName |
string |
histTypeId |
integer (int64) |
histUsername |
string |
osDesc |
string |
osId |
integer (int64) |
remote |
boolean |
3.22. HistorianTagPage
Name | Schema |
---|---|
content |
< HistorianTagResource > array |
links |
|
page |
3.23. HistorianTagResource
Name | Description | Schema |
---|---|---|
dataType |
Data type of a tag server |
string |
description |
description |
string |
engineeringUnits |
engineeringUnits |
string |
historianTagValueInfo |
Class having value a of historian tag data |
|
links |
||
tagName |
Tag Name |
string |
3.24. HistorianTagValuePage
Name | Schema |
---|---|
content |
< HistorianTagValueResource > array |
links |
|
page |
3.25. HistorianTagValueResource
Name | Description | Schema |
---|---|---|
links |
||
quality |
Quality of a historian tag data value like good, bad etc. |
string |
timeStamp |
timeStamp |
string |
value |
Historian tag data value |
string |
3.26. HistorianTypes
Name | Schema |
---|---|
histTypeDesc |
string |
histTypeDllName |
string |
histTypeId |
integer (int64) |
3.27. Historians
Name | Schema |
---|---|
historianList |
< Historian > array |
historianTypeList |
< HistorianTypes > array |
operatingSystemList |
< OperatingSystems > array |
3.29. LaborCodeCreateReq
Name | Schema |
---|---|
appliesToMachine |
boolean |
appliesToPeople |
boolean |
deptId |
integer (int32) |
displayName |
string |
externalId |
string |
inspectionFactor |
number (float) |
lineId |
integer (int32) |
runFactor |
number (float) |
setupFactor |
number (float) |
transportFactor |
number (float) |
unitId |
integer (int32) |
3.30. LaborCodeUpdateReq
Name | Schema |
---|---|
displayName |
string |
externalId |
string |
inspectionFactor |
number (float) |
runFactor |
number (float) |
setupFactor |
number (float) |
transportFactor |
number (float) |
3.31. LaborPlan
Name | Schema |
---|---|
laborCodes |
< integer (int64) > array |
standardLaborPlan |
< LaborPlanItem > array |
3.32. LaborPlanItem
Name | Schema |
---|---|
basis |
enum (item, lot) |
laborPlanningTypeId |
integer (int64) |
time |
integer (int64) |
3.33. Link
Name | Schema |
---|---|
deprecation |
string |
href |
string |
hreflang |
string |
media |
string |
name |
string |
profile |
string |
rel |
string |
template |
|
templated |
boolean |
title |
string |
type |
string |
3.35. MaterialLotEntryRequest
Name | Schema |
---|---|
lotIdentifier |
string |
plannedQuantity |
integer (int32) |
3.37. PageMetadata
Name | Schema |
---|---|
number |
integer (int64) |
size |
integer (int64) |
totalElements |
integer (int64) |
totalPages |
integer (int64) |
3.38. PlannedUnit
Name | Schema |
---|---|
machinePlan |
|
peoplePlan |
|
unitId |
integer (int64) |
3.39. PrivilegeSet
Name | Schema |
---|---|
category |
string |
description |
string |
displayName |
string |
icon |
string |
id |
integer (int32) |
scope |
string |
3.41. ReleaseDataEntryPlanReq
Name | Schema |
---|---|
dataEntryPlanId |
integer (int64) |
unitId |
< integer (int64) > array |
3.42. RouteForCreateInfo
Name | Description | Schema |
---|---|---|
bomFormulationId |
bomFormulationId of the route |
integer (int64) |
description |
description of the route record |
string |
minorRevision |
minor revision of the route record |
integer (int32) |
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) |
revisionReason |
revision reason of the route record |
string |
secretKey |
secretkey of the BFF request |
string |
status |
status of the route record |
string |
3.43. RouteForStatusUpdateInfo
Route data tranfer object for update
Name | Description | Schema |
---|---|---|
status |
Status of the route record |
string |
3.44. 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 |
revisionReason |
revisionReason of the route record |
string |
status |
Status of the route record |
string |
3.45. Segment
Name | Schema |
---|---|
appliesTo |
|
behaviors |
< string > array |
dataEntryPlans |
< integer (int64) > array |
description |
string |
documents |
< Document > array |
formulationItemsConsumption |
< FormulationItemsConsumption > array |
name |
string |
plannedUnits |
< PlannedUnit > array |
propertyValues |
< PropertyValues > array |
segmentId |
integer (int64) |
segmentType |
enum (group, route, segment) |
suggestedLaborTypes |
< integer (int64) > array |
3.46. SegmentsDefinition
Name | Schema |
---|---|
bomFormulation |
|
bomFormulationId |
integer (int64) |
plannedLineId |
integer (int64) |
producedMaterialId |
integer (int64) |
schemaVersion |
integer (int32) |
segments |
< Segment > array |
structure |
|
structureType |
enum (tree, simple) |
3.47. SequenceElement
Name | Schema |
---|---|
children |
< SequenceElement > array |
displayOrder |
integer (int64) |
mutualExclusionSets |
< integer (int64) > array |
segmentId |
integer (int64) |
sequenceNumber |
integer (int64) |
skipIfSuccessorStarted |
boolean |
3.49. Substitution
Name | Schema |
---|---|
conversionFactor |
number (double) |
productCode |
string |
productDescription |
string |
productId |
integer (int64) |
quantity |
number (double) |
quantityPrecision |
integer (int32) |
substitutionOrder |
integer (int32) |
uom |
integer (int64) |
uomCode |
string |
uomDescription |
string |
3.50. TemplateVariable
Name | Schema |
---|---|
description |
string |
name |
string |
type |
enum (, ?, &, /, #, *) |
3.51. ToolSearchResponse
Name | Schema |
---|---|
calibrationDueDate |
string (date-time) |
description |
string |
hierarchyLevel |
integer (int32) |
id |
integer (int32) |
isCustomTool |
boolean |
lastCalibrationDate |
string (date-time) |
manufacturer |
string |
name |
string |
parentId |
integer (int32) |
serialNumber |
string |
status |
string |
toolsCount |
integer (int32) |
type |
enum (TOOLCATEGORY, TOOL) |
3.53. UpdateDataEntryPlanReq
Name | Schema |
---|---|
eventSubtypeId |
integer (int64) |
eventType |
enum (Time, ProductionEvent, Downtime, Waste, ProductChange, ProductByTime, Replix, Import, Export, Trigger, Genealogy, Alarm, UserDefined, Generic, InputMovement, InputGenealogy, InputConsumption, ProcessOrder, UnitConversion, Disposition, Uptime, Autoline, Acquidata, Valmet, ProductionEventByTime, ProcessOrderByTime, AutomatedCOAReporting, CrewSchedule, SegmentResponse, WorkResponse) |
groups |
< DataEntryPlanGroupInfoForUpdate > array |
id |
integer (int64) |
name |
string |
3.54. UriTemplate
Name | Schema |
---|---|
variableNames |
< string > array |
variables |
< TemplateVariable > array |
3.55. UserSettingRequest
Name | Description | Schema |
---|---|---|
appId |
integer (int32) |
|
data |
The application specific settings, Eg:- 'App Name' : {'property1' : 'value' , 'property2' : 'value'} } |
object |
viewName |
string |
3.56. UserSettingResponseResource
Name | Schema |
---|---|
appId |
integer (int32) |
data |
object |
defaultSetting |
boolean |
links |
< Link > array |
viewName |
string |
3.57. WorkOrder
Work order Data transfer object
Name | Description | Schema |
---|---|---|
cancelledOn |
Date that the work order was cancelled. |
string (date-time) |
completedBy |
The user that completed the work order. |
string |
completedOn |
Date that the work order was completed. |
string (date-time) |
createdBy |
User that created the work order. |
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 work order. |
string |
lastModifiedOn |
Date that the work order was last modified. |
string (date-time) |
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.58. WorkOrderCreationRequest
Name | Schema |
---|---|
materialLotEntries |
< MaterialLotEntryRequest > array |
name |
string |
plannedEndDate |
string (date-time) |
plannedQuantity |
integer (int32) |
plannedStartDate |
string (date-time) |
priority |
integer (int32) |
producedMaterialId |
integer (int64) |
productionLineId |
integer (int64) |
routeDefinitionId |
integer (int64) |
3.59. WorkOrderExistsResponse
Name | Schema |
---|---|
exists |
boolean |
id |
integer (int64) |
status |
string |
3.60. WorkOrderProperties
WorkOrderProperties data tranfer object
Name | Schema |
---|---|
propertiesDefInfoList |
< PropertyValues > array |
segementDefinitionId |
integer (int64) |
3.61. WorkOrderPropertiesUpdateRequest
WorkOrderPropertiesUpdateRequest data tranfer object
Name | Schema |
---|---|
bomFormulationId |
integer (int64) |
workOrderId |
integer (int64) |
workOrderPropertiesList |
< WorkOrderProperties > array |
3.62. WorkflowConfigurationInfo
Name | Schema |
---|---|
active |
boolean |
coOwner |
string |
createdBy |
string |
createdOn |
string (date-time) |
equipementId |
integer (int64) |
id |
integer (int64) |
lastModifiedBy |
string |
lastModifiedOn |
string (date-time) |
lineId |
integer (int64) |
name |
string |
revision |
integer (int32) |
workflowEventName |
string |
3.63. WorkflowConfigurationInfosPage
Name | Schema |
---|---|
content |
< WorkflowConfigurationInfo > array |
links |
< Link > array |
page |
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. |