Get the Subject Dispensation report
post
/ec-ors-svc/rest/v5.0/studies/{studyId}/{mode}/reports/dispensations
Retrieves the Subject Dispensation report; Rights: SubjectDataReportPost. Site role: Blinded site user.
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
- */*
Root Schema : SearchSpecs
Type:
objectTitle:
SearchSpecsRequest body passing search specs like limit, offset and list of fields
Show Source
-
fieldSpecsList: array
fieldSpecsList
-
limit: integer
(int32)
Minimum Value:
1Maximum Value:5000Maximum number of records to display per page.Example:50 -
offset: integer
(int32)
Minimum Value:
0Maximum Value:2147483647An order number to specify with which object you want to start retrieving result. If provided, you also need to specify a value for the limit parameter. Offset is affected by the value of the order parameterExample:5
Nested Schema : fieldSpecsList
Type:
Show Source
array-
Array of:
object Field
Contains field details.
Nested Schema : Field
Type:
objectContains field details.
Show Source
-
fieldName(required): string
Minimum Length:
0Maximum Length:255Field nameExample:siteIds -
fieldSequence: integer
(int32)
Minimum Value:
0Field sequenceExample:1 -
fieldType(required): string
Minimum Length:
0Maximum Length:50Field typeExample:list -
fieldValueList(required): string
List of values for the FieldExample:
["D5E16DD550CB4AD1B330E0D09B4B8F3F","A5E16DD550CB4AD1B330E0D09B4B8F3F"]
Response
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : ReportBaseResponse
Type:
objectTitle:
ReportBaseResponseResponse Object for different report APIs.
Show Source
-
errorData: string
Detail of error
-
result: object
PaginatedResponseDto
Title:
PaginatedResponseDtoPaginated Response Object for report APIs. -
status: string
Status of requestExample:
Success
Nested Schema : PaginatedResponseDto
Type:
objectTitle:
PaginatedResponseDtoPaginated Response Object for report APIs.
Show Source
-
columns: array
columns
Names of report columns in the result set.
-
count: integer
(int32)
Total count of result
-
data: array
data
Tabular data where each item is a row (array of string values in report column order).
-
hasMore: string
Attribute describes if result set has more recordsExample:
true -
limit: integer
(int32)
Maximum number of records to display per page.
-
offset: integer
(int32)
An order number to specify with which object you want to start retrieving result. If provided, you also need to specify a value for the limit parameter. Offset is affected by the value of the order parameterExample:
400 -
totalResults: integer
(int32)
Total number of entities in response
Nested Schema : columns
Type:
arrayNames of report columns in the result set.
Show Source
-
Array of:
string
Names of report columns in the result set.Example:
["UserName","UserId","SiteName","Role"]
Example:
[
"UserName",
"UserId",
"SiteName",
"Role"
]Nested Schema : data
Type:
arrayTabular data where each item is a row (array of string values in report column order).
Show Source
-
Array of:
array items
Tabular data where each item is a row (array of string values in report column order).
Example:
[
[
"fiona.cobb@example.com",
"8571341A98694B82B8EB3EB901C88ACD",
"US-East",
"Rule Designer"
],
[
"lucas.james@example.com",
"225B79C982104415886DE02BC73C1E1E",
"US-West",
"Site User"
]
]Nested Schema : items
Type:
arrayTabular data where each item is a row (array of string values in report column order).
Show Source
-
Array of:
string
Tabular data where each item is a row (array of string values in report column order).Example:
[["fiona.cobb@example.com","8571341A98694B82B8EB3EB901C88ACD","US-East","Rule Designer"],["lucas.james@example.com","225B79C982104415886DE02BC73C1E1E","US-West","Site User"]]
Example:
[
[
"fiona.cobb@example.com",
"8571341A98694B82B8EB3EB901C88ACD",
"US-East",
"Rule Designer"
],
[
"lucas.james@example.com",
"225B79C982104415886DE02BC73C1E1E",
"US-West",
"Site User"
]
]400 Response
Validation error - Invalid search criteria.
Root Schema : ORSResponse
Type:
objectCommon response object.
Show Source
-
errorData: object
ErrorResponseData
Structure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success -
version: integer
(int32)
Nested Schema : ErrorResponseData
Type:
objectStructure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
-
details: string
Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.Example:
User role is missing required permission REPORTING_VIEW. Field: userId -
errorCode: string
Application or business-specific error code representing the error type.Example:
REPT_401 -
errorMessage: string
Human-readable error message describing the failure or issue.Example:
Unauthorized: User does not have access to the requested resource
Nested Schema : result
Type:
objectResult Object
403 Response
403 Forbidden.
Root Schema : ORSResponse
Type:
objectCommon response object.
Show Source
-
errorData: object
ErrorResponseData
Structure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success -
version: integer
(int32)
Nested Schema : ErrorResponseData
Type:
objectStructure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
-
details: string
Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.Example:
User role is missing required permission REPORTING_VIEW. Field: userId -
errorCode: string
Application or business-specific error code representing the error type.Example:
REPT_401 -
errorMessage: string
Human-readable error message describing the failure or issue.Example:
Unauthorized: User does not have access to the requested resource
Nested Schema : result
Type:
objectResult Object
404 Response
For study not found or invalid study
Root Schema : ORSResponse
Type:
objectCommon response object.
Show Source
-
errorData: object
ErrorResponseData
Structure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success -
version: integer
(int32)
Nested Schema : ErrorResponseData
Type:
objectStructure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
-
details: string
Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.Example:
User role is missing required permission REPORTING_VIEW. Field: userId -
errorCode: string
Application or business-specific error code representing the error type.Example:
REPT_401 -
errorMessage: string
Human-readable error message describing the failure or issue.Example:
Unauthorized: User does not have access to the requested resource
Nested Schema : result
Type:
objectResult Object
500 Response
Internal server error
Root Schema : ORSResponse
Type:
objectCommon response object.
Show Source
-
errorData: object
ErrorResponseData
Structure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success -
version: integer
(int32)
Nested Schema : ErrorResponseData
Type:
objectStructure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
-
details: string
Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.Example:
User role is missing required permission REPORTING_VIEW. Field: userId -
errorCode: string
Application or business-specific error code representing the error type.Example:
REPT_401 -
errorMessage: string
Human-readable error message describing the failure or issue.Example:
Unauthorized: User does not have access to the requested resource
Nested Schema : result
Type:
objectResult Object