Generate report based on the direct report payload

post

/ec-reporting-svc/rest/v2.0/studies/{studyId}/{mode}/reports/direct

Generate a direct report by passing data into payload as JSON with query parameters.
Right: ReportingPost.

Request

Path Parameters
  • Mode of the study. Accepts test, active, or training.
    Example:
    test
  • ID of the study for which you want to generate report. Tenant reports, such as HSL report, can be generated by making study ID as null.
    Example:
    CFD8129A430A473C8A02F4BA5DAAD865
Query Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Back to Top

Response

Supported Media Types

202 Response

Success.
Body ()
Root Schema : ExecutionLog
Type: object
Show Source
Examples

400 Response

Bad request.
Body ()
Root Schema : BaseResponse
Type: object
Base response object for all reporting service endpoints, providing a standard structure for status, result, and errorData.
Show Source
Nested Schema : ErrorResponseData
Type: object
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : result
Type: object
Generic result for all request entity types. The type returned depends on endpoint. May be ExecutionLog, list, or error data.
Nested Schema : Object
Type: object
Title: Object
Object with error details information.
Examples

401 Response

Unauthorized user.
Body ()
Root Schema : BaseResponse
Type: object
Base response object for all reporting service endpoints, providing a standard structure for status, result, and errorData.
Show Source
Nested Schema : ErrorResponseData
Type: object
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : result
Type: object
Generic result for all request entity types. The type returned depends on endpoint. May be ExecutionLog, list, or error data.
Nested Schema : Object
Type: object
Title: Object
Object with error details information.
Examples

500 Response

Empty payload.
Body ()
Root Schema : BaseResponse
Type: object
Base response object for all reporting service endpoints, providing a standard structure for status, result, and errorData.
Show Source
Nested Schema : ErrorResponseData
Type: object
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : result
Type: object
Generic result for all request entity types. The type returned depends on endpoint. May be ExecutionLog, list, or error data.
Nested Schema : Object
Type: object
Title: Object
Object with error details information.
Examples

Back to Top