1. Overview
The service contains a collection of RESTful service calls to retrieve and update esignature domain related information in PA relevant to manufacturing execution.
Descriptions of these functions can be found in the section headers for each collection of relevant resources.
1.1. License information
License : Copyright (c) 2020 GE Digital. All rights reserved.
The copyright to the computer software herein is the property of GE Digital.
The software may be used and/or copied only with the written permission of
GE Digital or in accordance with the terms and conditions stipulated in the
agreement/contract under which the software has been supplied
Terms of service : null
2. Resources
2.1. Esignature-command-controller
Esignature Command Controller
2.1.1. performEsignatue
POST /esignatureCommand/perform
2.2. Esignature-editor-controller
Esignature Editor Controller
2.2.1. Get the Esignature Edit State details
GET /esignatureEditor
Parameters
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
includePerformerReason |
Flag indicating whether the Performer Reason should be retrieved |
boolean |
|
Query |
includeVerifierReason |
Flag indicating whether the Verifier Reason should be retrieved |
boolean |
|
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
500 |
Internal Server error, See logs for details |
No Content |
3. Definitions
3.1. Attachment
Name | Description | Schema |
---|---|---|
attachmentName |
document name |
string |
attachmentType |
attachment type |
string |
documentId |
documentId of the document |
string |
3.2. BaseResponse
Name | Schema |
---|---|
data |
object |
links |
< Link > array |
message |
string |
statusCode |
integer (int32) |
3.3. CommonCommentRecord
Name | Description | Schema |
---|---|---|
attachments |
Comment Attachments |
< Attachment > array |
commentText |
The text of the comment |
string |
commentType |
CommentType that the comment is mapped to. Ex: 1 for Tests, 80 for Activities |
string |
entityId |
EntityId’s instance Id for this comment |
integer (int64) |
entityType |
Entity Type of Plant Apps or non-Plant Apps for this comment record |
string |
3.4. ESignatureEditorOverviewInfo
Name | Schema |
---|---|
authenticationCachePeriod |
integer (int64) |
defaultPerformerReasonId1 |
integer (int64) |
defaultVerifierReasonId1 |
integer (int64) |
performerReasonTree |
< ReasonTreeNodeDto > array |
userName |
string |
verifierReasonTree |
< ReasonTreeNodeDto > array |
3.5. EsignatureInfo
Name | Schema |
---|---|
performComment |
|
performNode |
string |
performReasonLevel1 |
|
performTime |
string (date-time) |
performingUserName |
string |
signatureId |
integer (int64) |
signingContext |
object |
verifyComment |
|
verifyNode |
string |
verifyReasonLevel1 |
|
verifyTime |
string (date-time) |
verifyingUserName |
string |
3.6. EsignaturePerformerSignInfo
Name | Schema |
---|---|
commentEntry |
|
performNode |
string |
performReasonLevel1Id |
integer (int64) |
signingContext |
object |
3.7. EsignatureVerifierSignInfo
Name | Schema |
---|---|
commentEntry |
|
signatureId |
integer (int64) |
signingContext |
object |
verifyNode |
string |
verifyReasonLevel1Id |
integer (int64) |
3.8. IdNameValue
Name | Description | Schema |
---|---|---|
id |
The unique ID of the entity |
integer (int64) |
name |
The name of the entity |
string |
3.10. ReasonTreeNodeDto
Name | Description | Schema |
---|---|---|
categoryId |
The categoryId of the reason |
integer (int64) |
categoryName |
The category name of reason |
string |
children |
The List of the reasonTreeNode |
< ReasonTreeNodeDto > array |
commentRequired |
flag to check if reason is mendatory |
boolean |
links |
< Link > array |
|
nodeId |
The Unique identifier of node |
integer (int64) |
parentNodeId |
The Unique identifier of parentNode |
integer (int64) |
reasonId |
The Unique identifier of reason |
integer (int64) |
reasonLevel |
The level can be 1-level1 2-level2 3-level3 4-level4 of reason |
integer (int32) |
reasonName |
The name of the reason |
string |
treeId |
The Unique identifier of tree |
integer (int64) |
4. Security
4.1. access_token
Type : oauth2
Flow : accessCode
Token URL : https://localhost:8080/uaa/oauth/authorize
Token URL : https://localhost:8080/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.2. resource_owner
Type : oauth2
Flow : password
Token URL : https://localhost:8080/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.3. implicit_grant
Type : oauth2
Flow : implicit
Token URL : https://localhost:8080/uaa/oauth/authorize
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.4. client_creds
Type : oauth2
Flow : application
Token URL : https://localhost:8080/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |