v3.0

post

/ec-ors-svc/rest/v3.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
  • Indicates the operational mode of the study. Accepted values: active, test, or training.
    Example:
    test
  • Unique identifier of the study. Uses UUID in a 32-character uppercase hexadecimal string format.
    Example:
    1BC29B36F5D64B1B95F4BDBBCEA481BE
Supported Media Types
Request Body - application/json ()
Root Schema : ResupplyRequest v1.0
Type: object
Title: ResupplyRequest v1.0
Resupply request object.
Show Source
Examples

Back to Top

Response

Supported Media Types

202 Response

Successful operation
Body ()
Root Schema : IDResponse v1.0
Type: object
Title: IDResponse v1.0
Response containing the identifier.
Show Source
Examples

404 Response

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

500 Response

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

Back to Top