1. Overview

The activities app impl service contains a collection of RESTful service calls to retrive information relevent to comments in manufacturing execution.
Description of endpoints can be found in the section headers for each collection of relevent resources.

1.1. URI scheme

Host : localhost
BasePath : /

1.2. Tags

  • activity-controller : Activity Controller

  • activity-creator-controller : Activity Creator Controller

  • activity-editor-controller : Activity Editor Controller

  • activity-history-controller : Activity History Controller

  • activity-viewer-controller : Activity Viewer Controller

  • esignature-controller : Esignature Controller

  • historian-variable-array-data-controller : Historian Variable Array Data Controller

  • monitoring-controller : Monitoring Controller

  • production-event-controller : Production Event Controller

  • test-history-records-controller : Test History Records Controller

  • user-defined-event-controller : User Defined Event Controller

  • user-info-controller : User Info Controller

  • user-settings-controller : User Settings Controller

  • variable-editor-controller : Variable Editor Controller

  • variable-header-controller : Variable Header Controller

  • variable-history-controller : Variable History Controller

2. Resources

2.1. Activity-controller

Activity Controller

2.1.1. Fetches List of records based on the list of activity Ids passed

GET /api/activities
Parameters
Type Name Description Schema

Query

activityIds
required

List of activity ids whose records needs to be fetched

< integer (int64) > array(multi)

Responses
HTTP Code Description Schema

200

OK

< ActivityInfo > array

500

Internal Server Error

HttpErrorResponse

Produces
  • application/json;charset=UTF-8

  • application/vnd.ge.mes.v1.full+json

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.2. Activity-creator-controller

Activity Creator Controller

2.2.1. Create product change event

POST /activity-creator/productChangeEvent
Parameters
Type Name Description Schema

Body

productChangeRequest
optional

ProductChangeRequestInfo object to create product change event

ProductChangeRequestInfo

Responses
HTTP Code Description Schema

200

OK

object

401

Unauthorized

No Content

500

Internal Server Error

No Content

Consumes
  • application/json;charset=UTF-8

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.2.2. Fetches product change state event details

GET /activity-creator/productChangeEvent
Parameters
Type Name Description Schema

Query

unitId
optional

Unit id to fetch the product change event

integer (int64)

Responses
HTTP Code Description Schema

200

OK

ProductChangeCreatorInfo

401

Unauthorized

No Content

500

Internal Server Error

HttpErrorResponse

Consumes
  • application/json;charset=UTF-8

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.2.3. Fetches product change event for units

GET /activity-creator/productChangeEvent/{eventType}/machines/displays
Parameters
Type Name Description Schema

Path

eventType
optional

Comma separated eventTypes to filter activities, can be UDE, Production, TimeBased Event and Product Change

enum (1, 2, 23, 25)

Responses
HTTP Code Description Schema

200

OK

object

401

Unauthorized

No Content

500

Internal Server Error

HttpErrorResponse

Consumes
  • application/json;charset=UTF-8

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.2.4. Fetches product changed events product codes

GET /activity-creator/productChangeEvent/{productGroupId}/productCodes
Parameters
Type Name Description Schema

Path

productGroupId
optional

Product group id to fetch prodcut change event code

integer (int64)

Responses
HTTP Code Description Schema

200

OK

ActivityRecord

401

Unauthorized

No Content

500

Internal Server Error

HttpErrorResponse

Consumes
  • application/json;charset=UTF-8

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.2.5. Create production event

POST /activity-creator/production
Parameters
Type Name Description Schema

Body

createProductionRecordInfo
optional

ProductionRecordInfo Object to create Production Event

ProductionRecordInfo

Responses
HTTP Code Description Schema

200

OK

object

204

No Content

No Content

400

Bad Request

No Content

401

Unauthorized

No Content

403

Forbidden , Unit is not configured

No Content

500

Internal Server Error

HttpErrorResponse

Consumes
  • application/json;charset=UTF-8

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.2.6. Fetches production record state details

GET /activity-creator/production
Parameters
Type Name Description Schema

Query

sheetId
optional

Sheet id to get production record details

integer (int64)

Query

unitId
optional

Unit id to get production record details

integer (int64)

Responses
HTTP Code Description Schema

200

OK

object

401

Unauthorized

No Content

500

Internal Server Error

HttpErrorResponse

Consumes
  • application/json;charset=UTF-8

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.2.7. Create time based event

POST /activity-creator/sheetColumn
Parameters
Type Name Description Schema

Body

createSheetColumnRecord
optional

SheetColumnRecordInfo Object to create Timed Based Event

SheetColumnRecordInfo

Responses
HTTP Code Description Schema

200

OK

object

401

Unauthorized

No Content

403

Forbidden , Unot is not configured

No Content

422

Unprocessable Entity

No Content

500

Internal Server Error

No Content

Consumes
  • application/json;charset=UTF-8

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.2.8. Fetches time based event state details

GET /activity-creator/sheetColumn
Parameters
Type Name Description Schema

Query

sheetId
optional

Sheet id to get Time Based record details

integer (int64)

Query

unitId
optional

Unit id to get Time Based record details

integer (int64)

Responses
HTTP Code Description Schema

200

OK

object

204

No Content

No Content

401

Unauthorized

No Content

404

Not Found

No Content

500

Internal Server Error

No Content

Consumes
  • application/json;charset=UTF-8

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.2.9. Create user defined event

POST /activity-creator/userDefined
Parameters
Type Name Description Schema

Body

addUserDefinedRecordInfo
optional

UserDefinedRecordInfo Object to create user defined event

UserDefinedRecordInfo

Responses
HTTP Code Description Schema

200

OK

object

400

Bad Request

No Content

401

Unauthorized

No Content

403

Forbidden , Unot is not configured

No Content

500

Internal Server Error

No Content

Consumes
  • application/json;charset=UTF-8

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.2.10. Fetches user defined record state details

GET /activity-creator/userDefined
Parameters
Type Name Description Schema

Query

sheetId
optional

Sheet id to get user defined record details

integer (int64)

Query

unitId
optional

Unit id to get user defined record details

integer (int64)

Responses
HTTP Code Description Schema

200

OK

object

401

Unauthorized

No Content

500

Internal Server Error

HttpErrorResponse

Consumes
  • application/json;charset=UTF-8

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.2.11. Fetches sheet displays based on event type enum

GET /activity-creator/{eventType}/displays
Parameters
Type Name Description Schema

Path

eventType
optional

Comma separated eventTypes to filter activities, can be UDE, Production, TimeBased Event and Product Change

enum (1, 2, 23, 25)

Responses
HTTP Code Description Schema

200

OK

object

204

No Content

No Content

401

Unauthorized

No Content

403

Forbidden, No machine is available

No Content

500

Internal Server Error

No Content

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.3. Activity-editor-controller

Activity Editor Controller

2.3.1. Fetches activity comments

GET /activity-editor/comment
Parameters
Type Name Description Schema

Query

assetId
optional

Asset id of an activity to get comment details

integer (int64)

Query

commentId
optional

Comment id of an activity to get comment details

integer (int64)

Responses
HTTP Code Description Schema

200

OK

object

401

Unauthorized

No Content

500

Internal Server Error

HttpErrorResponse

503

Service Unavailable , Resource access is not allowed

No Content

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.3.2. Add activity comments

POST /activity-editor/{activityId}/comments
Parameters
Type Name Description Schema

Path

activityId
optional

Activity id of an activity to which the activity comments will be added

integer (int64)

Body

statusInfo
optional

ActivityStatusRequest object to add activity comments

ActivityStatusRequest

Responses
HTTP Code Description Schema

200

OK

object

400

Bad Request , Invalid data is supplied

No Content

401

Unauthorized

No Content

500

Internal Server Error

HttpErrorResponse

Consumes
  • application/json

Produces
  • /

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.3.3. Fetches activity comments

GET /activity-editor/{activityId}/comments
Parameters
Type Name Description Schema

Path

activityId
optional

Activity id of an activity to get comments details

integer (int64)

Query

commentType
optional

Type of comments for an activity can be General, Overdue, Skip and Activity Detail Comment

< enum (GENERAL, OVERDUE, SKIP, ACTIVITY_DETAIL) > array(multi)

Responses
HTTP Code Description Schema

200

OK

object

401

Unauthorized

No Content

500

Internal Server Error

HttpErrorResponse

503

Service Unavailable

No Content

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.3.4. Update activity comments

PUT /activity-editor/{activityId}/comments/{commentThreadId}/{commentId}
Parameters
Type Name Description Schema

Path

activityId
optional

Activity id of an activity to update comments

integer (int64)

Path

commentId
optional

Comment id of an activity to update comment details

integer (int64)

Path

commentThreadId
optional

Chained commentThreadId to update activity comments

integer (int64)

Query

unitId
optional

Unit id of an activity to update comment

integer (int64)

Body

activityInfo
optional

ActivityStatusRequest object to update activity comments

ActivityStatusRequest

Responses
HTTP Code Description Schema

200

OK

object

400

Bad Request

No Content

401

Unauthorized

No Content

500

Internal Server Error

