Initiate manual resupply to a site
post
/ec-ors-svc/rest/v2.0/studies/{studyId}/{mode}/sites/{siteId}/resupply/manual
Initiates manual resupply to a site. Rights: OrsSupplyManagerPost and OrsBlinded.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training
-
siteId(required): string(uuid)
ID of the site
-
studyId(required): string(uuid)
ID of the study
Supported Media Types
- application/json
Root Schema : schema
Type:
object
Contains details of manual resupply request to site.
Show Source
-
jobInstanceId: string
Job instance Id.Example:
4FEBE3E166454E2687C6FAC306E7C86E
-
reason: string
Reason to request manual resupply to site.Example:
Some reason.
Response
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : schema
Type:
Show Source
array
-
Array of:
object ResupplyResponse
Response object containing resupply details.
Nested Schema : ResupplyResponse
Type:
object
Response object containing resupply details.
Show Source
-
orderId: string
(uuid)
Order Id
-
status: string
Allowed Values:
[ "PENDING", "INTRANSIT", "RECEIVED", "CANCELLED", "LOST", "CONFIRMED", "INVALID", "PENDING_DESTRUCTION", "RECEIVED_FOR_DESTRUCTION", "DESTROYED" ]
Order status.Example:DESTROYED
400 Response
Manual shipment is not allowed for this study
Nested Schema : result
Type:
object
Nested Schema : details
Type:
object
404 Response
'Invalid study ID', 'Study still in Draft (design phase)', 'Invalid site ID'
Nested Schema : result
Type:
object
Nested Schema : details
Type:
object
500 Response
Internal server error
Nested Schema : result
Type:
object
Nested Schema : details
Type:
object