View the Status of an Operation by Job Id

get

/paas/api/v1.1/activitylog/{identityDomainId}/job/{jobId}

Returns information about the operation, including activity messages.

Request

Path Parameters
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

OK
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 job ID to view information about the operation being performed on the Oracle SOA Cloud Service instance by submitting a GET request on the REST resource using cURL. For more information, see Use cURL.

cURL Command

curl -i -X GET -u username:Password1! -H "X-ID-TENANT-NAME:ExampleIdentityDomain" https://rest-server_url.com/paas/api/v1.1/activitylog/ExampleIdentityDomain/job/8722

Example of Response Body

The following example is the response returned in JSON format for an SSH key operation. The response you get depends on the type of operation.

{
  "activityLogId": 135,
  "serviceName": "ExampleInstance",
  "serviceType": "soa",
  "identityDomain": "ExampleIdentityDomain",
  "serviceId": 8,
  "jobId": 8722,
  "startDate": "2019-04-19T22:00:44.598+0000",
  "endDate": "2019-04-19T22:08:30.655+0000",
  "status": "SUCCEED",
  "operationId": 8,
  "operationType": "SSH_PUBLIC_KEY_RESET",
  "summaryMessage": "SSH_PUBLIC_KEY_RESET",
  "authDomain": "ExampleIdentityDomain",
  "authUser": "username",
  "initiatedBy": "USER",
  "messages": [
    {
      "activityDate": "2019-04-19T22:00:44.598+0000",
      "message": "Activity Submitted"
    },
    {
      "activityDate": "2019-04-19T22:00:45.139+0000",
      "message": "Activity Started"
    },
    {
      "activityDate": "2019-04-19T22:00:45.163+0000",
      "message": "Resetting user ssh public key, new ssh public key: ssh-rsa ZYZYBZ3NzaC1yc2EAAAABJQAAAQEAix3Pt+tXlziLKWLyfY2tQUfsuHNvuL9SVeIJSmyqevv4n4AKxZ1wkgXdQmaN7iV2VlTJTf\/rpNAwXGwnSQr7GyGZv4udkyKqyBummnAnVNMPirCBr8scQPCfGB2rjVmfwgNK6TVtAD1t+uDhVIHEf9Jb05v940Abt9\/u5MFkxxoldQy6rRxgky3ZYstU72NOpiwmptYL5CDu3aPljZsx\/raKQACsU0qi3sCzLD76tK4sp+8BTkGBQIIJxa1zqdFHQzQmr2tcf8D6E4sauMqCpXGzLoxgrLMPtHfwkDsAaOc2VPVKafqHgKssbEFRrUclJHy3z9loYV6RzPABQpEEee== rsa-key-20196666"
    },
    {
      "activityDate": "2019-04-19T22:04:05.792+0000",
      "message": "Stopped all Compute resources..."
    },
    {
      "activityDate": "2019-04-19T22:08:29.532+0000",
      "message": "Started all Compute resources..."
    },
    {
      "activityDate": "2019-04-19T22:08:30.633+0000",
      "message": "Successful in resetting the user ssh key as: ssh-rsa ZYZYBZ3NzaC1yc2EAAAABJQAAAQEAix3Pt+tXlziLKWLyfY2tQUfsuHNvuL9SVeIJSmyqevv4n4AKxZ1wkgXdQmaN7iV2VlTJTf\/rpNAwXGwnSQr7GyGZv4udkyKqyBummnAnVNMPirCBr8scQPCfGB2rjVmfwgNK6TVtAD1t+uDhVIHEf9Jb05v940Abt9\/u5MFkxxoldQy6rRxgky3ZYstU72NOpiwmptYL5CDu3aPljZsx\/raKQACsU0qi3sCzLD76tK4sp+8BTkGBQIIJxa1zqdFHQzQmr2tcf8D6E4sauMqCpXGzLoxgrLMPtHfwkDsAaOc2VPVKafqHgKssbEFRrUclJHy3z9loYV6RzPABQpEEee== rsa-key-20196666"
    },
    {
      "activityDate": "2019-04-19T22:08:30.655+0000",
      "message": "Activity Ended"
    }
  ]
}
Back to Top