Chilkat Online Tools

SQL Server / Core Services API / GetInstance

Back to Collection Items

-- Important: See this note about string length limitations for strings returned by sp_OAMethod calls.
--
CREATE PROCEDURE ChilkatSample
AS
BEGIN
    DECLARE @hr int
    -- Important: Do not use nvarchar(max).  See the warning about using nvarchar(max).
    DECLARE @sTmp0 nvarchar(4000)
    -- This example assumes the Chilkat API to have been previously unlocked.
    -- See Global Unlock Sample for sample code.

    DECLARE @http int
    EXEC @hr = sp_OACreate 'Chilkat_9_5_0.Http', @http OUT
    IF @hr <> 0
    BEGIN
        PRINT 'Failed to create ActiveX component'
        RETURN
    END

    DECLARE @success int

    EXEC sp_OAMethod @http, 'SetRequestHeader', NULL, 'Authorization', '{{signature}}'
    EXEC sp_OAMethod @http, 'SetRequestHeader', NULL, 'Date', '{{date}}'

    DECLARE @sbResponseBody int
    EXEC @hr = sp_OACreate 'Chilkat_9_5_0.StringBuilder', @sbResponseBody OUT

    EXEC sp_OAMethod @http, 'QuickGetSb', @success OUT, 'https://iaas.{{region}}.oraclecloud.com/20160918/instances/:instanceId', @sbResponseBody
    IF @success = 0
      BEGIN
        EXEC sp_OAGetProperty @http, 'LastErrorText', @sTmp0 OUT
        PRINT @sTmp0
        EXEC @hr = sp_OADestroy @http
        EXEC @hr = sp_OADestroy @sbResponseBody
        RETURN
      END

    DECLARE @jResp int
    EXEC @hr = sp_OACreate 'Chilkat_9_5_0.JsonObject', @jResp OUT

    EXEC sp_OAMethod @jResp, 'LoadSb', @success OUT, @sbResponseBody
    EXEC sp_OASetProperty @jResp, 'EmitCompact', 0


    PRINT 'Response Body:'
    EXEC sp_OAMethod @jResp, 'Emit', @sTmp0 OUT
    PRINT @sTmp0

    DECLARE @respStatusCode int
    EXEC sp_OAGetProperty @http, 'LastStatus', @respStatusCode OUT

    PRINT 'Response Status Code = ' + @respStatusCode
    IF @respStatusCode >= 400
      BEGIN

        PRINT 'Response Header:'
        EXEC sp_OAGetProperty @http, 'LastHeader', @sTmp0 OUT
        PRINT @sTmp0

        PRINT 'Failed.'
        EXEC @hr = sp_OADestroy @http
        EXEC @hr = sp_OADestroy @sbResponseBody
        EXEC @hr = sp_OADestroy @jResp
        RETURN
      END

    -- Sample JSON response:
    -- (Sample code for parsing the JSON response is shown below)

    -- {
    --   "id": "sit dolor",
    --   "compartmentId": "et esse",
    --   "shape": "sunt veniam",
    --   "region": "laboris",
    --   "availabilityDomain": "dolor",
    --   "lifecycleState": "TERMINATED",
    --   "timeCreated": "2006-02-03T20:50:31.716Z",
    --   "agentConfig": {
    --     "areAllPluginsDisabled": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     },
    --     "isManagementDisabled": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     },
    --     "isMonitoringDisabled": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     },
    --     "pluginsConfig": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     }
    --   },
    --   "availabilityConfig": {
    --     "isLiveMigrationPreferred": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     },
    --     "recoveryAction": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     }
    --   },
    --   "capacityReservationId": "occaecat sint id",
    --   "dedicatedVmHostId": "ipsum dolor incididunt sit ex",
    --   "definedTags": {},
    --   "displayName": "consequat aliquip magna ullamco",
    --   "extendedMetadata": {},
    --   "faultDomain": "incididunt esse",
    --   "freeformTags": {},
    --   "imageId": "dolor nulla consequat ipsum",
    --   "instanceOptions": {
    --     "areLegacyImdsEndpointsDisabled": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     }
    --   },
    --   "ipxeScript": "anim magna",
    --   "launchMode": "CUSTOM",
    --   "launchOptions": {
    --     "bootVolumeType": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     },
    --     "firmware": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     },
    --     "isConsistentVolumeNamingEnabled": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     },
    --     "isPvEncryptionInTransitEnabled": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     },
    --     "networkType": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     },
    --     "remoteDataVolumeType": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     }
    --   },
    --   "metadata": {},
    --   "platformConfig": {
    --     "type": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     },
    --     "isMeasuredBootEnabled": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     },
    --     "isSecureBootEnabled": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     },
    --     "isTrustedPlatformModuleEnabled": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     }
    --   },
    --   "preemptibleInstanceConfig": {
    --     "preemptionAction": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     }
    --   },
    --   "shapeConfig": {
    --     "baselineOcpuUtilization": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     },
    --     "gpuDescription": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     },
    --     "gpus": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     },
    --     "localDiskDescription": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     },
    --     "localDisks": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     },
    --     "localDisksTotalSizeInGBs": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     },
    --     "maxVnicAttachments": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     },
    --     "memoryInGBs": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     },
    --     "networkingBandwidthInGbps": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     },
    --     "ocpus": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     },
    --     "processorDescription": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     }
    --   },
    --   "sourceDetails": {
    --     "sourceType": {
    --       "value": "<Error: Too many levels of nesting to fake this schema>"
    --     }
    --   },
    --   "timeMaintenanceRebootDue": "1973-07-06T14:36:00.263Z"
    -- }

    -- Sample code for parsing the JSON response...
    -- Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code

    DECLARE @id nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @id OUT, 'id'
    DECLARE @compartmentId nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @compartmentId OUT, 'compartmentId'
    DECLARE @shape nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @shape OUT, 'shape'
    DECLARE @region nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @region OUT, 'region'
    DECLARE @availabilityDomain nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @availabilityDomain OUT, 'availabilityDomain'
    DECLARE @lifecycleState nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @lifecycleState OUT, 'lifecycleState'
    DECLARE @timeCreated nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @timeCreated OUT, 'timeCreated'
    DECLARE @Value nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @Value OUT, 'agentConfig.areAllPluginsDisabled.value'
    DECLARE @IsManagementDisabledValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @IsManagementDisabledValue OUT, 'agentConfig.isManagementDisabled.value'
    DECLARE @IsMonitoringDisabledValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @IsMonitoringDisabledValue OUT, 'agentConfig.isMonitoringDisabled.value'
    DECLARE @PluginsConfigValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @PluginsConfigValue OUT, 'agentConfig.pluginsConfig.value'
    DECLARE @IsLiveMigrationPreferredValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @IsLiveMigrationPreferredValue OUT, 'availabilityConfig.isLiveMigrationPreferred.value'
    DECLARE @RecoveryActionValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @RecoveryActionValue OUT, 'availabilityConfig.recoveryAction.value'
    DECLARE @capacityReservationId nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @capacityReservationId OUT, 'capacityReservationId'
    DECLARE @dedicatedVmHostId nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @dedicatedVmHostId OUT, 'dedicatedVmHostId'
    DECLARE @displayName nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @displayName OUT, 'displayName'
    DECLARE @faultDomain nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @faultDomain OUT, 'faultDomain'
    DECLARE @imageId nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @imageId OUT, 'imageId'
    DECLARE @AreLegacyImdsEndpointsDisabledValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @AreLegacyImdsEndpointsDisabledValue OUT, 'instanceOptions.areLegacyImdsEndpointsDisabled.value'
    DECLARE @ipxeScript nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @ipxeScript OUT, 'ipxeScript'
    DECLARE @launchMode nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @launchMode OUT, 'launchMode'
    DECLARE @BootVolumeTypeValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @BootVolumeTypeValue OUT, 'launchOptions.bootVolumeType.value'
    DECLARE @FirmwareValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @FirmwareValue OUT, 'launchOptions.firmware.value'
    DECLARE @IsConsistentVolumeNamingEnabledValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @IsConsistentVolumeNamingEnabledValue OUT, 'launchOptions.isConsistentVolumeNamingEnabled.value'
    DECLARE @IsPvEncryptionInTransitEnabledValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @IsPvEncryptionInTransitEnabledValue OUT, 'launchOptions.isPvEncryptionInTransitEnabled.value'
    DECLARE @NetworkTypeValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @NetworkTypeValue OUT, 'launchOptions.networkType.value'
    DECLARE @RemoteDataVolumeTypeValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @RemoteDataVolumeTypeValue OUT, 'launchOptions.remoteDataVolumeType.value'
    DECLARE @TypeValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @TypeValue OUT, 'platformConfig.type.value'
    DECLARE @IsMeasuredBootEnabledValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @IsMeasuredBootEnabledValue OUT, 'platformConfig.isMeasuredBootEnabled.value'
    DECLARE @IsSecureBootEnabledValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @IsSecureBootEnabledValue OUT, 'platformConfig.isSecureBootEnabled.value'
    DECLARE @IsTrustedPlatformModuleEnabledValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @IsTrustedPlatformModuleEnabledValue OUT, 'platformConfig.isTrustedPlatformModuleEnabled.value'
    DECLARE @PreemptionActionValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @PreemptionActionValue OUT, 'preemptibleInstanceConfig.preemptionAction.value'
    DECLARE @BaselineOcpuUtilizationValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @BaselineOcpuUtilizationValue OUT, 'shapeConfig.baselineOcpuUtilization.value'
    DECLARE @GpuDescriptionValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @GpuDescriptionValue OUT, 'shapeConfig.gpuDescription.value'
    DECLARE @GpusValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @GpusValue OUT, 'shapeConfig.gpus.value'
    DECLARE @LocalDiskDescriptionValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @LocalDiskDescriptionValue OUT, 'shapeConfig.localDiskDescription.value'
    DECLARE @LocalDisksValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @LocalDisksValue OUT, 'shapeConfig.localDisks.value'
    DECLARE @LocalDisksTotalSizeInGBsValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @LocalDisksTotalSizeInGBsValue OUT, 'shapeConfig.localDisksTotalSizeInGBs.value'
    DECLARE @MaxVnicAttachmentsValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @MaxVnicAttachmentsValue OUT, 'shapeConfig.maxVnicAttachments.value'
    DECLARE @MemoryInGBsValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @MemoryInGBsValue OUT, 'shapeConfig.memoryInGBs.value'
    DECLARE @NetworkingBandwidthInGbpsValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @NetworkingBandwidthInGbpsValue OUT, 'shapeConfig.networkingBandwidthInGbps.value'
    DECLARE @OcpusValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @OcpusValue OUT, 'shapeConfig.ocpus.value'
    DECLARE @ProcessorDescriptionValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @ProcessorDescriptionValue OUT, 'shapeConfig.processorDescription.value'
    DECLARE @SourceTypeValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @SourceTypeValue OUT, 'sourceDetails.sourceType.value'
    DECLARE @timeMaintenanceRebootDue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @timeMaintenanceRebootDue OUT, 'timeMaintenanceRebootDue'

    EXEC @hr = sp_OADestroy @http
    EXEC @hr = sp_OADestroy @sbResponseBody
    EXEC @hr = sp_OADestroy @jResp


END
GO

Curl Command

curl -X GET
	-H "Date: {{date}}"
	-H "Authorization: {{signature}}"
https://iaas.{{region}}.oraclecloud.com/20160918/instances/:instanceId

Postman Collection Item JSON

{
  "name": "GetInstance",
  "request": {
    "method": "GET",
    "header": [
      {
        "key": "Date",
        "value": "{{date}}",
        "description": "(Required) Current Date",
        "type": "text"
      },
      {
        "key": "Authorization",
        "value": "{{signature}}",
        "description": "(Required) Signature Authentication on Authorization header",
        "type": "text"
      }
    ],
    "url": {
      "raw": "{{baseUrl}}/instances/:instanceId",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "instances",
        ":instanceId"
      ],
      "variable": [
        {
          "key": "instanceId",
          "value": "officia sed",
          "description": "(Required) The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the instance."
        }
      ]
    },
    "description": "Gets information about the specified instance."
  },
  "response": [
    {
      "name": "The instance was retrieved.",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "url": {
          "raw": "{{baseUrl}}/instances/:instanceId",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "instances",
            ":instanceId"
          ],
          "variable": [
            {
              "key": "instanceId"
            }
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "etag",
          "value": "officia sed",
          "description": "For optimistic concurrency control. See `if-match`.\n"
        },
        {
          "key": "opc-request-id",
          "value": "officia sed",
          "description": "Unique Oracle-assigned identifier for the request. If you need to contact\nOracle about a particular request, please provide the request ID.\n"
        },
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n \"id\": \"sit dolor\",\n \"compartmentId\": \"et esse\",\n \"shape\": \"sunt veniam\",\n \"region\": \"laboris\",\n \"availabilityDomain\": \"dolor\",\n \"lifecycleState\": \"TERMINATED\",\n \"timeCreated\": \"2006-02-03T20:50:31.716Z\",\n \"agentConfig\": {\n  \"areAllPluginsDisabled\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"isManagementDisabled\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"isMonitoringDisabled\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"pluginsConfig\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n },\n \"availabilityConfig\": {\n  \"isLiveMigrationPreferred\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"recoveryAction\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n },\n \"capacityReservationId\": \"occaecat sint id\",\n \"dedicatedVmHostId\": \"ipsum dolor incididunt sit ex\",\n \"definedTags\": {},\n \"displayName\": \"consequat aliquip magna ullamco\",\n \"extendedMetadata\": {},\n \"faultDomain\": \"incididunt esse\",\n \"freeformTags\": {},\n \"imageId\": \"dolor nulla consequat ipsum\",\n \"instanceOptions\": {\n  \"areLegacyImdsEndpointsDisabled\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n },\n \"ipxeScript\": \"anim magna\",\n \"launchMode\": \"CUSTOM\",\n \"launchOptions\": {\n  \"bootVolumeType\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"firmware\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"isConsistentVolumeNamingEnabled\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"isPvEncryptionInTransitEnabled\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"networkType\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"remoteDataVolumeType\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n },\n \"metadata\": {},\n \"platformConfig\": {\n  \"type\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"isMeasuredBootEnabled\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"isSecureBootEnabled\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"isTrustedPlatformModuleEnabled\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n },\n \"preemptibleInstanceConfig\": {\n  \"preemptionAction\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n },\n \"shapeConfig\": {\n  \"baselineOcpuUtilization\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"gpuDescription\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"gpus\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"localDiskDescription\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"localDisks\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"localDisksTotalSizeInGBs\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"maxVnicAttachments\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"memoryInGBs\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"networkingBandwidthInGbps\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"ocpus\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"processorDescription\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n },\n \"sourceDetails\": {\n  \"sourceType\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n },\n \"timeMaintenanceRebootDue\": \"1973-07-06T14:36:00.263Z\"\n}"
    },
    {
      "name": "Unauthorized",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "url": {
          "raw": "{{baseUrl}}/instances/:instanceId",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "instances",
            ":instanceId"
          ],
          "variable": [
            {
              "key": "instanceId"
            }
          ]
        }
      },
      "status": "Unauthorized",
      "code": 401,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "opc-request-id",
          "value": "officia sed",
          "description": "Unique Oracle-assigned identifier for the request. If you need to contact\nOracle about a particular request, please provide the request ID.\n"
        },
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n \"code\": \"et exercitation Excepteur\",\n \"message\": \"irure sit\"\n}"
    },
    {
      "name": "Not Found",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "url": {
          "raw": "{{baseUrl}}/instances/:instanceId",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "instances",
            ":instanceId"
          ],
          "variable": [
            {
              "key": "instanceId"
            }
          ]
        }
      },
      "status": "Not Found",
      "code": 404,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "opc-request-id",
          "value": "officia sed",
          "description": "Unique Oracle-assigned identifier for the request. If you need to contact\nOracle about a particular request, please provide the request ID.\n"
        },
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n \"code\": \"et exercitation Excepteur\",\n \"message\": \"irure sit\"\n}"
    },
    {
      "name": "Internal Server Error",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "url": {
          "raw": "{{baseUrl}}/instances/:instanceId",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "instances",
            ":instanceId"
          ],
          "variable": [
            {
              "key": "instanceId"
            }
          ]
        }
      },
      "status": "Internal Server Error",
      "code": 500,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "opc-request-id",
          "value": "officia sed",
          "description": "Unique Oracle-assigned identifier for the request. If you need to contact\nOracle about a particular request, please provide the request ID.\n"
        },
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n \"code\": \"et exercitation Excepteur\",\n \"message\": \"irure sit\"\n}"
    },
    {
      "name": "An error has occurred.",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "url": {
          "raw": "{{baseUrl}}/instances/:instanceId",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "instances",
            ":instanceId"
          ],
          "variable": [
            {
              "key": "instanceId"
            }
          ]
        }
      },
      "status": "Internal Server Error",
      "code": 500,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "opc-request-id",
          "value": "officia sed",
          "description": "Unique Oracle-assigned identifier for the request. If you need to contact\nOracle about a particular request, please provide the request ID.\n"
        },
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n \"code\": \"et exercitation Excepteur\",\n \"message\": \"irure sit\"\n}"
    }
  ]
}