HttpErrorResponse

503

Service Unavailable , Resource access is not allowed

No Content

Consumes
  • application/json;charset=UTF-8

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.3.5. Delete activity comments

DELETE /activity-editor/{activityId}/comments/{commentThreadId}/{commentId}
Parameters
Type Name Description Schema

Path

activityId
optional

activity id of an activity to delete a comments

integer (int64)

Path

commentId
optional

Comment id of an activity to delete comment details

integer (int64)

Path

commentThreadId
optional

Chained comment thread id to delete activity comments

integer (int64)

Query

commentType
optional

Type of comment can be General, Overdue and Skip

string

Query

unitId
optional

Unit id of an activity to delete comments data

integer (int64)

Responses
HTTP Code Description Schema

200

OK

object

400

Bad Request

No Content

401

Unauthorized

No Content

500

Internal Server Error

No Content

503

Service Unavailable , Resource access is not allowed

No Content

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.4. Activity-history-controller

Activity History Controller

2.4.1. Fetches the activity records

GET /activity-history
Parameters
Type Name Description Schema Default

Query

activityId
optional

Activity id to get the page that contains this activity. Page parameter is ignored if activity id is provided

integer (int64)

Query

batchNumber
optional

Filtering activities by batch number

string

Query

completeType
optional

Filter list of complete type of activities can be 0 - Manual Complete,1 - Auto Complete on status 100%,2 - Auto Complete previous activities,3- System Complete activities after duration

enum (0, 1, 2, 3)

Query

endTime
optional

End time in ISO-8601 format(YYYY-MM-DDThh:mm:ssZ), in case of custom time selection

string (date-time)

Query

equipments
optional

Comma separated list of unit ids

string

Query

eventNumber
optional

Filtering activities by event number

string

Query

eventTypes
optional

Comma separated eventTypes to filter activities, can be UDE, Production, TimeBased Event and Product Change

enum (1, 2, 23, 25)

Query

excludeActionLinks
optional

Optional flag telling the api whether to include hatheos links for actions Perform, Skip, in progress, Complete, Release and get comments in the response, defaults to true

boolean

"false"

Query

isOverdue
optional

If true returns only overdue activities.

integer (int32)

Query

page
optional

Results per page you want to retrieve (0..500)

integer (int32)

0

Query

processOrderName
optional

Filtering activities by process order name

string

Query

processOrders
optional

Comma separated list of process order ids

string

Query

productCode
optional

Filtering activities by product code

string

Query

products
optional

Comma separated list of product ids

string

Query

size
optional

Number of records per page.

integer (int32)

20

Query

sortColumn
optional

Optional sort column of activities, can be Activity, TimeDue, DueIn, PercentComplete, UserName, Duration, EndTime

string

Query

sortOrder
optional

Ascending or descending order of data

string

Query

startTime
optional

Start time in ISO-8601 format(YYYY-MM-DDThh:mm:ssZ), in case of custom time selection

string (date-time)

Query

status
optional

Comma saperated list of activity status, can be 1-Not Started, 2-In Progress, 3-Complete, 4-Skipped, 5-Released

string

Query

timeSelection
optional

Time selection values
1 - Current Day
2 - Prev Day
3 - Current Week
4 - Prev Week
5 - Next Week
6 - Next Day
7 - Custom
8 - Current Shift
9 - Previous Shift
10- Next Shift

integer (int64)

Query

timeZone
optional

Time zone of startTime and endTime

string

"UTC"

Query

variables
optional

Filtering activities by variable name.

string

Responses
HTTP Code Description Schema

200

OK

ActivityViewerStateResource

204

No Content, Unit is not configured

HttpErrorResponse

400

Bad Request

HttpErrorResponse

401

Unauthorized

No Content

500

Internal Server Error

No Content

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.4.2. Fetches the activity details by activity id

GET /activity-history/activity/{activityId}
Parameters
Type Name Description Schema

Path

activityId
optional

activity id of activity to get the activity record

integer (int64)

Responses
HTTP Code Description Schema

200

OK

object

401

Unauthorized

No Content

404

Not Found

No Content

500

Internal Server Error

No Content

503

Service Unavailable , Resource access is not allowed

HttpErrorResponse

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.4.3. Update activity record

PUT /activity-history/activity/{id}
Parameters
Type Name Description Schema

Path

id
optional

Id of activity id to update the activity record

integer (int64)

Body

statusInfo
optional

ActivityStatusRequest object to update an activity record

ActivityStatusRequest

Responses
HTTP Code Description Schema

200

OK

ActivityRecord

401

Unauthorized

No Content

403

Forbidden , User is not allowed to update the activity record

HttpErrorResponse

500

Internal Server Error

HttpErrorResponse

503

Service Unavailable

HttpErrorResponse

Consumes
  • application/json

Produces
  • /

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.4.4. This end point is used to clear the information of activities. This would be deprecated to the future

DELETE /activity-history/cache
Responses
HTTP Code Description Schema

200

OK

object

Produces
  • /

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.4.5. Fetches activites view options like time selections, view by groups and create activities details

GET /activity-history/context-loader
Caution

operation.deprecated

Responses
HTTP Code Description Schema

200

OK

object

401

Unauthorized

No Content

500

Internal Server Error

No Content

Produces
  • /

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.4.6. Activities equipment options

GET /activity-history/equipments
Responses
HTTP Code Description Schema

200

OK

object

204

No Content , Unit is not configured

object

400

Bad Request

No Content

401

Unauthorized

No Content

500

Internal Server Error

HttpErrorResponse

Produces
  • /

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.4.7. Activities filter options

GET /activity-history/filter-options
Caution

operation.deprecated

Responses
HTTP Code Description Schema

200

OK

object

204

No Content , Unit is not configured

object

400

Bad Request

No Content

401

Unauthorized

No Content

500

Internal Server Error

HttpErrorResponse

Produces
  • /

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.4.8. Fetches the time selection intervals

GET /activity-history/time-selection
Parameters
Type Name Description Schema

Query

equipmentId
optional

Comma separated list of equipment Ids.

< string > array(multi)

Query

equipmentType
optional

Equipment type values are 1 for Units, 2 for Lines, 3 for Departments.

integer (int32)

Query

timeSelection
required

Time selection values
1 - Current Day
2 - Prev Day
3 - Current Week
4 - Prev Week
5 - Next Week
6 - Next Day
7 - Custom
8 - Current Shift
9 - Previous Shift
10- Next Shift

integer (int32)

Responses
HTTP Code Description Schema

200

OK

TimeSelectionRange

204

No Content

TimeSelectionRange

401

Unauthorized

No Content

500

Internal Server Error

No Content

Produces
  • /

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.4.9. Fetches the time Selection options available for activities app

GET /activity-history/timeSelectionOptions
Responses
HTTP Code Description Schema

200

OK

< IdNameValue > array

401

Unauthorized

No Content

500

Internal Server Error

No Content

Produces
  • /

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5. Activity-viewer-controller

Activity Viewer Controller

2.5.1. Fetches the activity records

GET /activity-viewer
Parameters
Type Name Description Schema Default

Query

activityId
optional

Activity id to get the page that contains this activity. Page parameter is ignored if activity id is provided

integer (int64)

Query

batchNumber
optional

Filtering activities by batch number

string

Query

completeType
optional

Filter list of complete type of activities can be 0 - Manual Complete,1 - Auto Complete on status 100%,2 - Auto Complete previous activities,3- System Complete activities after duration

enum (0, 1, 2, 3)

Query

endTime
optional

End time in ISO-8601 format(YYYY-MM-DDThh:mm:ssZ), in case of custom time selection

string (date-time)

Query

equipments
optional

Comma separated list of unit ids

string

Query

eventNumber
optional

Filtering activities by event number

string

Query

eventTypes
optional

Comma separated eventTypes to filter activities, can be UDE, Production, TimeBased Event and Product Change

enum (1, 2, 23, 25)

Query

excludeActionLinks
optional

Optional flag telling the api whether to include hatheos links for actions Perform, Skip, in progress, Complete, Release and get comments in the response, defaults to true

boolean

"false"

Query

isOverdue
optional

If true returns only overdue activities.

integer (int32)

Query

page
optional

Results per page you want to retrieve (0..500)

integer (int32)

0

Query

processOrderName
optional

Filtering activities by process order name

string

Query

processOrders
optional

Comma separated list of process order ids

string

Query

productCode
optional

Filtering activities by product code

string

Query

products
optional

Comma separated list of product ids

string

Query

size
optional

Number of records per page.

integer (int32)

20

Query

sortColumn
optional

Optional sort column of activities, can be Activity, TimeDue, DueIn, PercentComplete, UserName, Duration, EndTime

string

Query

sortOrder
optional

Ascending or descending order of data

string

Query

startTime
optional

Start time in ISO-8601 format(YYYY-MM-DDThh:mm:ssZ), in case of custom time selection

string (date-time)

Query

status
optional

Comma saperated list of activity status, can be 1-Not Started, 2-In Progress, 3-Complete, 4-Skipped, 5-Released

string

Query

timeSelection
optional

Time selection values
1 - Current Day
2 - Prev Day
3 - Current Week
4 - Prev Week
5 - Next Week
6 - Next Day
7 - Custom
8 - Current Shift
9 - Previous Shift
10- Next Shift

integer (int64)

Query

timeZone
optional

Time zone of startTime and endTime

string

"UTC"

Query

variables
optional

Filtering activities by variable name.

string

Responses
HTTP Code Description Schema

200

OK

ActivityViewerStateResource

204

No Content, Unit is not configured

HttpErrorResponse

400

Bad Request

HttpErrorResponse

401

Unauthorized

No Content

500

Internal Server Error

No Content

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5.2. Fetches List of activityIds by testRecordId

GET /activity-viewer/activities
Parameters
Type Name Description Schema

Query

testRecordId
required

Test record id to get the list of activity ids

integer (int64)

Responses
HTTP Code Description Schema

200

OK

object

204

No Content

object

401

Unauthorized

No Content

500

Internal Server Error

HttpErrorResponse

Produces
  • /

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5.3. Fetches the activity records

GET /activity-viewer/activities/{viewBy}
Parameters
Type Name Description Schema Default

Path

viewBy
required

viewBy

enum (Product, ProcessOrder, Equipment, Event, Activity)

Query

activityId
optional

Activity id to get the page that contains this activity. Page parameter is ignored if activityId is provided

integer (int64)

Query

batchNumber
optional

Filtering activities by batch number

string

Query

completeType
optional

Filter list of complete type of activities can be 0 - Manual Complete,1 - Auto Complete on status 100%,2 - Auto Complete previous activities,3- System Complete activities after duration

enum (0, 1, 2, 3)

Query

displayType
optional

Filtering activities by display type can be 0-Standard or 1-Custom

integer (int32)

Query

endTime
optional

End time in ISO-8601 format(YYYY-MM-DDThh:mm:ssZ), in case of custom time selection

string (date-time)

Query

equipments
required

Comma separated list of unit ids

string

Query

eventNumber
optional

Filtering activities by event number

string

Query

eventTypes
optional

Comma separated eventTypes to filter activities, can be UDE, Production, TimeBased Event and Product Change

enum (1, 2, 23, 25)

Query

isOverdue
optional

If true returns only overdue activities.

integer (int32)

Query

processOrderName
optional

Filtering activities by process order name

string

Query

processOrders
optional

Comma separated list of process order ids

string

Query

productCode
optional

Filtering activities by product code

string

Query

products
optional

Comma separated list of product ids

string

Query

startTime
optional

Start time in ISO-8601 format(YYYY-MM-DDThh:mm:ssZ), in case of custom time selection

string (date-time)

Query

status
optional

Comma saperated list of activity status, can be 1-Not Started, 2-In Progress, 3-Complete, 4-Skipped, 5-Released

enum (1, 2, 3, 4, 5)

Query

timeSelection
optional

Time selection values
1 - Current Day
2 - Prev Day
3 - Current Week
4 - Prev Week
5 - Next Week
6 - Next Day
7 - Custom
8 - Current Shift
9 - Previous Shift
10- Next Shift

integer (int64)

Query

timeZone
optional

Time zone of startTime and endTime

string

"UTC"

Query

variables
optional

Filtering activities by variable name.

string

Responses
HTTP Code Description Schema

200

OK

ActivityViewerStateResource

400

Bad Request

No Content

401

Unauthorized

No Content

500

Internal Server Error

HttpErrorResponse

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5.4. Fetches the activity details by activity id

GET /activity-viewer/activity/{activityId}
Parameters
Type Name Description Schema

Path

activityId
optional

activity id of activity to get the activity record

integer (int64)

Responses
HTTP Code Description Schema

200

OK

object

401

Unauthorized

No Content

404

Not Found

No Content

500

Internal Server Error

No Content

503

Service Unavailable , Resource access is not allowed

HttpErrorResponse

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5.5. Update activity record

PUT /activity-viewer/activity/{id}
Parameters
Type Name Description Schema

Path

id
optional

Id of activity id to update the activity record

integer (int64)

Body

statusInfo
optional

ActivityStatusRequest object to update an activity record

ActivityStatusRequest

Responses
HTTP Code Description Schema

200

OK

ActivityRecord

401

Unauthorized

No Content

403

Forbidden , User is not allowed to update the activity record

HttpErrorResponse

500

Internal Server Error

HttpErrorResponse

503

Service Unavailable

HttpErrorResponse

Consumes
  • application/json

Produces
  • /

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5.6. This end point is used to clear the information of activities. This would be deprecated to the future

DELETE /activity-viewer/cache
Responses
HTTP Code Description Schema

200

OK

object

Produces
  • /

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5.7. Fetches activites view options like time selections, view by groups and create activities details

GET /activity-viewer/context-loader
Caution

operation.deprecated

Responses
HTTP Code Description Schema

200

OK

object

401

Unauthorized

No Content

500

Internal Server Error

No Content

Produces
  • /

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5.8. Activities equipment options

GET /activity-viewer/equipments
Responses
HTTP Code Description Schema

200

OK

object

204

No Content , Unit is not configured

object

400

Bad Request

No Content

401

Unauthorized

No Content

500

Internal Server Error

HttpErrorResponse

Produces
  • /

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5.9. Activities filter options

GET /activity-viewer/filter-options
Caution

operation.deprecated

Responses
HTTP Code Description Schema

200

OK

object

204

No Content , Unit is not configured

object

400

Bad Request

No Content

401

Unauthorized

No Content

500

Internal Server Error

HttpErrorResponse

Produces
  • /

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5.10. Fetches the time selection intervals

GET /activity-viewer/time-selection
Parameters
Type Name Description Schema

Query

equipmentId
optional

Comma separated list of equipment Ids.

< string > array(multi)

Query

equipmentType
optional

Equipment type values are 1 for Units, 2 for Lines, 3 for Departments.

integer (int32)

Query

timeSelection
required

Time selection values
1 - Current Day
2 - Prev Day
3 - Current Week
4 - Prev Week
5 - Next Week
6 - Next Day
7 - Custom
8 - Current Shift
9 - Previous Shift
10- Next Shift

integer (int32)

Responses
HTTP Code Description Schema

200

OK

TimeSelectionRange

204

No Content

TimeSelectionRange

401

Unauthorized

No Content

500

Internal Server Error

No Content

Produces
  • /

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.5.11. Fetches the time Selection options available for activities app

GET /activity-viewer/timeSelectionOptions
Responses
HTTP Code Description Schema

200

OK

< IdNameValue > array

401

Unauthorized

No Content

500

Internal Server Error

No Content

Produces
  • /

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.6. Esignature-controller

Esignature Controller

2.6.1. Fetches approvers list, having access a given sheet

GET /esignatureApprovers
Parameters
Type Name Description Schema

Query

sheetId
optional

sheet id

integer (int64)

Responses
HTTP Code Description Schema

200

OK

object

401

Unauthorized

No Content

500

Internal Server Error

HttpErrorResponse

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.7. Historian-variable-array-data-controller

Historian Variable Array Data Controller

2.7.1. Get information about the data values for an array data type variable’s historian tag

GET /historianVariableArrayData
Parameters
Type Name Description Schema

Query

arrayId
optional

ArrayId whose data points need to be pulled in

integer (int64)

Query

historianInputTag
optional

Input tag column value for a historian variable

string

Responses
HTTP Code Description Schema

200

OK

HistorianTagDataPointResponse

400

Bad Request

No Content

500

Internal Server Error

HttpErrorResponse

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.8. Monitoring-controller

Monitoring Controller

2.8.1. Fetches status for proficy message bridge

GET /monitoring-viewer/messageBridgeStatus
Responses
HTTP Code Description Schema

200

OK

Resource«ServiceHealthStatus»

204

No Content, no service exists

Resource«ServiceHealthStatus»

401

Unauthorized

No Content

500

Internal Server Error

HttpErrorResponse

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.8.2. Fetches status for proficy message bridge

GET /monitoring-viewer/messagingStatus
Responses
HTTP Code Description Schema

200

OK

Resource«ServiceHealthStatus»

204

No Content, no service exists

Resource«ServiceHealthStatus»

401

Unauthorized

No Content

500

Internal Server Error

HttpErrorResponse

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.8.3. Fetches status for rabbit mq

GET /monitoring-viewer/rmqStatus
Responses
HTTP Code Description Schema

200

OK

Resource«ServiceHealthStatus»

204

No Content, no service exists

Resource«ServiceHealthStatus»

401

Unauthorized

No Content

500

Internal Server Error

HttpErrorResponse

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.9. Production-event-controller

Production Event Controller

2.9.1. Fetches a production record

GET /productionEvent
Parameters
Type Name Description Schema

Query

eventId
optional

Event id of an event to get a production record

integer (int64)

Query

sheetId
optional

Sheet id to get the event header of production event

integer (int64)

Responses
HTTP Code Description Schema

200

OK

ProductionRecordInfoResource

400

Bad Request

No Content

401

Unauthorized

No Content

500

Internal Server Error

No Content

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.9.2. Update a production record by event id

PUT /productionEvent
Parameters
Type Name Description Schema

Query

eventId
optional

Event id of an event to update a production record

integer (int64)

Body

updatedProductionRecordInfo
optional

ProductionRecordInfo object to update the production record

ProductionRecordInfo

Responses
HTTP Code Description Schema

200

OK

ProductionRecordInfo

400

Bad Request

HttpErrorResponse

401

Unauthorized

No Content

412

Precondition Failed

No Content

500

Internal Server Error

No Content

Consumes
  • application/json;charset=UTF-8

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.9.3. Fetches a production record status by event id

GET /productionEvent/productionEventStatusOptions
Parameters
Type Name Description Schema

Query

eventId
optional

Event id of an event to get a production record status

integer (int64)

Responses
HTTP Code Description Schema

200

OK

CollectionResource«IdNameValue»

400

Bad Request

No Content

401

Unauthorized

No Content

404

Not Found, Resource is not found.

No Content

500

Internal Server Error

No Content

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.9.4. Creates production event comments

POST /productionEvent/{eventId}/comments
Parameters
Type Name Description Schema

Path

eventId
optional

Event id of an event to create a production event comments

integer (int64)

Query

sheetId
required

sheetId

integer (int64)

Body

productionEventUpdates
optional

ProductionEventUpdates object to create a prodcution event comment

ProductionEventUpdates

Responses
HTTP Code Description Schema

200

OK

object

204

No Content

No Content

400

Bad Request

No Content

401

Unauthorized

No Content

500

Internal Server Error

No Content

Consumes
  • application/json

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.9.5. Fetches a production record status by event id

GET /productionEvent/{eventId}/comments
Parameters
Type Name Description Schema

Path

eventId
optional

Event id of an event to get a production record status

integer (int64)

Query

sheetId
optional

Sheet id to get a production event comment

integer (int64)

Responses
HTTP Code Description Schema

200

OK

object

401

Unauthorized

No Content

500

Internal Server Error

No Content

503

Service Unavailable

No Content

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.9.6. Update a production event comment

PUT /productionEvent/{eventId}/comments/{commentId}
Parameters
Type Name Description Schema

Path

commentId
optional

Comment id of the comment to update

integer (int64)

Path

eventId
optional

Event id of an event to update a production event comments

integer (int64)

Query

commentThreadId
required

Comment thread id of the comment to update

integer (int64)

Query

sheetId
optional

Sheet id to update a production event comments

integer (int64)

Body

productionEventUpdates
optional

ProductionEventUpdates Object to update a comment

ProductionEventUpdates

Responses
HTTP Code Description Schema

200

OK

object

204

No Content

No Content

400

Bad Request

No Content

401

Unauthorized

No Content

404

Not Found

No Content

500

Internal Server Error

No Content

503

Service Unavailable

No Content

Consumes
  • application/json;charset=UTF-8

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.9.7. Delete production record state details

DELETE /productionEvent/{eventId}/comments/{commentId}
Parameters
Type Name Description Schema

Path

commentId
optional

Comment thread id of the comment to delete

integer (int64)

Path

eventId
optional

Event id of an event to delete a production event comments

integer (int64)

Query

commentThreadId
required

Comment thread id of the comment to delete

integer (int64)

Query

sheetId
optional

Sheet id to update a production event comments

integer (int64)

Responses
HTTP Code Description Schema

200

OK

object

401

Unauthorized

No Content

404

Not Found

No Content

500

Internal Server Error

No Content

503

Service Unavailable

No Content

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.10. Test-history-records-controller

Test History Records Controller

2.10.1. Fetches the esignature test value records history

GET /testHistory
Parameters
Type Name Description Schema Default

Query

page
optional

Page number to fetch. Defaults to 0

integer (int32)

0

Query

size
optional

Number of records per page. Defaults to 20

integer (int32)

20

Query

testId
optional

Test Id whose history values is to be fetched

integer (int64)

Responses
HTTP Code Description Schema

200

OK

< TestHistoryRecord > array

401

Unauthorized

No Content

500

Internal Server error, See logs for details

No Content

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.11. User-defined-event-controller

User Defined Event Controller

2.11.1. Fetches user defined record details

GET /userDefinedEvent
Parameters
Type Name Description Schema

Query

eventId
required

Event id of an event to get user defined record details

integer (int64)

Query

sheetId
required

Sheet id to get user defined record details

integer (int64)

Responses
HTTP Code Description Schema

200

OK

object

204

No Content

No Content

400

Bad Request

No Content

401

Unauthorized

No Content

500

Internal Server Error

No Content

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.11.2. Update user defined record details

PUT /userDefinedEvent
Parameters
Type Name Description Schema

Query

eventId
required

Event id of an event to update user defined record details

integer (int64)

Body

updatedUserDefinedRecordInfo
optional

UserDefinedRecordInfo object to update user defined record

UserDefinedRecordInfo

Responses
HTTP Code Description Schema

200

OK

object

400

Bad Request

No Content

401

Unauthorized

No Content

500

Internal Server Error

No Content

Consumes
  • application/json;charset=UTF-8

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.11.3. Fetches user defined status options

GET /userDefinedEvent/userDefinedEventStatusOptions
Parameters
Type Name Description Schema

Query

eventId
required

Event id of an event to get user defined record status options

integer (int64)

Responses
HTTP Code Description Schema

200

OK

CollectionResource«IdNameValue»

400

Bad Request

No Content

401

Unauthorized

No Content

404

Not Found

No Content

500

Internal Server Error

No Content

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.11.4. Create user defined event comments

POST /userDefinedEvent/{eventId}/comments
Parameters
Type Name Description Schema

Path

eventId
optional

Event id to get Userdefined record comment details

integer (int64)

Query

sheetId
required

Sheet id to fetch user defined comments details

integer (int64)

Body

userDefinedEventUpdates
required

UserDefinedUpdates object to create user defined event comment

UserDefinedUpdates

Responses
HTTP Code Description Schema

200

OK

object

204

No Content

No Content

400

Bad Request

No Content

401

Unauthorized

No Content

500

Internal Server Error

No Content

Consumes
  • application/json

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.11.5. Fetches userdefined record comments details

GET /userDefinedEvent/{eventId}/comments
Parameters
Type Name Description Schema

Path

eventId
optional

Event id of an event to get user defined event comments

integer (int64)

Query

sheetId
required

Sheet id to fetch user defined comments details

integer (int64)

Responses
HTTP Code Description Schema

200

OK

object

204

No Content

No Content

401

Unauthorized

No Content

500

Internal Server Error

No Content

503

Service Unavailable

No Content

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.11.6. Delete user defined event comments based on comment id

DELETE /userDefinedEvent/{eventId}/comments/{commentId}
Parameters
Type Name Description Schema

Path

commentId
optional

Comment id to delete user defined event comment details

integer (int64)

Path

eventId
optional

Event id of an event to delete user defined record comment details

integer (int64)

Query

commentThreadId
optional

comment thread id to delete user defined event comment details

integer (int64)

Query

sheetId
optional

Sheet id to update user defined event comment details

integer (int64)

Responses
HTTP Code Description Schema

200

OK

object

401

Unauthorized

No Content

404

Not Found

No Content

500

Internal Server Error

No Content

503

Service Unavailable

No Content

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.11.7. Update existing user defined record comments based on comment thread id and comment id

PUT /userDefinedEvent/{eventId}/comments/{commentThreadId}/{commentId}
Parameters
Type Name Description Schema

Path

commentId
optional

Comment id to update user defined event comment details

integer (int64)

Path

commentThreadId
optional

comment thread id to update user defined event comment details

integer (int64)

Path

eventId
optional

Event id of an event to update user defined record comment details

integer (int64)

Query

sheetId
optional

Sheet id to update user defined event comment details

integer (int64)

Body

userDefinedEventUpdates
optional

UserDefinedUpdates Object to update user defined event comment details

UserDefinedUpdates

Responses
HTTP Code Description Schema

200

OK

object

204

No Content

No Content

400

Bad Request

No Content

401

Unauthorized

No Content

404

Not Found

No Content

500

Internal Server Error

No Content

503

Service Unavailable

No Content

Consumes
  • application/json;charset=UTF-8

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.12. User-info-controller

User Info Controller

2.12.1. userInfo

GET /userInfo
Responses
HTTP Code Description Schema

200

OK

object

204

No Content

No Content

401

Unauthorized

No Content

404

Not Found

No Content

Produces
  • /

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.13. User-settings-controller

User Settings Controller

2.13.1. Create User settings for the logged in user

POST /v2/settings
Parameters
Type Name Description Schema

Body

userSettingsRequest
optional

User Setting Object

UserSettingRequest

Responses
HTTP Code Description Schema

201

Created

UserSettingResource

204

No Content, Error retrieving created user settings

HttpErrorResponse

400

Invalid data supplied

HttpErrorResponse

401

User Unauthorized

No Content

404

App ID not found in privilege set

HttpErrorResponse

409

Conflict, User Setting already exists. Use a PUT to update

HttpErrorResponse

500

Internal Server Error

HttpErrorResponse

Consumes
  • application/json

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.13.2. Get User settings for the logged in User

GET /v2/settings
Parameters
Type Name Description Schema

Query

appId
required

appId

integer (int32)

Query

viewName
required

viewName

string

Responses
HTTP Code Description Schema

200

OK

UserSettingResource

400

Invalid data supplied

HttpErrorResponse

401

User Unauthorized

No Content

404

Not found, no user setting found for the user

HttpErrorResponse

500

Internal Server Error

HttpErrorResponse

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.13.3. Update User settings for the logged in user

PUT /v2/settings
Parameters
Type Name Description Schema

Body

request
optional

User Preference Object

UserSettingRequest

Responses
HTTP Code Description Schema

200

OK

UserSettingResource

400

Invalid data supplied

HttpErrorResponse

401

User Unauthorized

No Content

404

Not Found, There is no saved User settings for the logged in user

HttpErrorResponse

500

Internal Server Error

HttpErrorResponse

Consumes
  • application/json

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.13.4. Delete User settings for the logged in user

DELETE /v2/settings
Parameters
Type Name Description Schema

Query

appId
required

appId

integer (int32)

Query

viewName
required

viewName

string

Responses
HTTP Code Description Schema

200

OK

object

204

Success

object

400

Invalid data supplied

HttpErrorResponse

401

User Unauthorized

No Content

404

Not Found, User Setting not found

HttpErrorResponse

500

Internal Server Error

HttpErrorResponse

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.13.5. Get Privilege Sets

GET /v2/settings/apps
Parameters
Type Name Description Schema

Query

appName
optional

appName

string

Responses
HTTP Code Description Schema

200

OK

< PrivilegeSet > array

400

Invalid data supplied

HttpErrorResponse

401

User Unauthorized

No Content

404

Not found, no user setting found for the user

HttpErrorResponse

500

Internal Server Error

HttpErrorResponse

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.14. Variable-editor-controller

Variable Editor Controller

2.14.1. Fetches activity variables details

GET /variable-editor
Parameters
Type Name Description Schema Default

Query

activityId
required

Activity id of an activity to get edit state of an activity

integer (int64)

Query

enableVariableScrolling
optional

Enable variable scrolling for scrolling activities variables

boolean

"false"

Query

page
optional

Page Number (0..500)

integer (int32)

0

Query

size
optional

Number of records per page.

integer (int32)

20

Query

variableFilter
optional

variableFilter used to encoding. The default value is UTF-8

string

Responses
HTTP Code Description Schema

200

OK

ActivityEditorState

204

No Content

No Content

400

Bad Request

No Content

401

Unauthorized

No Content

500

Internal Server Error

HttpErrorResponse

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.14.2. Update activity variable from edit state

PUT /variable-editor
Parameters
Type Name Description Schema

Query

activityId
optional

Activity id of an activity to update activity variable

integer (int64)

Query

variableId
optional

Variable id of an activity to update activity variable

integer (int64)

Body

activityVariableUpdates
optional

ActivityVariableUpdates object to update acitivity variables

ActivityVariableUpdates

Responses
HTTP Code Description Schema

200

OK

object

400

Bad Request

No Content

401

Unauthorized

No Content

404

Not Found

No Content

500

Internal Server Error

No Content

Consumes
  • application/json

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.14.3. Fetches production event information for an activity

GET /variable-editor/productionEvent
Parameters
Type Name Description Schema

Query

eventId
optional

Event id of events to get production event for an activity

integer (int64)

Query

sheetId
optional

Sheet id to get production event for an activity

integer (int64)

Responses
HTTP Code Description Schema

200

OK

Resource«ProductionRecordInfo»

400

Bad Request

No Content

401

Unauthorized

No Content

500

Internal Server Error

HttpErrorResponse

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.14.4. Update production record

PUT /variable-editor/productionEvent
Parameters
Type Name Description Schema

Query

eventId
optional

Event id of events to get produciton event status for an activity

integer (int64)

Body

updatedProductionRecordInfo
optional

ProductionRecordInfo object to update production event for an activity

ProductionRecordInfo

Responses
HTTP Code Description Schema

200

OK

object

400

Bad Request

No Content

401

Unauthorized

No Content

500

Internal Server Error

No Content

Consumes
  • application/json;charset=UTF-8

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.14.5. Fetches production event status options for an event

GET /variable-editor/productionEventStatusOptions
Parameters
Type Name Description Schema

Query

eventId
optional

Event id of events to get produciton event status for an activity

integer (int64)

Responses
HTTP Code Description Schema

200

OK

CollectionResource«IdNameValue»

400

Bad Request

No Content

401

Unauthorized

No Content

404

Not Found

No Content

500

Internal Server Error

No Content

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.14.6. Fetches user defined event information for an activity

GET /variable-editor/userDefinedEvent
Parameters
Type Name Description Schema

Query

eventId
optional

Event id of events to get user defined event for an activity

integer (int64)

Query

sheetId
optional

Sheet id get user defined event for an activity

integer (int64)

Responses
HTTP Code Description Schema

200

OK

Resource«UserDefinedRecordInfo»

400

Bad Request

No Content

401

Unauthorized

No Content

500

Internal Server Error

No Content

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.14.7. Update user defined event information for an activity

PUT /variable-editor/userDefinedEvent
Parameters
Type Name Description Schema

Query

eventId
optional

Event id of events to update user defined event for an activity

integer (int64)

Body

updatedUserDefinedRecordInfo
optional

UserDefinedRecordInfo object to update user defined event for an activity

UserDefinedRecordInfo

Responses
HTTP Code Description Schema

200

OK

object

400

Bad Request

No Content

401

Unauthorized

No Content

500

Internal Server Error

No Content

Consumes
  • application/json;charset=UTF-8

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.14.8. Fetches user defined event status options for an event

GET /variable-editor/userDefinedEventStatusOptions
Parameters
Type Name Description Schema

Query

eventId
optional

Event id of events to get user defined status for an activity

integer (int64)

Responses
HTTP Code Description Schema

200

OK

CollectionResource«IdNameValue»

400

Bad Request

No Content

401

Unauthorized

No Content

500

Internal Server Error

No Content

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.14.9. Add variable comments

POST /variable-editor/{variableId}/comments
Parameters
Type Name Description Schema

Path

variableId
optional

Variable id of an activity to add variable comments

integer (int64)

Query

activityId
optional

Activity id of an activity to add variable comments

integer (int64)

Body

activityVariableUpdates
optional

ActivityVariableUpdates object to add variable comments

ActivityVariableUpdates

Responses
HTTP Code Description Schema

200

OK

object

204

No Content

No Content

400

Bad Request

No Content

401

Unauthorized

No Content

500

Internal Server Error

No Content

Consumes
  • application/json

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.14.10. Fetches variable comments

GET /variable-editor/{variableId}/comments
Parameters
Type Name Description Schema

Path

variableId
optional

Variable id of an activity to get variables comments

integer (int64)

Query

activityId
optional

Activity id of an activity to get variables comments

integer (int64)

Responses
HTTP Code Description Schema

200

OK

object

401

Unauthorized

No Content

500

Internal Server Error

No Content

503

Service Unavailable, Resource access is not allowed

No Content

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.14.11. Update variable comments record

PUT /variable-editor/{variableId}/comments/{commentId}
Parameters
Type Name Description Schema

Path

commentId
optional

Comment id of an activity to update variable comments

integer (int64)

Path

variableId
optional

Variable id of an activity to update variable comments

integer (int64)

Query

activityId
optional

Activity id of an activity to update variable comments

integer (int64)

Query

commentThreadId
optional

Comment Thread Id of an activity to update variable comments

integer (int64)

Body

commentInfo
optional

CommentInfo objcet to update a variable comments

CommentInfo

Responses
HTTP Code Description Schema

200

OK

object

204

No Content

No Content

400

Bad Request

No Content

401

Unauthorized

No Content

404

Not Found

No Content

500

Internal Server Error

HttpErrorResponse

503

Service Unavailable, Resource access is not allowed

No Content

Consumes
  • application/json;charset=UTF-8

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.14.12. Delete varible comments

DELETE /variable-editor/{variableId}/comments/{commentId}
Parameters
Type Name Description Schema

Path

commentId
optional

Comment id of an activity to delete a variable comments

integer (int64)

Path

variableId
optional

Varible id of an activity to delete a variable comments

integer (int64)

Query

activityId
optional

Activity id of an activity to delete a variable comments

integer (int64)

Query

commentThreadId
optional

Comment thread id of an activity to delete a variable comments

integer (int64)

Responses
HTTP Code Description Schema

200

OK

object

401

Unauthorized

No Content

404

Not Found

No Content

500

Internal Server Error

HttpErrorResponse

503

Service Unavailable, Resource access is not allowed

No Content

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.15. Variable-header-controller

Variable Header Controller

2.15.1. Fetches activity header details

GET /variable-header
Parameters
Type Name Description Schema

Query

activityId
optional

Activity id of an activity to get activity header

integer (int64)

Responses
HTTP Code Description Schema

200

OK

ActivityHeaderInfo

401

Unauthorized

No Content

500

Internal Server Error

HttpErrorResponse

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

2.16. Variable-history-controller

Variable History Controller

2.16.1. Fetches the history of Activity along with the test data on each activity

GET /variable-history
Parameters
Type Name Description Schema Default

Query

activityId
required

activityId

integer (int64)

Query

directionBackward
optional

Optional Input parameter for direction to determine if returned activities come before or after activityId

boolean

Query

isInclusive
optional

Optional Input parameter for is inclusive to determine whether to include the activity details of the activityId passed as the first parameter

boolean

Query

sameProduct
optional

Fetch the details of activities with same product as the activityId given in first parameter

boolean

Query

sheetId
optional

Sheet id to get variable history of an activity

integer (int64)

Query

size
optional

Number of records to fetch

integer (int32)

20

Query

startActivityId
optional

Start activity id to get the starting point for the variable history

integer (int64)

Responses
HTTP Code Description Schema

200

OK

object

401

Unauthorized

No Content

500

Internal Server Error

No Content

Produces
  • application/json;charset=UTF-8

Security
Type Name Scopes

oauth2

access_token

default

oauth2

client_creds

default

oauth2

resource_owner

default

oauth2

implicit_grant

default

3. Definitions

3.1. ActivityCustomForm

Name Schema

customActivityUser
optional

User

externalURL
optional

string

openURL
optional

IdNameValue

3.2. ActivityEditorState

Name Schema

activityInfo
optional

Resource«ActivityInfo»

eventInfo
optional

EventInfo

variableInfo
optional

VariableInfo

variablePages
optional

PagedResources«Resource«VariablePage»»

3.3. ActivityHeaderInfo

Name Schema

activityDescription
optional

string

activityTypeId
optional

integer (int64)

endTime
optional

string (date-time)

isAppliedProduct
optional

boolean

isDisplayUnits
optional

boolean

isLocked
optional

boolean

keyId
optional

string (date-time)

keyId1
optional

integer (int64)

lockEventData
optional

boolean

lockUnavailableCells
optional

boolean

processOrder
optional

string

product
optional

string

sheetId
optional

integer (int64)

startTime
optional

string (date-time)

unitId
optional

integer (int64)

user
optional

IdNameValue

3.4. ActivityInfo

Name Schema

activityId
optional

integer (int64)

activityName
optional

string

activityType
optional

IdNameValue

asset
optional

BaseAssetInfo

commentHistory
optional

< Resource«CommentInfo» > array

commentsThreadId
optional

integer (int64)

completedTime
optional

string (date-time)

completedType
optional

IdNameValue

customFormData
optional

ActivityCustomForm

displayTypeId
optional

integer (int64)

dueIn
optional

integer (int64)

duration
optional

integer (int64)

durationIn
optional

string

estimatedStartTime
optional

string (date-time)

eventNumber
optional

string

hasAvailableCells
optional

boolean

hasVariableAliasing
optional

boolean

isLikelyOverdueActivity
optional

boolean

isOverdueActivity
optional

boolean

keyId
optional

integer (int64)

keyTime
optional

string (date-time)

line
optional

BaseAssetInfo

locked
optional

boolean

mytime
optional

string (date-time)

overdueComment
optional

string

overdueCommentRequired
optional

boolean

overdueCommentsThreadId
optional

integer (int64)

overrideLockPermission
optional

boolean

percentageComplete
optional

number (float)

processOrder
optional

IdNameValue

product
optional

Product

sheetId
optional

integer (int64)

sheetName
optional

string

sheetVariableTitle
optional

string

skipComment
optional

string

skipCommentRequired
optional

boolean

skipCommentsThreadId
optional

integer (int64)

startTime
optional

string (date-time)

status
optional

enum (NotValidStatus, NotStarted, InProgress, Skipped, Released, Completed)

statusId
optional

integer (int64)

targetDuration
optional

number (double)

timeDue
optional

string (date-time)

user
optional

ActivityUsers

3.5. ActivityRecord

Name Description Schema

activityId
optional

Unique identifier of an activity

integer (int64)

activityType
optional

The info of an activity type

IdNameValue

asset
optional

The Asset (Unit) that identifies this location

BaseAssetInfo

autoComplete
optional

Defines an activity is auto complete
Example : false

boolean

commentsThreadId
optional

Thread Id of the comment to fetch the comments associated to it

integer (int64)

completedType
optional

Whether the activity was completed by user or system

IdNameValue

department
optional

The Department this location belongs to

BaseAssetInfo

description
optional

The description of an activity

string

displayTypeId
optional

Unique identifier for this display type

integer (int64)

dueIn
optional

The duration an activity is due in

integer (int64)

duration
optional

The duartion an activity is completed in

integer (int64)

endTime
optional

The end time of an activity

string (date-time)

entryOn
optional

The time when an activity happen

string (date-time)

estimatedStartTime
optional

estimatedStartTime for activity

string (date-time)

eventNumber
optional

Creates a key an event can be-time Based event and product change event of an activity

string

executionStartTime
optional

The time when an activity actually started executing

string (date-time)

extendedInfo
optional

The mode of the custom form can be payload, embedded and the external opening of an activity to the another browser

string

externalLink
optional

An activity opens to an external link in another browser that is a custom activity

string

generalComment
optional

General comment associated with an activity

string

hasAvailableCells
optional

Checks for the cells availability
Example : false

boolean

hasVariableAliasing
optional

Whether the activity variable hasVariableAliasing
Example : false

boolean

keyId
optional

Event id of an activity

integer (int64)

keyTime
optional

Creates a time stamp for an event can be-time Based event and product change event of an activity

string (date-time)

line
optional

The Line this location belongs to

BaseAssetInfo

locked
optional

An activity is locked
Example : false

boolean

overdueComment
optional

The overdue comment of an activity

string

overdueCommentRequired
optional

The overdue comment is required
Example : false

boolean

overdueCommentsThreadId
optional

Overdue comment thread this record is part of

integer (int64)

overrideLockPermission
optional

Permission to override the lock if an activity is locked by the user
Example : false

boolean

percentComplete
optional

The percentage by which an activity is completed

number (double)

priority
optional

integer (int64)

processOrder
optional

An activity process order related to

IdNameValue

product
optional

The product activity is performed on

IdNameValue

sheet
optional

The info of the sheet associalted with an activity

IdNameValue

skipComment
optional

The skip comment of an activity

string

skipCommentRequired
optional

The skip comment is required
Example : false

boolean

skipCommentsThreadId
optional

Skip comment thread this record is part of

integer (int64)

startTime
optional

The start time of an activity

string (date-time)

status
optional

The info of the status of an activity

IdNameValue

tag
optional

string

targetDuration
optional

The target duration when an activity actually complete

number (double)

testsToComplete
optional

Unique identifier of this comment record

integer (int64)

timeDue
optional

The time by which an activity is due

string (date-time)

title
optional

The title of an activity

string

user
optional

The user performing on an activity can be a syatem user

ActivityUsers

3.6. ActivityStatusRequest

Name Schema

commentText
optional

string

commentType
optional

string

status
optional

integer (int64)

3.7. ActivityUsers

Name Description Schema

id
optional

Unique indentifier for the user id

integer (int64)

name
optional

The user name who is performing on an activity

string

systemUser
optional

Defines if user is a system user
Example : false

boolean

3.8. ActivityVariableHistoryInfo

Name Schema

precision
optional

integer (int64)

testId
optional

integer (int64)

testTime
optional

string (date-time)

typeId
optional

integer (int64)

value
optional

object

variableId
optional

integer (int64)

3.9. ActivityVariableInfo

Name Description Schema

arrayId
optional

integer (int64)

available
optional

boolean

average
optional

object

canceled
optional

boolean

commentThreadId
optional

integer (int64)

description
optional

string

eSignatureId
optional

integer (int64)

eSignatureLevel
optional

integer (int64)

engineeringUnits
optional

string

entryBy
optional

Entry by

string

entryById
optional

Entry by id

integer (int64)

entryOn
optional

Entry on

string (date-time)

externalLink
optional

string

history
optional

< ActivityVariableHistoryInfo > array

inputTag
optional

string

isEditable
optional

boolean

isMandatory
optional

boolean

isUserDefined
optional

boolean

lowerControlLimit
optional

object

lowerEntryLimit
optional

object

lowerQuartile
optional

object

lowerRejectLimit
optional

object

lowerUserLimit
optional

object

lowerWarningLimit
optional

object

maximum
optional

object

median
optional

object

minimum
optional

object

order
optional

integer (int64)

parentVariableId
optional

Parent Variable Id of a Variable

string

precision
optional

integer (int64)

source
optional

string

sourceId
optional

integer (int64)

spcCalculationType
optional

Name of SPC calcuation type for variable

string

spcCalculationTypeId
optional

Id of SPC calcuation type for variable

integer (int64)

spcGroupVariableType
optional

Name of SPC Group variable type

string

spcGroupVariableTypeId
optional

Id of SPC Group variable type for variable

integer (int64)

