Get all DND exceptions
get
/ec-ors-svc/rest/v1.0/studies/{studyId}/{mode}/dndexception
Retrieves all details of the DND exception. Rights: DispensationExceptionGet
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training
-
studyId(required): string(uuid)
ID of the study
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : DNDExceptionsResponse
Type:
objectResponse object containing List of dndExceptions.
Show Source
Nested Schema : dndExceptions
Type:
Show Source
array-
Array of:
object DNDExceptionListResponse
Response object containing dndExceptions details
Nested Schema : DNDExceptionListResponse
Type:
objectResponse object containing dndExceptions details
Show Source
-
allCountries: boolean
Example:
true -
countries: array
countries
Unique Items Required:
trueList of countries -
dndExceptionId: string
(uuid)
dndException Id
-
kitTypeSrcId: array
kitTypeSrcId
Unique Items Required:
trueList of sites -
visitDND: array
visitDND
Nested Schema : countries
Type:
arrayUnique Items Required:
trueList of countries
Show Source
-
Array of:
string
List of countriesExample:
["IN","US"]
Example:
[
"IN",
"US"
]Nested Schema : kitTypeSrcId
Type:
arrayUnique Items Required:
trueList of sites
Show Source
-
Array of:
string
List of sitesExample:
["B1B8327AFAA6412287106192AB5984EF","ABC8327AFAA6412287106192AB5984EF"]
Example:
[
"B1B8327AFAA6412287106192AB5984EF",
"ABC8327AFAA6412287106192AB5984EF"
]Nested Schema : visitDND
Type:
Show Source
array-
Array of:
object VisitDND
Title:
VisitDNDRequest to create a new VisitDND
Nested Schema : VisitDND
Type:
objectTitle:
VisitDNDRequest to create a new VisitDND
Show Source
-
dnd(required): number
(BigDecimal)
Minimum Value:
0Minimum Value:> falseMaximum Value:99999Maximum Value:< falsedndExample:2 -
visitSrcId(required): string
(uuid)
visitSrcId of the visit
400 Response
Dispensation Logic (Dynamic DND) Request is not valid
Root Schema : ORSResponse
Type:
objectCommon response object.
Show Source
-
errorData: object
ErrorResponseData
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success -
version: integer
(int32)
Nested Schema : result
Type:
objectResult Object
Nested Schema : details
Type:
object404 Response
For Invalid study ID or version
Root Schema : ORSResponse
Type:
objectCommon response object.
Show Source
-
errorData: object
ErrorResponseData
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success -
version: integer
(int32)
Nested Schema : result
Type:
objectResult Object
Nested Schema : details
Type:
object500 Response
Internal server error
Root Schema : ORSResponse
Type:
objectCommon response object.
Show Source
-
errorData: object
ErrorResponseData
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success -
version: integer
(int32)
Nested Schema : result
Type:
objectResult Object
Nested Schema : details
Type:
object