Create first shipment in resupply strategy
post
/ec-ors-svc/rest/v2.0/studies/{studyId}/{mode}/resupply/initial
Creates a first shipment as part of a study's predictive resupply group. Rights: OrsSupplyManagerPost.
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:
object
Initial resupply request object.
Show Source
-
jobInstanceId: string
Job instance Id.Example:
4FEBE3E166454E2687C6FAC306E7C86E
-
siteId(required): string
(uuid)
Site ID
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
404 Response
Not found
Nested Schema : details
Type:
object
500 Response
Internal server error
Nested Schema : details
Type:
object