1. Overview
Microservice containing the business logic for managing product-service.
1.2. Tags
-
batch-data-controller : Batch Data Controller
-
favorite-chart-controller : Favorite Chart Controller
-
historian-data-controller : Historian Data Controller
-
kpi-data-controller : KPI Data Controller
-
plant-model-controller : Plant Model Controller
-
product-data-controller : Product Data Controller
-
tag-data-controller : Tag Data Controller
-
variable-data-controller : Variable Data Controller
2. Resources
2.1. Batch-data-controller
Batch Data Controller
2.1.1. getAdjacentBatchData
GET /chart-editor/AdjacentBatchData
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
endTime |
endTime |
string (date-time) |
Query |
eventId |
eventId |
integer (int64) |
Query |
startTime |
startTime |
string (date-time) |
2.1.2. getBatchData
GET /chart-editor/BatchData
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
asset |
asset |
string |
|
Query |
bom |
bom |
integer (int64) |
|
Query |
departmentId |
departmentId |
integer (int64) |
|
Query |
endTime |
endTime |
string (date-time) |
|
Query |
isGoldenBatch |
isGoldenBatch |
boolean |
|
Query |
lineId |
lineId |
integer (int64) |
|
Query |
name |
name |
string |
|
Query |
pageNumber |
pageNumber |
integer (int64) |
|
Query |
pageSize |
pageSize |
integer (int64) |
|
Query |
product |
product |
string |
|
Query |
quantity |
quantity |
string |
|
Query |
sortCol |
sortCol |
string |
|
Query |
sortOrder |
sortOrder |
string |
|
Query |
startTime |
startTime |
string (date-time) |
|
Query |
status |
status |
string |
|
Query |
unitId |
unitId |
integer (int64) |
2.1.3. getBatchProductTraversalInfo
GET /chart-editor/batchproducttraverse
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
endTime |
endTime |
string (date-time) |
Query |
eventId |
eventId |
integer (int64) |
Query |
isIncremental |
isIncremental |
integer (int64) |
Query |
nextOrPrevious |
nextOrPrevious |
string |
Query |
startTime |
startTime |
string (date-time) |
2.1.4. getNextOrPreviousBatch
GET /chart-editor/batchtraverse
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
endTime |
endTime |
string (date-time) |
Query |
eventId |
eventId |
integer (int64) |
Query |
isIncremental |
isIncremental |
integer (int64) |
Query |
nextOrPrevious |
nextOrPrevious |
string |
Query |
startTime |
startTime |
string (date-time) |
2.2. Favorite-chart-controller
Favorite Chart Controller
2.2.1. GetFavorite
GET /chart-editor/Favorite
2.2.2. SaveFavorite
POST /chart-editor/Favorite/SaveFavorite
2.2.3. GetFavoriteDetails
GET /chart-editor/Favorite/{id}
2.3. Historian-data-controller
Historian Data Controller
2.4. Kpi-data-controller
KPI Data Controller
2.4.1. getKPI
GET /chart-editor/KPI
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
asset |
asset |
string |
|
Query |
interval |
interval |
string |
|
Query |
lineDescription |
lineDescription |
string |
|
Query |
lineId |
lineId |
integer (int64) |
|
Query |
name |
name |
string |
|
Query |
oEEType |
oEEType |
string |
|
Query |
pageNumber |
pageNumber |
integer (int64) |
|
Query |
pageSize |
pageSize |
integer (int64) |
|
Query |
sortCol |
sortCol |
string |
|
Query |
sortOrder |
sortOrder |
string |
|
Query |
unitId |
unitId |
integer (int64) |
2.4.2. getKPIData
GET /chart-editor/KPIData
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
endTime |
endTime |
string (date-time) |
Query |
inputId |
inputId |
integer (int64) |
Query |
isIncremental |
isIncremental |
integer (int64) |
Query |
kpiType |
kpiType |
string |
Query |
level |
level |
string |
Query |
startTime |
startTime |
string (date-time) |
2.5. Plant-model-controller
Plant Model Controller
2.5.1. getPlantModelInfo
GET /chart-editor/PlantModel
2.5.2. getLineInfoForDept
GET /chart-editor/department/{departmentId}/lines
2.6. Product-data-controller
Product Data Controller
2.6.1. getProductData
GET /chart-editor/ProductData
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
endTime |
endTime |
string (date-time) |
Query |
eventId |
eventId |
integer (int64) |
Query |
isIncremental |
isIncremental |
integer (int64) |
Query |
startTime |
startTime |
string (date-time) |
2.7. Tag-data-controller
Tag Data Controller
2.7.1. getTagsBasedOnSearchCriteria
GET /chart-editor/Tags
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
aliasName |
aliasName |
string |
|
Query |
asset |
asset |
string |
|
Query |
dataSource |
dataSource |
string |
|
Query |
dataType |
dataType |
string |
|
Query |
departmentId |
departmentId |
integer (int64) |
|
Query |
interval |
interval |
string |
|
Query |
lineId |
lineId |
integer (int64) |
|
Query |
pageNumber |
pageNumber |
integer (int64) |
|
Query |
pageSize |
pageSize |
integer (int64) |
|
Query |
sampleType |
sampleType |
string |
|
Query |
sortCol |
sortCol |
string |
|
Query |
sortOrder |
sortOrder |
string |
|
Query |
tagDescription |
tagDescription |
string |
|
Query |
tagName |
tagName |
string |
|
Query |
unitId |
unitId |
integer (int64) |
|
Query |
variableGroupId |
variableGroupId |
integer (int64) |
|
Query |
variables |
variables |
string |
2.8. Variable-data-controller
Variable Data Controller
2.8.1. getVariableData
GET /chart-editor/VariableData
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
endTime |
endTime |
string (date-time) |
Query |
plotFor |
plotFor |
string |
Query |
resultOn |
resultOn |
string (date-time) |
Query |
startTime |
startTime |
string (date-time) |
Query |
variableId |
variableId |
integer (int64) |
2.8.2. getVariableSpecificationLimits
GET /chart-editor/VariableSpecificationLimit
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
endTime |
endTime |
string (date-time) |
|
Query |
isLive |
isLive |
boolean |
|
Query |
startTime |
startTime |
string (date-time) |
|
Query |
variableId |
variableId |
integer (int64) |
2.8.3. getVariablesBasedOnSearchCriteria
GET /chart-editor/Variables
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
asset |
asset |
string |
|
Query |
departmentId |
departmentId |
integer (int64) |
|
Query |
interval |
interval |
string |
|
Query |
lineId |
lineId |
integer (int64) |
|
Query |
name |
name |
string |
|
Query |
pageNumber |
pageNumber |
integer (int64) |
|
Query |
pageSize |
pageSize |
integer (int64) |
|
Query |
sample |
sample |
string |
|
Query |
sortCol |
sortCol |
string |
|
Query |
sortOrder |
sortOrder |
string |
|
Query |
source |
source |
string |
|
Query |
tagIn |
tagIn |
string |
|
Query |
tagOut |
tagOut |
string |
|
Query |
type |
type |
string |
|
Query |
unitId |
unitId |
integer (int64) |
|
Query |
varGroupId |
varGroupId |
integer (int64) |
3. Definitions
3.1. FavoriteDetail
Name | Schema |
---|---|
data |
< string, object > map |
idValue |
integer (int64) |
links |
< Link > array |
name |
string |
4. Security
4.1. access_token
Type : oauth2
Flow : accessCode
Token URL : http://localhost:8445/uaa/oauth/authorize
Token URL : http://localhost:8445/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.2. resource_owner
Type : oauth2
Flow : password
Token URL : http://localhost:8445/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.3. implicit_grant
Type : oauth2
Flow : implicit
Token URL : http://localhost:8445/uaa/oauth/authorize
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.4. client_creds
Type : oauth2
Flow : application
Token URL : http://localhost:8445/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |