Creates and executes a historic ADDM task using the specified AWR snapshot IDs.

POST {{baseUrl}}/managedDatabases/:managedDatabaseId/actions/runHistoricAddm

Creates and executes a historic ADDM task using the specified AWR snapshot IDs. If an existing ADDM task uses the provided awr snapshot IDs, the existing task will be returned.

Request Body

{"startSnapshotId"=>"<long>", "endSnapshotId"=>"<long>"}

HEADERS

KeyDatatypeRequiredDescription
opc-retry-tokenstringA 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.
opc-request-idstringUnique identifier for the request.
opc-named-credential-idstringThe OCID of the Named Credential.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;timeCreated&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;taskId&quot;:&quot;\u003clong\u003e&quot;,&quot;beginSnapshotId&quot;:&quot;\u003clong\u003e&quot;,&quot;dbUser&quot;:&quot;\u003cstring\u003e&quot;,&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;endSnapshotId&quot;:&quot;\u003clong\u003e&quot;,&quot;endSnapshotTime&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;findings&quot;:&quot;\u003clong\u003e&quot;,&quot;howCreated&quot;:&quot;AUTO&quot;,&quot;isNewlyCreated&quot;:&quot;\u003cboolean\u003e&quot;,&quot;startSnapshotTime&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;status&quot;:&quot;COMPLETED&quot;,&quot;taskName&quot;:&quot;\u003cstring\u003e&quot;}