View Activity by Log Id

get

/paas/api/v1.1/activitylog/{identityDomainId}/message/{logId}

Returns information about an operation, including activity messages, by an activity log identifier.

Request

Path Parameters
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

OK. See Status Codes for information about other possible HTTP status codes.
Body ()
Root Schema : jobid-response
Type: object
Show Source
Nested Schema : messages
Type: array
Groups activity messages.
Show Source
Nested Schema : job-messages
Type: object
Show Source
Back to Top

Examples

The following example shows how to use the activity log ID to view information about an operation. The example uses cURL to submit a GET request on the REST resource.

Note: The command in this example uses the URL structure https://rest_server_url/resource-path, where rest_server_url is the REST server to contact for your identity domain (or Cloud Account). See Send Requests.

cURL Command

curl -i -X GET -u username:password -H "X-ID-TENANT-NAME:ExampleIdentityDomain" "https://rest_server_url/paas/api/v1.1/activitylog/ExampleIdentityDomain/message/15453677"

Example of Response Header

The following shows an example of the response header.

HTTP/1.0 200 Connection established

HTTP/2 200
server: Oracle-Application-Server-11g
strict-transport-security: max-age=31536000;includeSubDomains
content-language: en
access-control-allow-headers: Content-Type, api_key, Authorization, X-ID-TENANT-NAME, X-USER-IDENTITY-DOMAIN-NAME
access-control-allow-methods: GET, POST, DELETE, PUT, OPTIONS, HEAD
x-oracle-dms-ecid: 005QLc1JB936uHFpR05Eid0003kZ0000p2
x-oracle-dms-ecid: 005QLc1JB936uHFpR05Eid0003kZ0000p2
access-control-allow-origin: *
x-frame-options: DENY
content-type: application/json
vary: user-agent
date: Sun, 08 Apr 2018 17:56:16 GMT

Example of Response Body

The following example is the response returned in JSON format for a backup configuration change operation. Your response will differ, depending on the operation type and the log identifier you specified.

{
   "activityLogId":15453677,
   "serviceName":"ExampleInstance",
   "serviceType":"jaas",
   "identityDomain":"ExampleIdentityDomain",
   "serviceId":593380,
   "jobId":23921135,
   "startDate":"2018-03-31T17:58:48.058+0000",
   "endDate":"2018-03-31T17:58:48.885+0000",
   "status":"FAILED",
   "operationId":593380,
   "operationType":"CONFIG_CHANGE",
   "summaryMessage":"CONFIG_CHANGE",
   "authDomain":"ExampleIdentityDomain",
   "authUser":"username",
   "initiatedBy":"USER",
   "messages":[
      {
         "activityDate":"2018-03-31T17:58:48.058+0000",
         "message":"Activity Submitted"
      },
      {
         "activityDate":"2018-03-31T17:58:48.101+0000",
         "message":"Activity Started"
      },
      {
         "activityDate":"2018-03-31T17:58:48.833+0000",
         "message":"SM-BKP-5010: The supplied credentials or storage container for accessing Oracle Storage Cloud Service are incorrect. Response code returned: 400. Supply the correct credentials or storage container and try again. "
      },
      {
         "activityDate":"2018-03-31T17:58:48.885+0000",
         "message":"Activity Ended"
      }
   ]
}
Back to Top