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.1. URI scheme
Host : localhost
BasePath : /
1.2. Tags
-
my-machines-controller : My Machines Controller
2. Resources
2.1. My-machines-controller
My Machines Controller
2.1.1. getMyMachinesEditorState
GET /mymachines-viewer
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
eventId |
eventId |
integer (int64) |
|
Query |
expandLines |
expandLines |
boolean |
|
Query |
expandUnits |
expandUnits |
boolean |
|
Query |
previousPreferences |
previousPreferences |
integer (int32) |
|
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
Produces
-
application/json;charset=UTF-8
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.1.2. getmymachineEditorStateLines
GET /mymachines-viewer/departments/{deptId}/lines
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
deptId |
deptId |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
Produces
-
application/json;charset=UTF-8
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.1.3. getmymachineEditorStateUnits
GET /mymachines-viewer/lines/{lineId}/units
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
lineId |
lineId |
integer (int64) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
Produces
-
application/json;charset=UTF-8
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
2.1.4. updatePreferences
POST /mymachines-viewer/preferences
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Body |
preferredMachinesUpdates |
preferredMachinesUpdates |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
Consumes
-
application/json
Produces
-
application/json;charset=UTF-8
Security
Type | Name | Scopes |
---|---|---|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
|
oauth2 |
default |
3. Definitions
3.1. PreferredMachinesDTO
Name | Schema |
---|---|
units |
< PreferredMachinesInfo > array |
userId |
integer (int64) |
3.2. PreferredMachinesInfo
Name | Schema |
---|---|
eventId |
integer (int64) |
id |
integer (int64) |
transactiontype |
integer (int32) |
unitName |
string |
4. Security
4.1. access_token
Type : oauth2
Flow : accessCode
Token URL : https://localhost:8443/uaa/oauth/authorize
Token URL : https://localhost:8443/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.2. resource_owner
Type : oauth2
Flow : password
Token URL : https://localhost:8443/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.3. implicit_grant
Type : oauth2
Flow : implicit
Token URL : https://localhost:8443/uaa/oauth/authorize
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.4. client_creds
Type : oauth2
Flow : application
Token URL : https://localhost:8443/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |