Update safety case status
put
/ec-dc-svc/rest/v1.0/studies/{studyId}/{mode}/safetycase/{id}
Updates the safety case status based on ID.
Request
Path Parameters
-
id(required): string(uuid)
Safety case id.
-
mode(required): string
Mode of the study. Accepts test, active, or training.
-
studyId(required): string
Id of the study to which the safety case is associated.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
comment: string
-
externalSafetyCaseId: string
-
reason: string
-
status: string
Minimum Length:
0
Maximum Length:100
Response
Supported Media Types
- application/json
200 Response
Success
Nested Schema : SafetyCase
Type:
Show Source
object
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
createdDate: string
(date-time)
-
dataelementsInSafetyCase: array
dataelementsInSafetyCase
-
extSafetyCaseId: string
-
id: string
(uuid)
-
lastSubmittedDate: string
(date-time)
-
modifiedDate: string
(date-time)
-
operationType: string
Minimum Length:
1
Maximum Length:16
-
reason: string
Minimum Length:
0
Maximum Length:255
-
reporterIds: array
reporterIds
-
safetyCaseData: array
safetyCaseData
-
status: string
-
studyVersion: string
-
subjectId: string
(uuid)
-
userId: string
(uuid)
-
versionStart: string
(date-time)
Nested Schema : DataElement
Type:
Show Source
object
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
dataEventType: string
-
dataFlag: string
(uuid)
-
dataflagValue: string
-
dateTimeValueUTC: string
(date-time)
-
dayValue: integer
-
documentId: string
(uuid)
-
documentVersion: number
-
eventId: string
-
eventInstanceNum: integer
-
floatValue: number
-
formId: string
-
formSectionId: string
-
freezedStatus: string
-
hdiId: string
-
hourValue: integer
-
id: string
(uuid)
-
innerRepeat: integer
-
isSafetyDefaultSelected: boolean
-
isSafetyTrigger: boolean
-
itemD: string
Minimum Length:
0
Maximum Length:4000
-
itemF: string
Minimum Length:
0
Maximum Length:4000
-
itemId: string
-
itemR: string
Minimum Length:
0
Maximum Length:4000
-
itemType: string
Minimum Length:
0
Maximum Length:255
-
lockedDateTime: string
(date-time)
-
lockedStatus: string
-
measureUnit: string
Minimum Length:
0
Maximum Length:64
-
minuteValue: integer
-
monthValue: integer
-
normalizedUnitId: string
-
normalizedValue: string
-
numValue: integer
-
operationType: string
Minimum Length:
1
Maximum Length:16
-
originatorId: string
-
outerRepeat: integer
-
propertyId: string
-
propertyVersionStart: string
(date-time)
-
reason: string
Minimum Length:
0
Maximum Length:255
-
repeatFormNumber: integer
-
repeatSequenceNumber: integer
-
secondValue: integer
-
signedStatus: string
-
siteId: string
-
studyId: string
-
studyName: string
Minimum Length:
0
Maximum Length:100
-
studyVersion(required): string
Minimum Length:
0
Maximum Length:100
-
subjectId: string
-
transactionEnd: string
(date-time)
-
transactionStart: string
(date-time)
-
userId: string
(uuid)
-
validationFailure: string
-
validationRules: array
validationRules
-
validationStatus: string
-
value: string
Minimum Length:
0
Maximum Length:4000
-
variableId: string
-
vendorCode: string
Minimum Length:
0
Maximum Length:100
-
verifiedStatus: string
-
versionStart: string
(date-time)
-
visitStartDate: string
(date-time)
-
visitStatus: string
Allowed Values:
[ "NEW", "COMPLETE", "COMPLETE_ERR", "INPROGRESS", "INCOMPLETE", "INCOMPLETE_ERR", "SKIPPED", "UNDO_SKIP", "NOT_STARTED" ]
-
yearValue: integer
Nested Schema : SafetyCaseData
Type:
Show Source
object
-
associated: boolean
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
defaultSelected(required): string
Minimum Length:
0
Maximum Length:1
-
eventId(required): string
(uuid)
-
eventInstNum: integer
-
extSafetyCaseId: string
-
formId(required): string
(uuid)
-
id: string
(uuid)
-
innerRepNum: integer
-
operationType: string
Minimum Length:
1
Maximum Length:16
-
outerRepNum: integer
-
reason: string
Minimum Length:
0
Maximum Length:255
-
safetyCaseId(required): string
(uuid)
-
safetyCaseTitle: string
-
status: string
-
subjectId: string
(uuid)
-
triggerItemId: string
(uuid)
-
userId: string
(uuid)
-
versionStart: string
(date-time)
400 Response
Bad request.
Root Schema : DcsResponse
Type:
Show Source
object
-
errorData: object
ErrorResponseData
Title:
ErrorResponseData
Error Response Details Information -
result: object
result
-
status: string
-
version: integer
(int32)
Nested Schema : ErrorResponseData
Type:
object
Title:
ErrorResponseData
Error Response Details Information
Show Source
-
details: object
Object
Title:
Object
Object with error details information. -
errorCode: string
Error code which is stored in ErrorCode enum. Example : C1-003Example:
C1-003
-
errorMessage: string
Error message which is stored in service property file. Example : Cannot modify object after a study version has been approvedExample:
Cannot modify object after a study version has been approved
Nested Schema : result
Type:
object
Nested Schema : Object
Type:
object
Title:
Object
Object with error details information.