target
optional

object

targetControl
optional

object

targetFreq
optional

integer (int32)

testId
optional

integer (int64)

type
optional

string

typeEnum
optional

< IdNameValue > array

typeId
optional

integer (int64)

upperControlLimit
optional

object

upperEntryLimit
optional

object

upperQuartile
optional

object

upperRejectLimit
optional

object

upperUserLimit
optional

object

upperWarningLimit
optional

object

value
optional

object

variableId
optional

integer (int64)

variableName
optional

string

variableState
optional

enum (Reject, Warning, Target, User, Control)

3.10. ActivityVariableUpdates

Name Schema

activityId
optional

integer (int64)

canceled
optional

boolean

commentText
optional

string

commentThreadId
optional

integer (int64)

esignatureId
optional

integer (int64)

testId
optional

integer (int64)

value
optional

string

variableId
optional

integer (int64)

3.11. ActivityViewerStateResource

Name Schema

activityEndTime
optional

string (date-time)

activityOverviews
optional

PagedResources«Resource«ActivityInfo»»

activityStartTime
optional

string (date-time)

currentPage
optional

integer (int32)

links
optional

< Link > array

numActivitiesRemaining
optional

integer (int32)

overdueCount
optional

integer (int32)

3.12. BaseAssetInfo

Name Description Schema

assetId
optional

The asset Id

integer (int64)

name
optional

The name of the asset

string

type
optional

The type of the asset

enum (Department, Line, Unit, Group, Variable, ProcessOrder)

3.13. CollectionMetadata

Name Schema

totalElements
optional

integer (int32)

3.14. CollectionResource«IdNameValue»

Name Schema

collection
optional

CollectionMetadata

content
optional

< IdNameValue > array

links
optional

< Link > array

3.15. CollectionResource«ReasonHeaderInfo»

Name Schema

collection
optional

CollectionMetadata

content
optional

< ReasonHeaderInfo > array

links
optional

< Link > array

3.16. CollectionResource«ReasonTreeNodeDto»

Name Schema

collection
optional

CollectionMetadata

content
optional

< ReasonTreeNodeDto > array

links
optional

< Link > array

3.17. CommentInfo

Name Schema

addlInfo
optional

string

addlInfo2
optional

string

commentId
optional

integer (int64)

commentText
optional

string

commentTime
optional

string (date-time)

commentType
optional

string

threadId
optional

integer (int64)

user
optional

IdNameValue

3.18. DimensionInfo

Name Schema

dimensionId
optional

string

finalValue
optional

number (double)

initialValue
optional

number (double)

name
optional

string

unitOfMeasure
optional

string

3.19. Error

Name Schema

code
optional

string

details
optional

object

3.20. EventHeaderInfo

Name Schema

eventStartsInfo
optional

integer (int64)

productInfo
optional

IdNameValue

unit
optional

BaseAssetInfo

user
optional

IdNameValue

3.21. EventInfo

Name Schema

eventId
optional

integer (int64)

lockEventData
optional

boolean

3.22. HistorianTagDataPoint

Name Schema

dataPoint
optional

number (double)

deviationPoint
optional

number (double)

tagName
optional

string

3.23. HistorianTagDataPointResponse

Name Schema

content
optional

< HistorianTagDataPoint > array

links
optional

< Link > array

3.24. HttpErrorResponse

Name Schema

error
optional

Error

path
optional

string

timestamp
optional

string

3.25. IdNameValue

Name Description Schema

id
optional

Unique identifier of this id of every pair/used across several services to represent a generic Id

integer (int64)

name
optional

Unique identifier of this name of every pair/used across several services to represent a generic name

string

Name Schema

href
optional

string

rel
optional

string

templated
optional

boolean

3.27. PageMetadata

Name Schema

number
optional

integer (int64)

size
optional

integer (int64)

totalElements
optional

integer (int64)

totalPages
optional

integer (int64)

3.28. PagedResources«Resource«ActivityInfo»»

Name Schema

content
optional

< Resource«ActivityInfo» > array

links
optional

< Link > array

page
optional

PageMetadata

3.29. PagedResources«Resource«VariablePage»»

Name Schema

content
optional

< Resource«VariablePage» > array

links
optional

< Link > array

page
optional

PageMetadata

3.30. PrivilegeSet

Name Schema

category
optional

string

description
optional

string

displayName
optional

string

icon
optional

string

id
optional

integer (int32)

scope
optional

string

3.31. Product

Name Description Schema

code
optional

Product code for activity Product

string

id
optional

Product Id for activity Product

integer (int64)

isAppliedProduct
optional

flag to differentiate between AppliedProduct is current Product
Example : false

boolean

name
optional

Product name for activity Product

string

3.32. ProductChangeCreatorInfo

Name Schema

allProducts
optional

< ProductInfo > array

header
optional

ProductChangeEventHeaderInfo

productChangeHistory
optional

< ProductChangeHistoryInfo > array

productGroup
optional

< Resource«ProductGroup» > array

startTime
optional

string (date-time)

3.33. ProductChangeEventHeaderInfo

Name Schema

unitInfo
optional

IdNameValue

user
optional

IdNameValue

3.34. ProductChangeHistoryInfo

Name Schema

endTime
optional

string (date-time)

id
optional

integer (int64)

productCode
optional

string

productDescription
optional

string

productId
optional

integer (int64)

startTime
optional

string (date-time)

3.35. ProductChangeRequestInfo

Name Schema

eventId
optional

integer (int64)

productId
optional

integer (int64)

timeStamp
optional

string (date-time)

unitId
optional

integer (int64)

3.36. ProductGroup

Name Schema

description
optional

string

productGroupId
optional

integer (int64)

3.37. ProductInfo

Name Schema

code
optional

string

description
optional

string

productFamilyId
optional

integer (int64)

productId
optional

integer (int64)

3.38. ProductionEventUpdates

Name Schema

commentText
optional

string

commentThreadId
optional

integer (int64)

eventId
optional

integer (int64)

testId
optional

integer (int64)

3.39. ProductionRecordInfo

Name Schema

appliedProduct
optional

IdNameValue

associatedActivities
optional

< integer (int64) > array

comment
optional

string

commentsThreadId
optional

integer (int64)

dimensions
optional

< DimensionInfo > array

endTime
optional

string (date-time)

eventName
optional

string

eventStatus
optional

IdNameValue

isLockEventData
optional

boolean

product
optional

IdNameValue

productionRecordId
optional

integer (int64)

productionStatus
optional

IdNameValue

products
optional

< IdNameValue > array

sheetId
optional

integer (int64)

startTime
optional

string (date-time)

statusOptions
optional

< IdNameValue > array

unit
optional

IdNameValue

3.40. ProductionRecordInfoResource

Name Schema

appliedProduct
optional

IdNameValue

associatedActivities
optional

< integer (int64) > array

comment
optional

string

commentsThreadId
optional

integer (int64)

dimensions
optional

< DimensionInfo > array

endTime
optional

string (date-time)

eventName
optional

string

eventStatus
optional

IdNameValue

isLockEventData
optional

boolean

links
optional

< Link > array

product
optional

IdNameValue

productionRecordId
optional

integer (int64)

productionStatus
optional

IdNameValue

products
optional

< IdNameValue > array

sheetId
optional

integer (int64)

startTime
optional

string (date-time)

statusOptions
optional

< IdNameValue > array

unit
optional

IdNameValue

3.41. ReasonHeaderInfo

Name Schema

levelName
optional

string

reasonLevel
optional

integer (int32)

3.42. ReasonTreeNodeDto

Name Schema

categoryId
optional

integer (int64)

categoryName
optional

string

children
optional

< ReasonTreeNodeDto > array

nodeId
optional

integer (int64)

parentNodeId
optional

integer (int64)

reasonId
optional

integer (int64)

reasonLevel
optional

integer (int32)

reasonName
optional

string

treeId
optional

integer (int64)

3.43. Resource«ActivityInfo»

Name Schema

activityId
optional

integer (int64)

activityName
optional

string

activityType
optional

IdNameValue

asset
optional

BaseAssetInfo

commentHistory
optional

< Resource«CommentInfo» > array

commentsThreadId
optional

integer (int64)

completedTime
optional

string (date-time)

completedType
optional

IdNameValue

customFormData
optional

ActivityCustomForm

displayTypeId
optional

integer (int64)

dueIn
optional

integer (int64)

duration
optional

integer (int64)

durationIn
optional

string

estimatedStartTime
optional

string (date-time)

eventNumber
optional

string

hasAvailableCells
optional

boolean

hasVariableAliasing
optional

boolean

isLikelyOverdueActivity
optional

boolean

isOverdueActivity
optional

boolean

keyId
optional

integer (int64)

keyTime
optional

string (date-time)

line
optional

BaseAssetInfo

links
optional

< Link > array

locked
optional

boolean

mytime
optional

string (date-time)

overdueComment
optional

string

overdueCommentRequired
optional

boolean

overdueCommentsThreadId
optional

integer (int64)

overrideLockPermission
optional

boolean

percentageComplete
optional

number (float)

processOrder
optional

