Create a report job
post
/access-governance/service-administration/20250331/reports/jobs
Creates an asynchronous report generation job.
Request
Header Parameters
-
opc-request-id: string
The client request ID for tracing. The only valid characters for request IDs are letters, numbers, underscore, and dash.
-
opc-retry-token: string
Minimum Length:
1Maximum Length:64A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
Details for the report job to create.
Root Schema : CreateReportJobDetails
Type:
objectDetails for creating an asynchronous report job.
Show Source
-
displayName:
string
Optional user-visible report name.
-
parameters:
object ReportJobParameters
GLOBAL_IDENTITY supports selectedColumns. Other report types use their fixed documented columns and do not accept parameters.
-
reportType(required):
string
Allowed Values:
[ "USER_ACCESS_BUNDLE_ASSIGNMENTS", "ACCESS_BUNDLE_ROLE_PERMISSIONS", "GLOBAL_IDENTITY_ACCOUNTS", "GLOBAL_IDENTITY", "PERMISSIONS" ]Report type to generate.
Nested Schema : ReportJobParameters
Type:
objectGLOBAL_IDENTITY supports selectedColumns. Other report types use their fixed documented columns and do not accept parameters.
Show Source
-
selectedColumns:
array selectedColumns
Optional GLOBAL_IDENTITY columns. Always-available columns are included automatically and must not be supplied.
Nested Schema : selectedColumns
Type:
arrayOptional GLOBAL_IDENTITY columns. Always-available columns are included automatically and must not be supplied.
Show Source
-
Array of:
string
Allowed Values:
[ "firstName", "lastName", "personNumber", "managerUserName", "startDate", "terminationDate" ]
Response
Supported Media Types
- application/json
202 Response
The report job was accepted.
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
-
opc-work-request-id: string
Identifier for the asynchronous report job work request.
Root Schema : ReportJob
Type:
objectReport job status and download metadata.
Show Source
-
bytes:
integer(int64)
Size of the generated report artifact in bytes.
-
displayName:
string
User-visible name supplied when the report job was created.
-
downloadUrl:
string
Relative URL for the generated report artifact. Present when lifecycleState is SUCCEEDED.
-
failureCode:
string
Machine-readable failure code, when applicable.
-
failureDetails:
string
Details explaining why report generation failed, when applicable.
-
id(required):
string
Unique report job identifier.
-
lifecycleState(required):
string
Allowed Values:
[ "ACCEPTED", "WAITING", "IN_PROGRESS", "SUCCEEDED", "FAILED", "CANCELING", "CANCELED" ]Current backend lifecycle state of the report job. -
parameters:
object ReportJobParameters
GLOBAL_IDENTITY supports selectedColumns. Other report types use their fixed documented columns and do not accept parameters.
-
percentComplete:
integer
Approximate percentage of report generation completed.
-
reportType(required):
string
Allowed Values:
[ "USER_ACCESS_BUNDLE_ASSIGNMENTS", "ACCESS_BUNDLE_ROLE_PERMISSIONS", "GLOBAL_IDENTITY_ACCOUNTS", "GLOBAL_IDENTITY", "PERMISSIONS" ]Type of report generated by this job. -
requestedBy:
string
Identifier of the principal that requested the report job.
-
rowCount:
integer(int64)
Number of rows in the generated report.
-
timeCreated(required):
string(date-time)
Time the report job was accepted.
-
timeFinished:
string(date-time)
Time the report job reached a terminal state.
-
timeStarted:
string(date-time)
Time report generation began.
Nested Schema : ReportJobParameters
Type:
objectGLOBAL_IDENTITY supports selectedColumns. Other report types use their fixed documented columns and do not accept parameters.
Show Source
-
selectedColumns:
array selectedColumns
Optional GLOBAL_IDENTITY columns. Always-available columns are included automatically and must not be supplied.
Nested Schema : selectedColumns
Type:
arrayOptional GLOBAL_IDENTITY columns. Always-available columns are included automatically and must not be supplied.
Show Source
-
Array of:
string
Allowed Values:
[ "firstName", "lastName", "personNumber", "managerUserName", "startDate", "terminationDate" ]
400 Response
Bad Request
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError Information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
401 Response
Unauthorized
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError Information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
404 Response
Not Found
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError Information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
409 Response
Conflict
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError Information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
429 Response
Too Many Requests
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError Information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
500 Response
Internal Server Error
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError Information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
Default Response
Unknown Error
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError Information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.