Create or update selected depot resupply associations
put
/ec-ors-svc/rest/v1.0/studies/{studyId}/{mode}/depot/resupplies/updateselected
Creates or updates selected associations between a resupply and a depot. Rights: SupplySettingRightsPost. Required sponsor roles are clinical supply manager and depot manager.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training
-
studyId(required): string(uuid)
ID of the study
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
array
-
Array of:
object DepotResupplyRequest
Depot resupply request object.
Nested Schema : DepotResupplyRequest
Type:
object
Depot resupply request object.
Show Source
-
depotId: string
Example:
B1B8327AFAA6412287106192AB5984EF
-
resupplyId: string
Example:
B1B8327AFAA6412287106192AB5984EF
Response
Supported Media Types
- application/json
200 Response
Successful operation
Nested Schema : SiteResupply
Type:
object
Site resupply details.
Show Source
-
comment: string
CommentsExample:
Some comments
-
id: string
(uuid)
Resupply site id
-
objectVersionNumber: number
(double)
Object Version Number.Example:
5
-
operationType: string
Allowed Values:
[ "CREATED", "REMOVED", "MODIFIED" ]
Operation type.Example:MODIFIED
-
reason: string
Reason.Example:
Some reason
-
resupplyId: string
(uuid)
Resupply ID
-
resupplyVersionStart: string
(date-time)
Resupply version start
-
siteId: string
(uuid)
Site ID
-
siteVersionStart: string
(date-time)
Site version start
-
softwareVersionNumber: number
(double)
Software Version Number.Example:
2
-
subjectVisitId: string
(uuid)
-
userId: string
(uuid)
User id
-
versionEnd: string
(date-time)
Version End
-
versionStart: string
(date-time)
Version Start
400 Response
'Depot in the study does not match the Clinical One study configuration', 'Duplicate depot'
Root Schema : ORSResponse
Type:
object
Common response object.
Show Source
-
errorData: object
ErrorResponseData
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success
-
version: integer
(int32)
Nested Schema : result
Type:
object
Result Object
Nested Schema : details
Type:
object
404 Response
'Resupply not found', 'Study identifier does not match any study identifiers in Clinical One.'
Root Schema : ORSResponse
Type:
object
Common response object.
Show Source
-
errorData: object
ErrorResponseData
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success
-
version: integer
(int32)
Nested Schema : result
Type:
object
Result Object
Nested Schema : details
Type:
object
500 Response
Internal server error
Root Schema : ORSResponse
Type:
object
Common response object.
Show Source
-
errorData: object
ErrorResponseData
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success
-
version: integer
(int32)
Nested Schema : result
Type:
object
Result Object
Nested Schema : details
Type:
object