1. Overview
The service contains a collection of RESTful service calls relating to Process Order from the Plant apps serverDescriptions of these functions can be found in the section headers for each collection of relevant resources.
1.2. Tags
-
comment-controller : Comment Controller
-
common-bom-controller : Common Bom Controller
-
execution-path-controller : Execution Path Controller
-
monitoring-controller : Monitoring Controller
-
process-order-bom-controller : Process Order Bom Controller
-
process-order-status-controller : Process Order Status Controller
-
production-scheduler-controller : Production Scheduler Controller
-
property-controller : Property Controller
-
user-settings-controller : User Settings Controller
2. Resources
2.1. Comment-controller
Comment Controller
2.1.1. Add a comment
POST /comments
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
orderId |
Order id to which comment needs to be added |
integer (int64) |
Body |
commentCreateInfo |
Comment Create Info |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Ok |
|
400 |
Bad Request |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
500 |
Internal Server Error |
No Content |
503 |
Service Unavailable |
No Content |
2.1.2. Get the history of comments for the given order id
GET /comments
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
orderId |
Order id for which comments are required |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Ok |
< CommentInfo > array |
401 |
Unauthorized |
No Content |
500 |
Internal Server Error |
No Content |
503 |
Service Unavailable |
No Content |
2.1.3. Get the details of a comment
GET /comments/{commentId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
commentId |
commentId |
integer (int64) |
Query |
orderId |
Order id for which comment is required |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Ok |
|
401 |
Unauthorized |
No Content |
404 |
Not Found |
No Content |
500 |
Internal Server Error |
No Content |
503 |
Service Unavailable |
No Content |
2.1.4. Update a comment
PUT /comments/{commentId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
commentId |
commentId |
integer (int64) |
Query |
orderId |
Order id to which this comment belongs to |
integer (int64) |
Body |
commentUpdateInfo |
Comment Update Info |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Ok |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
422 |
Unprocessable Entity |
No Content |
500 |
Internal Server Error |
No Content |
503 |
Service Unavailable |
No Content |
2.1.5. Delete the Process Order comment
DELETE /comments/{commentId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
commentId |
commentId |
integer (int64) |
Query |
orderId |
Order id to which this comment belongs to |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Ok |
object |
400 |
Bad Request |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
500 |
Internal Server Error |
No Content |
503 |
Service Unavailable |
No Content |
2.2. Common-bom-controller
Common Bom Controller
2.2.1. Get Permission on a resource
GET /api/checkPermission
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
permissionName |
permissionName |
string |
Query |
resourceId |
ResourceId |
integer (int64) |
Query |
resourceType |
Resource Type |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
boolean |
400 |
Bad Request |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
500 |
Internal Server error |
2.2.2. Get Custom Property Details for entity, currently only productId is supported as entityType
GET /api/customProperties
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
entityId |
Id of the entity for which |
integer (int64) |
|
Query |
entityType |
entityType |
enum (Product) |
|
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< ProductCustomProperty > array |
400 |
Invalid data supplied |
|
401 |
User Unauthorized |
No Content |
404 |
Not found, properties not available |
|
500 |
Internal Server Error |
|
503 |
Service Unavailable |
2.2.3. Get Units/equipments to create the source lot
GET /api/equipments
Description
For Units to create the lots on: following units will be considered and then ProductId and engineeringUnitId check will be applied,
if no units returned then configuration for StorageUnit of item and RawMaterial Input unit configuration on production counting unit should be checked.
If the storage unit is configured on the bomItem then use it.
ELSE If RawMaterialInput Source Units are configured on the productionCountingUnits of path of process order then use the Source Units.
ELSE use all the units
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
bomItemStorageUnitId |
if bomItemStorageUnitId is non null then this storage unit details will be returned if it can support the product and bomItemEngineeringUnitId |
integer (int64) |
Query |
engineeringUnitId |
Bom Item Engineering Unit Id |
integer (int64) |
Query |
processOrderId |
processOrderId is used to check the RawMaterialInput Source Units configuration, if not provided then this check will be ignored |
integer (int64) |
Query |
productId |
Product Id to get the equipments |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Ok |
< UnitInfo > array |
400 |
Invalid data supplied. See message for details. |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
No Content |
422 |
Unprocessable Entity |
No Content |
503 |
Service Unavailable |
No Content |
2.2.4. consume Lot
POST /api/lot/consume
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
createLot |
whether to create lot as well, defaults to true |
boolean |
|
Body |
lotCreateAndConsumeRequest |
Body for creation of source lot and consumption operation |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Ok |
|
201 |
Created |
|
400 |
Invalid data supplied. See message for details. |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
No Content |
422 |
Unprocessable Entity |
No Content |
503 |
Service Unavailable |
No Content |
2.2.5. Search for the lots.
GET /api/lots
Description
For Units to partial search the lots on:-
bomItemStorageUnitId and processOrderId are used to find out the units on which the production events is searched on, based on the below logic:
If the storage unit is there then use it.
ELSE If RawMaterialInput Source Units are configured on the productionCountingUnits of path of process order then use the Source Units.
ELSE don’t apply UnitIds as filter to search the lots
If exact search is performed then bomItemStorageUnitId and processOrderId will be used just to populate isValidUnitForConsumption flag in the response if the exact lot doesn’t belong to those units
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
bomItemStorageUnitId |
lots will be searched from this unit if it is provided in case of partial search. In case of exact search there will be a flag [isValidUnitForConsumption] set in the response saying if lot belongs to this storage unit or not. |
integer (int64) |
|
Query |
bomItemUnitOfMeasureId |
BOM Item unit of measure Id to filter the lots with incorrect UOMId |
integer (int64) |
|
Query |
lotIdentifier |
lot identifier (use exact event_num/lot_identifier for this property) |
string |
|
Query |
lotIdentifierPartialSearch |
Whether to do partial match using lotIdentifier param or exact match. Default value false - lotIdentifier param will be used for exact match to Event_Num or lot_Identifier. True - lotIdentifier param will be used for partial match to Event_Num or lot_Identifier |
boolean |
|
Query |
orderType |
Order Type on which the lots are to be searched on, will be required if orderType is WorkOrder and includeLotsWithImplicitProduct search is not required |
enum (ProcessOrder, WorkOrder) |
|
Query |
processOrderId |
processOrderId is used to check the RawMaterialInput Source Units configuration, if not provided then this check will be ignored |
integer (int64) |
|
Query |
productId |
productId the lot which is being searched |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< BomMaterialLotInfo > array |
401 |
Unauthorized |
|
403 |
Forbidden |
|
404 |
Not Found |
|
422 |
Unprocessable Entity |
|
500 |
Internal Server error |
|
503 |
Service Unavailable |
2.2.6. Consumption details for the item
GET /api/orders/{orderId}/bom/{itemId}/consumptions
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
itemId |
bom itemId for which consumption history is required |
integer (int64) |
|
Path |
orderId |
order id, either work orderId or process order id |
integer (int64) |
|
Query |
bomItemProductId |
Product Id of the bomItem. |
integer (int64) |
|
Query |
bomItemQuantityPrecision |
QuantityPrecision of the bomItem. |
integer (int32) |
|
Query |
bomItemStorageUnitId |
Storage Unit Id of the bomItem. |
integer (int64) |
|
Query |
bomItemUnitOfMeasureId |
UnitOfMeasureId of the bomItem. |
integer (int64) |
|
Query |
consumptionRecordId |
consumptionRecordId of the consumption operation. |
integer (int64) |
|
Query |
orderType |
orderType |
enum (ProcessOrder, WorkOrder) |
|
Query |
segmentId |
segmentId |
integer (int64) |
|
Query |
sourceMaterialLotId |
sourceMaterialLotId |
integer (int64) |
|
Query |
targetLotId |
targetLot against which consumption history is required. if not passed then roll up consumption of process order will be returned in case of order type as process order. empty list will be retuned if order type is workorder |
integer (int64) |
|
Query |
totalQuantityToConsume |
totalRequiredQuantityToConsume used to calculate BomRequiredForConsumption |
number (double) |
|
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Ok |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
2.2.7. Get MaterialLot Status by Id from product service
GET /api/statuses/{materialLotStatusId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
materialLotStatusId |
MaterialLot Status ID To Get a MaterialLot Status Details. |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< MaterialLotStatus > array |
401 |
Unauthorized |
|
403 |
Forbidden |
|
404 |
Not Found |
|
422 |
Unprocessable Entity |
|
500 |
Internal Server error |
|
503 |
Service Unavailable |
2.2.8. Get BOM Details for the process order
GET /api/{orderId}/boms
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
orderId |
Id of ProcessOrder or WorkOrder. |
integer (int64) |
|
Query |
orderType |
OrderType of the orderId, it can be ProcessOrder or WorkOrder |
enum (ProcessOrder, WorkOrder) |
|
Query |
plannedQuantity |
Relevant only if ordertype is WorkOrder. Default Value is 1 |
integer (int32) |
|
Query |
segmentId |
segmentId, Relevant only if ordertype is WorkOrder. |
integer (int64) |
|
Query |
targetLotId |
Id of the targetLot. Should be passed null if roll up consumption for process order is required |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Ok |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
2.3. Execution-path-controller
Execution Path Controller
2.3.1. Get paths
GET /api/paths
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
lineIds |
Comma separated list of Production line ids |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< ExecutionPathExtendedResource > array |
401 |
Unauthorized |
No Content |
403 |
Forbidden, Authenticated user is not known by MES |
No Content |
404 |
Not Found |
No Content |
2.3.2. Get product details for the path
GET /api/paths/{pathId}/products
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< PathProductInfo > array |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
2.3.3. Get Bom details for the path product
GET /api/paths/{pathId}/products/{productId}/boms
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
pathId |
path id |
integer (int64) |
Path |
productId |
prod id |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< IdNameValue > array |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
2.4. Monitoring-controller
Monitoring Controller
2.4.1. Fetches status for proficy message bridge
GET /monitoring-viewer/messageBridgeStatus
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
204 |
No Content, no service exists |
|
401 |
Unauthorized |
No Content |
500 |
Internal Server Error |
2.4.2. Fetches status for proficy message bridge
GET /monitoring-viewer/messagingStatus
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
204 |
No Content, no service exists |
|
401 |
Unauthorized |
No Content |
500 |
Internal Server Error |
2.5. Process-order-bom-controller
Process Order Bom Controller
2.5.1. checkPermission
GET /api/processOrders/bom/checkPermission
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
permissionName |
permissionName |
string |
Query |
resourceId |
ResourceId |
integer (int64) |
Query |
resourceType |
Resource Type |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
boolean |
400 |
Bad Request |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
500 |
Internal Server error |
2.5.2. Get Equipments to create the source lot
GET /api/processOrders/bom/equipments
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
engineeringUnitId |
Engineering Unit Id |
integer (int64) |
Query |
processOrderId |
processOrderId |
integer (int64) |
Query |
productId |
Product Id to get the equipments |
string |
Query |
unitId |
unitId |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< IdNameValue > array |
400 |
Invalid data supplied. See message for details. |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
No Content |
422 |
Unprocessable Entity |
No Content |
503 |
Service Unavailable |
No Content |
2.5.3. Search for the lots.
GET /api/processOrders/bom/lots/{lotIdentifier}
Description
For Units to search the lots on:
If the storage unit is configured on the bomItem then use it.
ELSE If RawMaterialInput Source Units are configured on the productionCountingUnits of path of process order then use the Source Units.
ELSE don’t apply UnitIds as filter to search the lots
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
lotIdentifier |
lot identifier (use exact event_num/lot_identifier for this property) |
string |
|
Query |
bomFormulationItemId |
bomFormulationItemId |
integer (int64) |
|
Query |
lotIdentifierPartialSearch |
Whether to do partial match using lotIdentifier param or exact match. Default value false - lotIdentifier param will be used for exact match to Event_Num or lot_Identifier. True - lotIdentifier param will be used for partial match to Event_Num or lot_Identifier |
boolean |
|
Query |
processOrderId |
processOrderId |
integer (int64) |
|
Query |
productId |
productId |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< MaterialLotInfoResult > array |
401 |
Unauthorized |
|
403 |
Forbidden |
|
404 |
Not Found |
|
422 |
Unprocessable Entity |
|
500 |
Internal Server error |
|
503 |
Service Unavailable |
2.5.4. Create lot and consume that Lot
POST /api/processOrders/bom/materialLot
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
processOrderId |
processOrderId |
integer (int64) |
Query |
resourceId |
Resource Id for consumption |
integer (int32) |
Query |
resourceType |
Resource type for consumption, example - Unit, Line, Department |
string |
Body |
lotCreateAndConsumeRequest |
Body for creation of source lot and consumption operation |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
Created |
|
400 |
Invalid data supplied. See message for details. |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
No Content |
422 |
Unprocessable Entity |
No Content |
503 |
Service Unavailable |
No Content |
2.5.5. Create a consumption record
POST /api/processOrders/bom/sourceLot
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
processOrderId |
processOrderId |
integer (int64) |
Query |
resourceId |
Resource Id for consumption |
integer (int32) |
Query |
resourceType |
Resource type for consumption, example - Unit, Line, Department |
string |
Body |
consumptionRecord |
Body for consumption operation |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
OK |
|
400 |
Bad Request. |
|
401 |
Unauthorized |
|
403 |
Forbidden |
|
404 |
Not Found |
|
422 |
Unprocessable Entity |
|
503 |
Service Unavailable |
2.5.6. Get MaterialLot Status by Id from product service
GET /api/processOrders/bom/statuses/{materialLotStatusId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
materialLotStatusId |
MaterialLot Status ID To Get a MaterialLot Status Details. |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< MaterialLotStatus > array |
401 |
Unauthorized |
|
403 |
Forbidden |
|
404 |
Not Found |
|
422 |
Unprocessable Entity |
|
500 |
Internal Server error |
|
503 |
Service Unavailable |
2.5.7. Get ProductionEvents/TargetLots for process order
GET /api/processOrders/bom/{orderId}/targetLots
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
orderId |
process order id |
integer (int64) |
Query |
targetLotId |
targetLotId |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< MaterialLotInfoResult > array |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
2.6. Process-order-status-controller
Process Order Status Controller
2.6.1. Get All process Order Statuses based on filter Params
GET /api/processOrders/statuses
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
status |
search by process order status name. |
string |
Query |
statusIds |
List of comma separated status Ids |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< ProcessOrderStatusDetails > array |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
2.6.2. Update process Order Status, statusGroup can be set to Open or Close for the status to be displayed in Open or Close tab. Sorting Order can be set to any integer. Its a relative value
PUT /api/processOrders/statuses/{statusId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
statusId |
StatusId of the status |
integer (int64) |
Body |
statusUpdateDetails |
Body for updating status |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
2.7. Production-scheduler-controller
Production Scheduler Controller
2.7.1. Creates process orders
POST /api/processOrders
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
processOrderCreateDetails |
Body for creating process order |
Responses
HTTP Code | Description | Schema |
---|---|---|
201 |
Created |
|
400 |
Invalid data supplied. See message for details. |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
409 |
Conflict |
No Content |
422 |
Unprocessable Entity |
|
500 |
Internal Server Error |
2.7.2. Get a collection of process orders based on filter set
GET /api/processOrders
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
dateFilterOn |
Column to which date Filter is to be applied, default = PlannedTime. if PlannedTime is passed then it will be applied on Planned Start Time And if ActualTime is passed then it will be applied on first non null value of [ActualEndTime,ActualStartTime,EntyOn] |
enum (PlannedTime, ActualTime) |
|
Query |
endTime |
End time in ISO-8601 format (YYYY-MM-DDThh:mm:ssZ), in case of custom time selection. |
string (date-time) |
|
Query |
includeUnboundedPOs |
Include Unbounded Process Order, [0 - Exclude Unbounded PO in response], [1 to include it] and 2 to just include Unbounded POs and exclude bonded ones. Default value is zero |
integer (int32) |
|
Query |
lineIds |
Comma separated list of Production line ids |
string |
|
Query |
page |
Results page number to retrieve |
string |
|
Query |
pathIds |
Comma separated list of path ids |
string |
|
Query |
pathName |
search by path name. |
string |
|
Query |
processOrderName |
search by process order name. |
string |
|
Query |
prodCode |
search by product code. |
string |
|
Query |
size |
Number of records per page, from 1 to 500 |
string |
|
Query |
startTime |
Start time in ISO-8601 format (YYYY-MM-DDThh:mm:ssZ), in case of custom time selection. |
string (date-time) |
|
Query |
statuses |
Comma separated list of statuses. It can either be comma separated list of statusIds like -1,2,3,4 Or comma separated list of status Names like Active,Pending. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Success |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
2.7.3. Get Bom Options
GET /api/processOrders/bomOptions
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
pathId |
Path Id |
integer (int64) |
Query |
productId |
productId |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< IdNameValue > array |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
2.7.4. Get a process order’s history. This will return paginated po history response. V1 API is not paginated
GET /api/processOrders/v2/{processOrderId}/history
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
processOrderId |
Process order id |
integer (int64) |
Query |
page |
Results page number to retrieve |
string |
Query |
size |
Number of records per page, from 1 to 500 |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
2.7.5. Get a process order
GET /api/processOrders/{orderId}
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
Success |
|
401 |
Unautorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not found |
No Content |
2.7.6. Update a process order
PUT /api/processOrders/{orderId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
orderId |
Process order id |
integer (int64) |
Body |
processOrderUpdateDetails |
Body for updating process order |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Invalid data supplied. See message for details. |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
|
409 |
Conflict |
No Content |
422 |
Unprocessable Entity |
2.7.7. Delete a process order
DELETE /api/processOrders/{orderId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
orderId |
Process order id to be deleted |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
204 |
No Content |
object |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
2.7.8. add process order StartOn unit
POST /api/processOrders/{orderId}/StartOnUnit
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
orderId |
Process orderId which needs to be started on unit |
integer (int64) |
Body |
unit |
UnitId on which this Process order needs to be started, Id is the required field |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
2.7.9. get process order StartOn unit
GET /api/processOrders/{orderId}/StartOnUnit
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
orderId |
Process orderId which needs to be started on unit |
integer (int64) |
Query |
orderStartId |
Process Order startId |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
2.7.10. Get BOM Details for the process order
GET /api/processOrders/{orderId}/boms
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
orderId |
process order id |
integer (int64) |
Query |
targetLotId |
targetLotId |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< MaterialInfo > array |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
2.7.11. Consumption details for the item
GET /api/processOrders/{orderId}/boms/{itemId}/consumptions
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
itemId |
itemId |
integer (int64) |
Path |
orderId |
process order id |
integer (int64) |
Query |
targetLotId |
targetLotId |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< ItemConsumptionRecord > array |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
2.7.12. Get materials for the process order
GET /api/processOrders/{orderId}/materials
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< MaterialInfo > array |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
2.7.13. Get process order history
GET /api/processOrders/{processOrderId}/history
Caution
|
operation.deprecated |
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
processOrderId |
Process order id |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< ProcessOrderHistory > array |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
2.7.14. Get next available units for the process order, Will be applicable for those process orders whose flow is controlled independently
GET /api/processOrders/{processOrderId}/nextAvailableUnits
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
processOrderId |
Process order id |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< IdNameValue > array |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
2.8. Property-controller
Property Controller
2.8.1. Get all revisions for property-group-definition
GET /api/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.8.2. Get all property groups list
GET /api/properties/groups
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
categoryId |
categoryId |
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.8.3. Get property group by property group id
GET /api/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.8.4. Get all property definitions by property group id
GET /api/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.5. Get all property definitions value for given process order
GET /api/properties/{processOrderId}/propertyValues
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
processOrderId |
processOrderId |
integer (int64) |
|
Query |
pageNo |
pageNo |
integer (int32) |
|
Query |
pageSize |
pageSize |
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.8.6. Change all property definitions for given process order
PUT /api/properties/{processOrderId}/propertyValues
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
processOrderId |
processOrderId |
integer (int64) |
Body |
propertyCreateDetailsList |
Body for creating process order property. Valid values for 'level' field are STANDARD, CUSTOM and USERDEFINED |
< PropertyCreateDetails > array |
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. User-settings-controller
User Settings Controller
2.9.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.9.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.9.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.9.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 |
string |
400 |
Invalid data supplied |
|
401 |
User Unauthorized |
No Content |
404 |
Not Found, User Setting not found |
|
500 |
Internal Server Error |
2.9.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 |
3. Definitions
3.1. BomConsumptionRecordDetails
Name | Description | Schema |
---|---|---|
bomRequiredForConsumption |
boolean |
|
itemConsumptionRecords |
BOM Item Consumed records |
< ItemConsumptionRecord > array |
totalConsumedQuantity |
Total Consumed Quantity |
number |
totalConsumedQuantityRaw |
Total Consumed Raw Quantity |
number |
3.2. BomMaterialLotInfo
Name | Schema |
---|---|
availableForConsumption |
boolean |
currentQuantity |
number (float) |
dimension |
string |
dimensionName |
string |
dimensionalQuantities |
< DimensionalQuantity > array |
id |
integer (int64) |
initialQuantity |
number (double) |
lotIdentifier |
string |
processOrderId |
integer (int64) |
productId |
integer (int64) |
statusId |
integer (int64) |
timeStamp |
string (date-time) |
unitId |
integer (int64) |
unitName |
string |
unitOfMeasureId |
integer (int64) |
userId |
integer (int64) |
validStatusBasedOnRawMaterialInputConfig |
boolean |
validUOMBasedOnBomItemConfig |
boolean |
validUnitForConsumption |
boolean |
3.3. BomResponse
Name | Schema |
---|---|
isLastOperation |
boolean |
lastOperation |
boolean |
plannedLineId |
integer (int32) |
processOrderBillOfMaterials |
< object > array |
routeBillOfMaterials |
< object > array |
schemaVersion |
integer (int32) |
segmentBillOfMaterials |
< object > array |
3.5. CommentInfo
Name | Description | Schema |
---|---|---|
commentId |
Id for Comment |
integer (int64) |
commentText |
Comment Content |
string |
commentTime |
string (date-time) |
|
threadId |
integer (int64) |
|
user |
3.6. CommonBomLotCreateAndConsumeRequest
Name | Description | Schema |
---|---|---|
bomItemId |
Bom Item ID, required for createAndConsume as well as just consume |
integer (int64) |
initialQuantity |
Initial Quantity of LOT, required for just createAndConsume. This is the initialQuantity with which the new source lot will be created if a new source lot is required. |
number (double) |
lotIdentifier |
New Material Lot Identifier, required for just createAndConsume. In case create is required, sourceMaterialLotId will be null and no existing lots are there. A lot will be created with this name |
string |
productId |
ProductId / Applied ProductId of new LOT, required for just createAndConsume. This the product on which new source lot will be created if a new source lot is required. |
integer (int64) |
quantityToConsume |
quantityToConsume, required for createAndConsume as well as just consume |
number (double) |
segmentId |
Segment ID, it is valid for work order only |
integer (int64) |
sourceLotUnitId |
Unit Id of the source lot to create the lot on, required for just createAndConsume. This is the unit on which new source lot will be created if a new source lot is required. |
integer (int64) |
sourceMaterialLotId |
Source Material Lot ID, required for just consume. This the existing lot from which consumption will be done |
integer (int64) |
targetLotUnitId |
Target material Lot Unit ID, required for createAndConsume as well as just consume. This will be used to check consume permission on the target Lot |
integer (int64) |
targetMaterialLotId |
Target material Lot ID, required for createAndConsume as well as just consume. This is the lot against which consumtion will be done |
integer (int64) |
unitOfMeasureId |
Unit of Measure ID of the bom item, required for createAndConsume as well as just consume |
integer (int64) |
workOrderId |
Work Order ID, it is valid for work order only |
integer (int64) |
3.7. ConsumptionRecordInfo
Name | Description | Schema |
---|---|---|
bomItemId |
Bom Item ID |
integer (int64) |
consumedQuantity |
Consumed Quantity |
number (double) |
entryOn |
Lot Entry On |
string (date-time) |
id |
Consumption Record ID / event component ID |
integer (int64) |
links |
< Link > array |
|
lotIdentifier |
Lot Identifier |
string |
productId |
Product ID / Applied Product ID |
integer (int64) |
segmentId |
Segment ID |
integer (int64) |
sourceMaterialLotId |
Source Material Lot ID |
integer (int64) |
targetMaterialLotId |
Target material Lot ID |
integer (int64) |
timeStamp |
Lot Timestamp |
string (date-time) |
unitId |
Unit ID / PU ID |
integer (int64) |
unitOfMeasureId |
Unit of Measre ID |
integer (int64) |
userId |
PA UserId |
integer (int64) |
workOrderId |
Work Order ID |
integer (int64) |
3.8. ConsumptionRecordRequest
Name | Description | Schema |
---|---|---|
bomItemId |
Bom Item ID |
integer (int64) |
consumedQuantity |
Consumed Quantity |
number (double) |
segmentId |
Segment ID |
integer (int64) |
sourceMaterialLotId |
Source Material Lot ID |
integer (int64) |
targetMaterialLotId |
Target material Lot ID |
integer (int64) |
unitOfMeasureId |
Unit of Measre ID |
integer (int64) |
workOrderId |
Work Order ID |
integer (int64) |
3.9. DimensionalQuantity
Name | Description | Schema |
---|---|---|
currentQuantity |
Current Quantity of lot / Final Dimension |
number (float) |
dimension |
Dimension to which to which it belongs |
string |
dimensionName |
Dimension name of Subtype |
string |
initialQuantity |
Initial Quantity of lot for / Initial Dimension |
number (double) |
unitOfMeasureId |
Unit Of Measure ID |
integer (int64) |
3.10. EntityModel«ServiceHealthStatus»
Name | Description | Schema |
---|---|---|
isRunning |
The status of the service. Returns true if running, else false |
boolean |
links |
||
reason |
Reason why the service is not running. Returned only when the service is down and if there is a reason for failure |
string |
3.12. ExecutionPathExtendedResource
Name | Description | Schema |
---|---|---|
code |
Customer Code for the path |
string |
commentsThreadId |
The Comments Thread Id of the path record. Points to a chain of comments. |
integer (int64) |
description |
Path Description |
string |
isLineProduction |
Production on this path should count towards line production |
boolean |
isScheduleControlled |
The execution path is controlled by a schedule |
boolean |
lineId |
The production line id of this path |
integer (int64) |
lineProduction |
Example : |
boolean |
links |
< Link > array |
|
pathId |
Unique Id of the path record |
integer (int64) |
pathUnits |
The pathUnits associated with this path |
< ExecutionPathUnitInfo > array |
permissions |
< Permission > array |
|
products |
Available products for this path |
< PathProductInfo > array |
scheduleControlType |
The schedule control type setting |
enum (AllUnitsRunSameScheduleSimultaneously, ScheduleFlowsByEvent, ScheduleFlowsIndependently) |
scheduleControlled |
Example : |
boolean |
3.13. ExecutionPathUnitInfo
Name | Description | Schema |
---|---|---|
executionPathUnitId |
Unique Id of the Execution Path Unit record |
integer (int64) |
isProductionPoint |
Is this unit the production counting unit of the path |
boolean |
isSchedulePoint |
Is this unit the scheduling unit of the path |
boolean |
pathId |
The Path Id of the path this unit is a member of |
integer (int64) |
unitId |
The production unit id |
integer (int64) |
unitOrder |
The execution order of this unit in the path |
integer (int32) |
3.15. IdNameValue
Name | Description | Schema |
---|---|---|
id |
The unique ID of the entity |
integer (int64) |
name |
The name of the entity |
string |
3.16. ItemConsumptionRecord
Name | Description | Schema |
---|---|---|
bomItemId |
bomItemId |
integer (int64) |
consumedQuantity |
consumedQuantity |
number (double) |
consumedQuantityRaw |
consumedQuantityRaw |
number (double) |
id |
Event components id |
integer (int64) |
lotIdentifier |
Source lotIdentifier |
string |
quantityPrecision |
quantityPrecision |
integer (int32) |
sourceMaterialLotId |
sourceMaterialLotId |
integer (int64) |
targetMaterialLotId |
targetMaterialLotId |
integer (int64) |
timeStamp |
Time stamp for the consumption |
string (date-time) |
unitOfMeasure |
Unit Of Measure of the BOM Item |
string |
unitOfMeasureId |
unitOfMeasureId |
integer (int64) |
userId |
User Id of the user who made the consumption |
integer (int64) |
userName |
User Name of the user who made the consumption |
string |
3.17. Link
Name | Description | Schema |
---|---|---|
deprecation |
string |
|
href |
string |
|
hreflang |
string |
|
media |
string |
|
name |
string |
|
profile |
string |
|
rel |
string |
|
template |
||
templated |
Example : |
boolean |
title |
string |
|
type |
string |
3.19. LotCreateAndConsumeRequest
Name | Description | Schema |
---|---|---|
bomItemId |
Bom Item ID |
integer (int64) |
initialQuantity |
Initial Quantity of LOT |
number (double) |
lotIdentifier |
New Material Lot Identifier |
string |
productId |
ProductId / Applied ProductId of new LOT |
integer (int64) |
quantity |
Consume Quantity |
number (double) |
targetMaterialLotId |
Target material Lot ID |
integer (int64) |
unitId |
Unit Id |
integer (int64) |
unitOfMeasureId |
Unit of Measre ID |
integer (int64) |
3.20. MaterialInfo
Name | Schema |
---|---|
actualQuantity |
number (double) |
actualQuantityColorFlag |
integer (int32) |
bOMFormulationId |
integer (int64) |
bOMFormulationItemId |
integer (int64) |
backColor |
integer (int64) |
bomformulationId |
integer (int64) |
bomformulationItemId |
integer (int64) |
colorFlag |
integer (int64) |
engineeringUnits |
string |
itemOrder |
integer (int32) |
location |
string |
lotNumber |
string |
lowerReject |
number (double) |
lowerTolerancePrecision |
integer (int32) |
pUId |
integer (int64) |
prodCode |
string |
prodDesc |
string |
prodId |
integer (int64) |
puid |
integer (int64) |
quantityPer |
number (double) |
quantityPrecision |
integer (int32) |
remainingQuantity |
number (double) |
requiredQuantity |
number (double) |
scrapFactor |
number (double) |
substitutions |
integer (int64) |
upperReject |
number (double) |
upperTolerancePrecision |
integer (int32) |
useEventComponents |
integer (int32) |
3.21. MaterialLotInfoResult
Name | Description | Schema |
---|---|---|
availableForConsumption |
Is Available For Consumption |
boolean |
currentQuantity |
Current Quantity of lot / Final Dimension X |
number (float) |
dimension |
Dimension to which to which it belongs |
string |
dimensionName |
Dimension name of Subtype |
string |
dimensionalQuantities |
Collection of Dimensional quantities A,X,Y,Z |
< DimensionalQuantity > array |
id |
Material Lot ID / Event ID |
integer (int64) |
initialQuantity |
Initial Quantity of lot / Initial Dimension X |
number (double) |
links |
< Link > array |
|
lotIdentifier |
Lot Identifier / Event Num |
string |
processOrderId |
ID of process order / pp_id |
integer (int64) |
productId |
Product ID / Applied Product ID |
integer (int64) |
statusId |
Lot status / Event Status |
integer (int64) |
timeStamp |
Time when the lot was created. |
string (date-time) |
unitId |
Unit ID / PU ID |
integer (int64) |
unitOfMeasureId |
Unit Of Measure ID |
integer (int64) |
userId |
UserId of the user who created the lot. |
integer (int64) |
3.22. MaterialLotStatus
Name | Description | Schema |
---|---|---|
description |
MaterialLot Status Description |
string |
id |
MaterialLot Status ID / Event Status |
integer (int64) |
isGoodStatus |
Is Quality Good |
boolean |
isInventoryStatus |
Is Inventory |
boolean |
isProductionStatus |
Is Production |
boolean |
3.23. MaterialLotStatusResult
Name | Description | Schema |
---|---|---|
description |
MaterialLot Status Description |
string |
id |
MaterialLot Status ID / Event Status |
integer (int64) |
isGoodStatus |
Is Quality Good |
boolean |
isInventoryStatus |
Is Inventory |
boolean |
isProductionStatus |
Is Production |
boolean |
links |
< Link > array |
3.24. PageMetadata
Name | Schema |
---|---|
number |
integer (int64) |
size |
integer (int64) |
totalElements |
integer (int64) |
totalPages |
integer (int64) |
3.25. PathProductInfo
Name | Description | Schema |
---|---|---|
productCode |
Descriptive Name of Product record |
string |
productDescription |
Code Name of Product record |
string |
productId |
Unique Id of the Product record record |
integer (int64) |
3.26. Permission
Name | Description | Schema |
---|---|---|
permissionName |
string |
|
permissionValue |
Example : |
boolean |
3.27. PrivilegeSet
Name | Schema |
---|---|
category |
string |
description |
string |
displayName |
string |
icon |
string |
id |
integer (int32) |
scope |
string |
3.28. ProcessOrder
Name | Description | Schema |
---|---|---|
actualBadItems |
actual Bad Items of product this process order has produced |
integer (int64) |
actualBadQuantity |
actual Bad Quantity of product this process order has produced |
number (double) |
actualDownTime |
Downtime while this PO is active |
number (double) |
actualEndTime |
Actual endTime for this PO |
string (date-time) |
actualGoodItems |
actual good Items of product this process order has produced |
integer (int64) |
actualGoodQuantity |
actual good Quantity of product this process order has produced |
number (double) |
actualRepetitions |
actualRepetitions |
integer (int64) |
actualRunningTime |
Time for which this process order has ran |
number (double) |
actualStartTime |
Actual startTime for this PO |
string (date-time) |
adjustedQuantity |
Adjusted quantity of product for this process order |
number (double) |
alarmCount |
alarms raised on this PO |
integer (int64) |
allowedStatusTransition |
Allowed state changes from the current status of this process order |
< string > array |
blockNumber |
blockNumber |
string |
bomFormulation |
Specifies the BOM Formulation for the process order |
|
commentsThreadId |
The Comments Thread Id of the process order record. Points to a chain of comments. |
integer (int64) |
controlType |
Specifies the control type of the process order |
enum (QUANTITY, DURATION, TIME) |
engineeringUnit |
engineeringUnit |
string |
entryOn |
last modified date |
string (date-time) |
extendedInfo |
extendedInfo |
string |
impliedSequence |
Execution sequence is normally by planned start, but this can override the sequence |
integer (int64) |
impliedSequenceOffset |
impliedSequenceOffset |
integer (int64) |
lateItems |
lateItems |
integer (int64) |
line |
The line associated with process order |
|
links |
< Link > array |
|
orderType |
Specifies the type of the order (Production Plan Type) |
enum (SCHEDULE, REWORK) |
parentProductionPlanId |
Id for this process order’s parent process order if any |
integer (int64) |
participatingUnits |
Information regarding the PO start and end on involved units. Will be used for process orders whose flow is [Schedule Flows independently] |
< ProcessOrderUnitStartInfo > array |
path |
The Path this process order uses |
|
plannedEndTime |
The planned time to finish the order, corresponds to the forecastedEndTime in db |
string (date-time) |
plannedQuantity |
Quantity of product this process order is requesting, corresponds to the forecastedQuantity in db |
number (double) |
plannedStartTime |
The planned time to start the order, corresponds to the forecastedStartTime in db |
string (date-time) |
predictedRemainingDuration |
predictedRemainingDuration for this process order |
number (double) |
predictedRemainingQuantity |
predictedRemainingQuantity of product for this process order |
number (double) |
predictedTotalDuration |
predictedTotalDuration for this process order |
number (double) |
processOrder |
Descriptive Name of the process order |
string |
processOrderId |
Unique Id of the process order record |
integer (int64) |
product |
the product this process order is requesting |
|
productionRate |
Production rate of this product |
number (double) |
schedulePointUnit |
The unit associated with process order |
|
sourceProductionPlanId |
Id for this process order’s source process order if any |
integer (int64) |
status |
The status of the process order |
string |
userGeneral1 |
userGeneral1 |
string |
userGeneral2 |
userGeneral2 |
string |
userGeneral3 |
userGeneral3 |
string |
3.29. ProcessOrderCreateDetails
Name | Description | Schema |
---|---|---|
blockNumber |
string |
|
bomFormulationId |
integer (int64) |
|
commentId |
integer (int64) |
|
controlType |
enum (QUANTITY, DURATION, TIME) |
|
extendedInfo |
string |
|
pathId |
integer (int64) |
|
plannedEndTime |
string (date-time) |
|
plannedStartTime |
string (date-time) |
|
processOrderName |
string |
|
processOrderPriority |
Will be used to reorder process orders, In PO update. Only +1/-1 values allowed for now |
integer (int32) |
processOrderType |
Can be of two types only, Schedule Type and rework type. Rework is not supported yet. |
enum (SCHEDULE, REWORK) |
prodId |
integer (int64) |
|
productionRate |
number (double) |
|
quantity |
number (double) |
|
sourceProcessOrderId |
integer (int64) |
|
status |
Use this for updating Process Order status, will be ignored while creation of process order. |
string |
userGeneral1 |
string |
|
userGeneral2 |
string |
|
userGeneral3 |
string |
3.30. ProcessOrderHistory
Name | Description | Schema |
---|---|---|
actualBadItems |
integer (int64) |
|
actualBadQuantity |
actual Bad Quantity of product this process order has produced |
number (double) |
actualDowntime |
number (double) |
|
actualEndTime |
string (date-time) |
|
actualGoodItems |
integer (int64) |
|
actualGoodQuantity |
actual good Quantity of product this process order has produced |
number (double) |
actualRepetitions |
integer (int64) |
|
actualRunningTime |
number (double) |
|
actualStartTime |
string (date-time) |
|
adjustedQuantity |
Actual quantity of product this process order has produced |
number (double) |
alarmCount |
integer (int64) |
|
blockNumber |
string |
|
bomFormulation |
||
changeTime |
string (date-time) |
|
controlType |
enum (QUANTITY, DURATION, TIME) |
|
extendedInfo |
string |
|
forecastEndDate |
string (date-time) |
|
forecastQuantity |
forecast Quantity of product for this process order |
number (double) |
forecastStartDate |
string (date-time) |
|
impliedSequence |
integer (int64) |
|
lateItems |
integer (int64) |
|
path |
||
plannedQuantity |
Quantity of product this process order is requesting |
number (double) |
predictedRemainingDuration |
number (double) |
|
predictedRemainingQuantity |
predictedRemainingQuantity of product for this process order |
number (double) |
predictedTotalDuration |
number (double) |
|
processOrder |
string |
|
processOrderId |
integer (int64) |
|
processOrderType |
enum (SCHEDULE, REWORK) |
|
product |
||
productionRate |
number (double) |
|
sourceProcessOrder |
||
status |
string |
|
transactionType |
enum (Insert, Update, Delete) |
|
user |
string |
|
userGeneral1 |
string |
|
userGeneral2 |
string |
|
userGeneral3 |
string |
3.31. ProcessOrderHistoryPage
Name | Schema |
---|---|
content |
< ProcessOrderHistoryResource > array |
links |
< Link > array |
page |
3.32. ProcessOrderHistoryResource
Name | Description | Schema |
---|---|---|
actualBadItems |
integer (int64) |
|
actualBadQuantity |
actual Bad Quantity of product this process order has produced |
number (double) |
actualDowntime |
number (double) |
|
actualEndTime |
string (date-time) |
|
actualGoodItems |
integer (int64) |
|
actualGoodQuantity |
actual good Quantity of product this process order has produced |
number (double) |
actualRepetitions |
integer (int64) |
|
actualRunningTime |
number (double) |
|
actualStartTime |
string (date-time) |
|
adjustedQuantity |
Actual quantity of product this process order has produced |
number (double) |
alarmCount |
integer (int64) |
|
blockNumber |
string |
|
bomFormulation |
||
changeTime |
string (date-time) |
|
controlType |
enum (QUANTITY, DURATION, TIME) |
|
extendedInfo |
string |
|
forecastEndDate |
string (date-time) |
|
forecastQuantity |
forecast Quantity of product for this process order |
number (double) |
forecastStartDate |
string (date-time) |
|
impliedSequence |
integer (int64) |
|
lateItems |
integer (int64) |
|
links |
< Link > array |
|
path |
||
plannedQuantity |
Quantity of product this process order is requesting |
number (double) |
predictedRemainingDuration |
number (double) |
|
predictedRemainingQuantity |
predictedRemainingQuantity of product for this process order |
number (double) |
predictedTotalDuration |
number (double) |
|
processOrder |
string |
|
processOrderId |
integer (int64) |
|
processOrderType |
enum (SCHEDULE, REWORK) |
|
product |
||
productionRate |
number (double) |
|
sourceProcessOrder |
||
status |
string |
|
transactionType |
enum (Insert, Update, Delete) |
|
user |
string |
|
userGeneral1 |
string |
|
userGeneral2 |
string |
|
userGeneral3 |
string |
3.33. ProcessOrderPage
Name | Schema |
---|---|
content |
< ProcessOrder > array |
links |
< Link > array |
page |
3.34. ProcessOrderStatusDetails
Name | Description | Schema |
---|---|---|
allowEdit |
integer (int64) |
|
colour |
Status Colour in Hex format |
string |
movable |
integer (int64) |
|
statusDescription |
string |
|
statusDescriptionLocal |
string |
|
statusGroup |
PO Status Group for UI display Grid, current Groups supported from UI are - Open, Close |
string |
statusId |
integer (int64) |
|
statusSortOrder |
PO Status Order [ASCENDING] for UI display Grid |
integer (int64) |
3.35. ProcessOrderUnitStartInfo
Name | Description | Schema |
---|---|---|
endTime |
PO end time on this unit |
string (date-time) |
isProductionPoint |
Example : |
boolean |
processOrderId |
integer (int64) |
|
processOrderUnitStartId |
integer (int64) |
|
productionPlanSetupId |
Production plan setup id for this record |
integer (int64) |
startTime |
PO start time on this unit |
string (date-time) |
unit |
3.36. ProcessOrderUnitStartInfoResource
Name | Description | Schema |
---|---|---|
endTime |
PO end time on this unit |
string (date-time) |
isProductionPoint |
Example : |
boolean |
links |
< Link > array |
|
processOrderId |
integer (int64) |
|
processOrderUnitStartId |
integer (int64) |
|
productionPlanSetupId |
Production plan setup id for this record |
integer (int64) |
startTime |
PO start time on this unit |
string (date-time) |
unit |
3.37. ProcessOrderUnitStartInfoResources
Name | Schema |
---|---|
content |
< ProcessOrderUnitStartInfo > array |
links |
< Link > array |
3.38. ProductCustomProperty
Name | Schema |
---|---|
displayName |
string |
productId |
integer (int64) |
propertyCategoryId |
string |
propertyCategoryName |
string |
propertyDataType |
string |
propertyDataTypeId |
integer (int32) |
propertyDefinitionId |
string |
propertyGroupId |
string |
propertyGroupName |
string |
propertyName |
string |
propertyValue |
string |
required |
boolean |
uomCode |
string |
uomId |
integer (int32) |
3.39. PropertyCreateDetails
Name | Schema |
---|---|
id |
string |
level |
string |
name |
string |
value |
string |
3.40. ServiceHealthStatus
Name | Description | Schema |
---|---|---|
isRunning |
The status of the service. Returns true if running, else false |
boolean |
reason |
Reason why the service is not running. Returned only when the service is down and if there is a reason for failure |
string |
3.41. StatusUpdateDetails
Name | Description | Schema |
---|---|---|
statusGroup |
PO Status Group for UI display Grid, current Groups supported from UI are - Open, Close |
string |
statusOrder |
PO Status Order [ASCENDING] for UI display Grid |
integer (int32) |
3.42. TemplateVariable
Name | Schema |
---|---|
description |
string |
name |
string |
type |
enum (, ?, &, /, #, *) |
3.44. UnitInfo
Name | Schema |
---|---|
line |
string |
lineId |
integer (int64) |
unit |
string |
unitId |
integer (int64) |
validStatuses |
< MaterialLotStatusResult > array |
3.45. UriTemplate
Name | Schema |
---|---|
variableNames |
< string > array |
variables |
< TemplateVariable > array |
3.46. UserSettingRequest
Name | Description | Schema |
---|---|---|
appId |
integer (int32) |
|
data |
The application specific settings, Eg:- 'App Name' : {'property1' : 'value' , 'property2' : 'value'} } |
object |
viewName |
string |
3.47. UserSettingResponseResource
Name | Description | Schema |
---|---|---|
appId |
integer (int32) |
|
data |
object |
|
defaultSetting |
Example : |
boolean |
links |
< Link > array |
|
viewName |
string |
4. Security
4.1. access_token
Type : oauth2
Flow : accessCode
Token URL : http://localhost:8080/uaa/oauth/authorize
Token URL : http://localhost:8080/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.2. resource_owner
Type : oauth2
Flow : password
Token URL : http://localhost:8080/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.3. implicit_grant
Type : oauth2
Flow : implicit
Token URL : http://localhost:8080/uaa/oauth/authorize
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.4. client_creds
Type : oauth2
Flow : application
Token URL : http://localhost:8080/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |