Create a resupply strategy

post

/ec-ors-svc/rest/v2.0/studies/{studyId}/{mode}/resupply/resupply

Creates a resupply strategy for a study. Rights: OrsSupplyManagerPost. If the Resupply type is Predictive for any site and Trigger weeks and Resupply weeks aren't defined for any resupplykit type, a configuration exception is thrown. If Min/Max buffers aren't defined, the resupply strategy would use 0for the buffers. No exception is thrown.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Resupply request object.
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : ResupplyResponse
Type: object
Response object containing resupply details.
Show Source
  • Order Id
  • Allowed Values: [ "PENDING", "INTRANSIT", "RECEIVED", "CANCELLED", "LOST", "CONFIRMED", "INVALID", "PENDING_DESTRUCTION", "RECEIVED_FOR_DESTRUCTION", "DESTROYED" ]
    Order status.
    Example: DESTROYED

404 Response

Not found
Body ()
Root Schema : ErrorResponseData
Type: object
Show Source
Nested Schema : details
Type: object

500 Response

Internal server error
Body ()
Root Schema : ErrorResponseData
Type: object
Show Source
Nested Schema : details
Type: object
Back to Top