V1.0
post
/ec-dataaction-svc/rest/v1.0/studies/{studyId}/{mode}/signconfiguration
Creates a new signature configuration for the given study and mode. Use this endpoint to define new signature rules and requirements for a study workflow.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training.Example:
test -
studyId(required): string(uuid)
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the study.Example:
AABBCCDDEEFF00112233445566778899
Supported Media Types
- application/json
Root Schema : schema
Type:
objectRequest payload for saving a new signature configuration. Specifies forms, visits, users, triggers, and other settings for electronic signatures.
Show Source
-
affidavitCodeValue: string
Minimum Length:
0Maximum Length:4000Affidavit code associated with this configuration.Example:Electronic Signature Affidavit -
configName: string
Minimum Length:
0Maximum Length:4000Name of the signature configuration.Example:Final Visit Sign Config -
emailReminder: string
Minimum Length:
0Maximum Length:1Indicator for sending email reminders ('Y' or 'N').Example:N -
requiredBy: array
requiredBy
Minimum Number of Items:
0Maximum Number of Items:4000List of user IDs(UUID, 32-character uppercase hexadecimal string) who are required to sign. -
requiredOn: string
Minimum Length:
0Maximum Length:16Allowed Values:[ "CASEBOOK", "VISIT", "FORM" ]Level at which signature is required.Example:FORM -
requiredOnForms: array
requiredOnForms
Minimum Number of Items:
0Maximum Number of Items:4000List of form UUIDs(UUID, 32-character uppercase hexadecimal string) required to sign. -
requiredOnVisits: array
requiredOnVisits
Minimum Number of Items:
0Maximum Number of Items:4000List of visit UUIDs(UUID, 32-character uppercase hexadecimal string) required to sign. -
targetAfter: string
Minimum Length:
0Maximum Length:16Allowed Values:[ "COMPLETION", "START" ]Event after which the target is achieved.Example:COMPLETION -
targetDate: integer
(int64)
Target date for signature as integer.Example:
3 -
targetSet: string
Minimum Length:
0Maximum Length:1Indicator if a target is set ('Y' or 'N').Example:Y -
triggerAnswer: array
triggerAnswer
Minimum Number of Items:
0Maximum Number of Items:4000List of trigger answers used for conditional signatures. -
triggerQuestion: string
Unique identifier(UUID, 32-character uppercase hexadecimal string) of the trigger question for conditional signatures.Example:
66778899AABBCCDDEEFF001122334455
Nested Schema : requiredBy
Type:
arrayMinimum Number of Items:
0Maximum Number of Items:
4000List of user IDs(UUID, 32-character uppercase hexadecimal string) who are required to sign.
Show Source
-
Array of:
string(uuid)
List of user IDs(UUID, 32-character uppercase hexadecimal string) who are required to sign.
Example:
[
"DDEEFF00112233445566778899AABBCC"
]Nested Schema : requiredOnForms
Type:
arrayMinimum Number of Items:
0Maximum Number of Items:
4000List of form UUIDs(UUID, 32-character uppercase hexadecimal string) required to sign.
Show Source
-
Array of:
string(uuid)
List of form UUIDs(UUID, 32-character uppercase hexadecimal string) required to sign.
Example:
[
"A1B2C3D4E5F607182736454647484950"
]Nested Schema : requiredOnVisits
Type:
arrayMinimum Number of Items:
0Maximum Number of Items:
4000List of visit UUIDs(UUID, 32-character uppercase hexadecimal string) required to sign.
Show Source
-
Array of:
string(uuid)
List of visit UUIDs(UUID, 32-character uppercase hexadecimal string) required to sign.
Example:
[
"5A6B7C8D9E0F10293847560123456789"
]Nested Schema : triggerAnswer
Type:
arrayMinimum Number of Items:
0Maximum Number of Items:
4000List of trigger answers used for conditional signatures.
Show Source
-
Array of:
string
List of trigger answers used for conditional signatures.Example:
["Yes"]
Example:
[
"Yes"
]Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
Successfully created the signature configuration. Returns the created SignatureConfigurationDTO object.
Root Schema : SignatureConfigurationDTO
Type:
objectRepresents the configuration for electronic signatures for a study, including the required forms, visits, users, and rules.
Show Source
-
affidavitCodeValue: string
Minimum Length:
0Maximum Length:4000Affidavit code for the configuration.Example:Electronic Signature Affidavit -
comment: string
Minimum Length:
0Maximum Length:2048Additional comments about this signature configuration.Example:Added new signature step for visit. -
configName: string
Minimum Length:
0Maximum Length:4000A user-friendly name for the signature configuration, used to distinguish it from other configurations.Example:Final Visit Sign Config -
emailReminder: string
Minimum Length:
0Maximum Length:1Indicator to send email reminder ('Y' or 'N').Example:N -
id: string
(UUID)
Unique identifier(UUID, 32-character uppercase hexadecimal string) for the signature configuration in UUID format.Example:
AABBCCDDEEFF00112233445566778899 -
objectVersionNumber: number
(int32)
Object version numberExample:
1 -
operationType: string
Operation type on the record, can have values CREATED, MODIFIED or REMOVEDExample:
CREATED -
reason: string
Minimum Length:
0Maximum Length:255Reason for the configuration or operation.Example:Other. -
requiredBy: array
requiredBy
Minimum Number of Items:
0Maximum Number of Items:4000List of user IDs (UUID, 32-character uppercase hexadecimal string) required to sign. -
requiredOn: string
Minimum Length:
0Maximum Length:16Allowed Values:[ "CASEBOOK", "VISIT", "FORM" ]Level at which signature is required.Example:FORM -
requiredOnForms: array
requiredOnForms
Minimum Number of Items:
0Maximum Number of Items:4000List of form IDs(UUID, 32-character uppercase hexadecimal string) required to sign. -
requiredOnVisits: array
requiredOnVisits
Minimum Number of Items:
0Maximum Number of Items:4000List of visit IDs(UUID, 32-character uppercase hexadecimal string) required to sign. -
softwareVersionNumber: number
(int32)
Software version numberExample:
1 -
targetAfter: string
Minimum Length:
0Maximum Length:16Allowed Values:[ "COMPLETION", "START" ]Event after which the target is considered achieved.Example:COMPLETION -
targetDate: integer
(int64)
Target date for signature as integer.Example:
2 -
targetSet: string
Minimum Length:
0Maximum Length:1Indicator if target is set ('Y' or 'N').Example:Y -
triggerQuestion: string
Unique Identifier (UUID, 32-character uppercase hexadecimal string) of the trigger question for conditional rules.Example:
55AA44BB33CC22DD11EEFF0011223344 -
userId: string
User ID(UUID, 32-character uppercase hexadecimal string) that performed the operation in UUID format.Example:
00112233445566778899AABBCCDDEEFF -
versionEnd: string
(date-time)
The end date until which the data is applicable or valid.Example:
2023-12-31T23:59:59Z -
versionStart: string
(date-time)
The timestamp marking the beginning of the validity period for this record version within the system.Example:
2023-01-01T00:00:00Z
Nested Schema : requiredBy
Type:
arrayMinimum Number of Items:
0Maximum Number of Items:
4000List of user IDs (UUID, 32-character uppercase hexadecimal string) required to sign.
Show Source
-
Array of:
string(uuid)
List of user IDs (UUID, 32-character uppercase hexadecimal string) required to sign.
Example:
[
"DDEEFF00112233445566778899AABBCC"
]Nested Schema : requiredOnForms
Type:
arrayMinimum Number of Items:
0Maximum Number of Items:
4000List of form IDs(UUID, 32-character uppercase hexadecimal string) required to sign.
Show Source
-
Array of:
string(uuid)
List of form IDs(UUID, 32-character uppercase hexadecimal string) required to sign.
Example:
[
"A1B2C3D4E5F607182736454647484950"
]Nested Schema : requiredOnVisits
Type:
arrayMinimum Number of Items:
0Maximum Number of Items:
4000List of visit IDs(UUID, 32-character uppercase hexadecimal string) required to sign.
Show Source
-
Array of:
string(uuid)
List of visit IDs(UUID, 32-character uppercase hexadecimal string) required to sign.
Example:
[
"5A6B7C8D9E0F10293847560123456789"
]Examples
400 Response
Invalid input, missing required fields, or validation error.
Root Schema : RestResponse
Type:
Show Source
object-
errorData: object
ErrorResponseData
Structure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
-
result: object
result
-
status: string
-
version: integer
(int32)
Nested Schema : ErrorResponseData
Type:
objectStructure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
-
details: object
details
Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.
-
errorCode: string
Application or business-specific error code representing the error type.Example:
REPT_401 -
errorMessage: string
Human-readable error message describing the failure or issue.Example:
Unauthorized: User does not have access to the requested resource
Nested Schema : result
Type:
objectNested Schema : details
Type:
objectDetailed error context or debugging information such as validation error, stack trace, or field/parameter cause.
Example:
User role is missing required permission REPORTING_VIEW. Field: userId