2. Resources
2.1. History-controller
History Controller
2.1.1. Get History Events
GET /historyEntries/{workOrderId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
workOrderId |
WorkOrder Id |
integer (int64) |
Query |
materialLotActualId |
MaterialLotActualId |
integer (int64) |
Query |
page |
Results page you want to retrieve (0..N) |
integer (int32) |
Query |
segmentActualId |
SegmentActualId |
integer (int64) |
Query |
segmentId |
SegmentId |
integer (int64) |
Query |
size |
Number of records per page. |
integer (int32) |
3. Definitions
3.1. Error
Error details.
Name | Description | Schema |
---|---|---|
code |
string |
|
details |
Details of the error. |
object |
3.2. HistoryEntryDataInfo
Name | Schema |
---|---|
newValue |
string |
oldValue |
string |
order |
string |
propertyName |
string |
propertyType |
string |
3.3. HistoryEventInfo
History Event data transfer object
Name | Description | Schema |
---|---|---|
currentLotIdentifier |
Name of the material lot |
string |
entryData |
< HistoryEntryDataInfo > array |
|
entryType |
Name of the source event |
string |
id |
Unique Id of the History Event Record |
integer (int64) |
materialLotActualId |
Id of the material lot |
integer (int64) |
performedBy |
Name of the user who generated the event |
string |
producedMaterialCode |
Code of the Produced Material by WorkOrder |
string |
producedMaterialDescription |
Description of the Produced Material by WorkOrder |
string |
productionLineId |
Work order production line ID |
integer (int64) |
productionLineName |
Work order production line name |
string |
segmentActualId |
Id of the segment actual |
integer (int64) |
segmentId |
Id of the segment that is being tracked |
integer (int64) |
segmentName |
Name of the segment that is being tracked |
string |
sourceEventId |
Id of the source event |
integer (int64) |
timestamp |
Time of generation of event |
string (date-time) |
workOrderId |
Id of the workorder for which the event is generated |
integer (int64) |
workOrderName |
Name of the workorder for which the event is generated |
string |
3.4. HistoryEventPage
Name | Schema |
---|---|
content |
< HistoryEventInfo > array |
links |
< Link > array |
page |
4. Security
4.1. access_token
Type : oauth2
Flow : accessCode
Token URL : http://localhost:8443/uaa/oauth/authorize
Token URL : http://localhost:8443/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.2. resource_owner
Type : oauth2
Flow : password
Token URL : http://localhost:8443/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.3. implicit_grant
Type : oauth2
Flow : implicit
Token URL : http://localhost:8443/uaa/oauth/authorize
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.4. client_creds
Type : oauth2
Flow : application
Token URL : http://localhost:8443/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |