v1.0

post

/ec-ors-svc/rest/v1.0/studies/{studyId}/{mode}/dndexception

Creates a DND Exception. Rights needed: DispensationExceptionPost.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : DNDExceptionRequest v1.0
Type: object
Title: DNDExceptionRequest v1.0
Request to create a new DNDException.
Show Source
Nested Schema : Countries
Type: array
Title: Countries
ISO codes of countries.
Show Source
Nested Schema : Kit Type Source IDs
Type: array
Title: Kit Type Source IDs
Minimum Number of Items: 1
Maximum Number of Items: 2147483647
Unique Items Required: true
List of kit type source IDs.
Show Source
Example:
[
    "6AF54DB79B764662B685D68C52AB0B84",
    "6AF54DB79B764662B685D68C52AB0B84"
]
Nested Schema : Site IDs
Type: array
Title: Site IDs
Unique Items Required: true
List of site IDs.
Show Source
Example:
[
    "6AF54DB79B764662B685D68C52AB0B84",
    "6AF54DB79B764662B685D68C52AB0B84"
]
Nested Schema : visitDND
Type: array
Minimum Number of Items: 1
Maximum Number of Items: 2147483647
Unique Items Required: true
Show Source
Nested Schema : VisitDND v1.0
Type: object
Title: VisitDND v1.0
Request to create a new VisitDND.
Show Source
Back to Top

Response

Supported Media Types

200 Response

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

400 Response

Dispensation logic (dynamic DND) request is not valid
Body ()
Root Schema : ORSResponse
Type: object
Common response object.
Show Source
Nested Schema : ErrorResponseData
Type: object
Show Source
Nested Schema : result
Type: object
Result Object
Nested Schema : details
Type: object

404 Response

Invalid study ID or version
Body ()
Root Schema : ORSResponse
Type: object
Common response object.
Show Source
Nested Schema : ErrorResponseData
Type: object
Show Source
Nested Schema : result
Type: object
Result Object
Nested Schema : details
Type: object

500 Response

Internal server error
Body ()
Root Schema : ORSResponse
Type: object
Common response object.
Show Source
Nested Schema : ErrorResponseData
Type: object
Show Source
Nested Schema : result
Type: object
Result Object
Nested Schema : details
Type: object
Back to Top