IdNameValue

product
optional

Product

sheetId
optional

integer (int64)

sheetName
optional

string

sheetVariableTitle
optional

string

skipComment
optional

string

skipCommentRequired
optional

boolean

skipCommentsThreadId
optional

integer (int64)

startTime
optional

string (date-time)

status
optional

enum (NotValidStatus, NotStarted, InProgress, Skipped, Released, Completed)

statusId
optional

integer (int64)

targetDuration
optional

number (double)

timeDue
optional

string (date-time)

user
optional

ActivityUsers

3.44. Resource«ActivityVariableInfo»

Name Description Schema

arrayId
optional

integer (int64)

available
optional

boolean

average
optional

object

canceled
optional

boolean

commentThreadId
optional

integer (int64)

description
optional

string

eSignatureId
optional

integer (int64)

eSignatureLevel
optional

integer (int64)

engineeringUnits
optional

string

entryBy
optional

Entry by

string

entryById
optional

Entry by id

integer (int64)

entryOn
optional

Entry on

string (date-time)

externalLink
optional

string

history
optional

< ActivityVariableHistoryInfo > array

inputTag
optional

string

isEditable
optional

boolean

isMandatory
optional

boolean

isUserDefined
optional

boolean

links
optional

< Link > array

lowerControlLimit
optional

object

lowerEntryLimit
optional

object

lowerQuartile
optional

object

lowerRejectLimit
optional

object

lowerUserLimit
optional

object

lowerWarningLimit
optional

object

maximum
optional

object

median
optional

object

minimum
optional

object

order
optional

integer (int64)

parentVariableId
optional

Parent Variable Id of a Variable

string

precision
optional

integer (int64)

source
optional

string

sourceId
optional

integer (int64)

spcCalculationType
optional

Name of SPC calcuation type for variable

string

spcCalculationTypeId
optional

Id of SPC calcuation type for variable

integer (int64)

spcGroupVariableType
optional

Name of SPC Group variable type

string

spcGroupVariableTypeId
optional

Id of SPC Group variable type for variable

integer (int64)

target
optional

object

targetControl
optional

object

targetFreq
optional

integer (int32)

testId
optional

integer (int64)

type
optional

string

typeEnum
optional

< IdNameValue > array

typeId
optional

integer (int64)

upperControlLimit
optional

object

upperEntryLimit
optional

object

upperQuartile
optional

object

upperRejectLimit
optional

object

upperUserLimit
optional

object

upperWarningLimit
optional

object

value
optional

object

variableId
optional

integer (int64)

variableName
optional

string

variableState
optional

enum (Reject, Warning, Target, User, Control)

3.45. Resource«CommentInfo»

Name Schema

addlInfo
optional

string

addlInfo2
optional

string

commentId
optional

integer (int64)

commentText
optional

string

commentTime
optional

string (date-time)

commentType
optional

string

links
optional

< Link > array

threadId
optional

integer (int64)

user
optional

IdNameValue

3.46. Resource«ProductGroup»

Name Schema

description
optional

string

links
optional

< Link > array

productGroupId
optional

integer (int64)

3.47. Resource«ProductionRecordInfo»

Name Schema

appliedProduct
optional

IdNameValue

associatedActivities
optional

< integer (int64) > array

comment
optional

string

commentsThreadId
optional

integer (int64)

dimensions
optional

< DimensionInfo > array

endTime
optional

string (date-time)

eventName
optional

string

eventStatus
optional

IdNameValue

isLockEventData
optional

boolean

links
optional

< Link > array

product
optional

IdNameValue

productionRecordId
optional

integer (int64)

productionStatus
optional

IdNameValue

products
optional

< IdNameValue > array

sheetId
optional

integer (int64)

startTime
optional

string (date-time)

statusOptions
optional

< IdNameValue > array

unit
optional

IdNameValue

3.48. Resource«ServiceHealthStatus»

Name Description Schema

isRunning
optional

The status of the service. Returns true if running, else false
Example : false

boolean

links
optional

< Link > array

reason
optional

Reason why the service is not running. Returned only when the service is down and if there is a reason for failure

string

3.49. Resource«UserDefinedRecordInfo»

Name Schema

ack
optional

boolean

ackBy
optional

IdNameValue

ackInitialState
optional

boolean

ackTime
optional

string (date-time)

action1
optional

IdNameValue

action2
optional

IdNameValue

action3
optional

IdNameValue

action4
optional

IdNameValue

asset
optional

IdNameValue

associatedActivities
optional

< integer (int64) > array

cause1
optional

IdNameValue

cause2
optional

IdNameValue

cause3
optional

IdNameValue

cause4
optional

IdNameValue

comment
optional

string

commentsThreadId
optional

integer (int64)

endTime
optional

string (date-time)

eventHeaderInfo
optional

EventHeaderInfo

eventName
optional

string

eventStatus
optional

IdNameValue

eventSubType
optional

IdNameValue

isLockEventData
optional

boolean

links
optional

< Link > array

reasonHeaderInfo
optional

CollectionResource«ReasonHeaderInfo»

reasonTreeNodeDto
optional

CollectionResource«ReasonTreeNodeDto»

sheetId
optional

integer (int64)

startTime
optional

string (date-time)

statusOptions
optional

< IdNameValue > array

unitId
optional

integer (int64)

userDefinedRecordId
optional

integer (int64)

3.50. Resource«VariablePage»

Name Schema

id
optional

integer (int64)

isInclusiveSpecCalc
optional

boolean

links
optional

< Link > array

title
optional

string

variableScrolling
optional

boolean

variables
optional

< Resource«ActivityVariableInfo» > array

3.51. ServiceHealthStatus

Name Description Schema

isRunning
optional

The status of the service. Returns true if running, else false
Example : false

boolean

reason
optional

Reason why the service is not running. Returned only when the service is down and if there is a reason for failure

string

3.52. SheetColumnRecordInfo

Name Schema

associatedActivities
optional

< integer (int64) > array

comment
optional

string

commentsThreadId
optional

integer (int64)

sheetId
optional

integer (int64)

timestamp
optional

string (date-time)

unitId
optional

integer (int64)

3.53. TestHistoryRecord

Name Schema

canceled
optional

boolean

enteredOn
optional

string (date-time)

entryBy
optional

string

performedBy
optional

string

value
optional

object

verifiedBy
optional

string

3.54. TimeSelectionRange

Name Description Schema

endTime
optional

The startTime range

string

eventEpochEndTime
optional

integer (int64)

eventEpochStartTime
optional

The startTime

integer (int64)

startTime
optional

The startTime range

string

3.55. User

Name Schema

password
optional

string

userName
optional

string

3.56. UserDefinedRecordInfo

Name Schema

ack
optional

boolean

ackBy
optional

IdNameValue

ackInitialState
optional

boolean

ackTime
optional

string (date-time)

action1
optional

IdNameValue

action2
optional

IdNameValue

action3
optional

IdNameValue

action4
optional

IdNameValue

asset
optional

IdNameValue

associatedActivities
optional

< integer (int64) > array

cause1
optional

IdNameValue

cause2
optional

IdNameValue

cause3
optional

IdNameValue

cause4
optional

IdNameValue

comment
optional

string

commentsThreadId
optional

integer (int64)

endTime
optional

string (date-time)

eventHeaderInfo
optional

EventHeaderInfo

eventName
optional

string

eventStatus
optional

IdNameValue

eventSubType
optional

IdNameValue

isLockEventData
optional

boolean

reasonHeaderInfo
optional

CollectionResource«ReasonHeaderInfo»

reasonTreeNodeDto
optional

CollectionResource«ReasonTreeNodeDto»

sheetId
optional

integer (int64)

startTime
optional

string (date-time)

statusOptions
optional

< IdNameValue > array

unitId
optional

integer (int64)

userDefinedRecordId
optional

integer (int64)

3.57. UserDefinedUpdates

Name Schema

commentText
optional

string

commentThreadId
optional

integer (int64)

eventId
optional

integer (int64)

testId
optional

integer (int64)

3.58. UserSettingRequest

Name Description Schema

appId
optional

integer (int32)

data
optional

The application specific settings, Eg:- 'App Name' : {'property1' : 'value' , 'property2' : 'value'} }
Example : {
"AppKey1" : {
"property1" : { },
"property2" : { },
"property3" : { }
},
"AppKey2" : {
"property1" : { },
"property2" : { },
"property3" : { }
},
"AppKey3" : {
"property1" : { },
"property2" : { },
"property3" : { }
}
}

object

viewName
optional

string

3.59. UserSettingResource

Name Description Schema

appId
optional

integer (int32)

data
optional

object

defaultSetting
optional

Example : false

boolean

links
optional

< Link > array

viewName
optional

string

3.60. VariableInfo

Name Schema

isDisplayUnits
optional

boolean

lockUnavailableCells
optional

boolean

3.61. VariablePage

Name Schema

id
optional

integer (int64)

isInclusiveSpecCalc
optional

boolean

title
optional

string

variableScrolling
optional

boolean

variables
optional

< Resource«ActivityVariableInfo» > array

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.