Generate a report based on search specifications and query parameters
post
/ec-reporting-svc/rest/v1.0/reports
This API submits a request for generating a report and returns Job ID in response. Right: ReportingPost.
Request
Query Parameters
-
format: string
Format of the report
-
mode: string
Mode of the study. Accepts test, active, or training.
-
reportid: string
Report ID
-
studyId: string(uuid)
ID of the study for which you want to generate report. Tenant reports such as HSL report etc can be generated by making study id as null.
Supported Media Types
- */*
Nested Schema : ReportField
Type:
Show Source
object
-
fieldId(required): string
Minimum Length:
0
Maximum Length:32
Field IDExample:Location GUID
-
fieldName(required): string
Minimum Length:
0
Maximum Length:255
Field nameExample:siteIds
-
fieldSequence: integer
(int32)
Minimum Value:
0
Field sequenceExample:1
-
fieldType(required): string
Minimum Length:
0
Maximum Length:50
Field typeExample:list
-
fieldValueList(required): array
fieldValueList
Response
Supported Media Types
- text/html
- application/json
202 Response
Success
Root Schema : ExecutionLog
Type:
Show Source
object
-
comment: string
Minimum Length:
0
Maximum Length:4000
-
currSearchSpec: string
Minimum Length:
0
Maximum Length:32000
-
currSortSpec: string
Minimum Length:
0
Maximum Length:512
-
fileStorageId: string
(uuid)
-
id: string
(uuid)
-
objectVersionNumber: number
-
operationType: string
Minimum Length:
0
Maximum Length:1024
-
reason: string
Minimum Length:
0
Maximum Length:4000
-
recCount: integer
(int32)
-
rptFormat(required): string
Minimum Length:
0
Maximum Length:255
-
rptId: string
(uuid)
-
rptKickoffDatetime(required): string
(date-time)
-
rptName(required): string
Minimum Length:
0
Maximum Length:255
-
rptStatCd: string
Minimum Length:
0
Maximum Length:255
-
runDuration: integer
-
softwareVersionNumber: number
-
userId(required): string
(uuid)
-
versionEnd(required): string
(date-time)
-
versionStart(required): string
(date-time)
401 Response
Unauthorized user
Nested Schema : result
Type:
object
Nested Schema : details
Type:
object