Chilkat Online Tools

unicodeCpp / Core Services API / CreateComputeCapacityReservation

Back to Collection Items

#include <CkHttpW.h>
#include <CkJsonObjectW.h>
#include <CkHttpResponseW.h>
#include <CkStringBuilderW.h>

void ChilkatSample(void)
    {
    // This example assumes the Chilkat API to have been previously unlocked.
    // See Global Unlock Sample for sample code.

    CkHttpW http;
    bool success;

    // Use this online tool to generate code from sample JSON: Generate Code to Create JSON

    // The following JSON is sent in the request body.

    // {
    //   "compartmentId": "{{compartment_ocid}}",
    //   "availabilityDomain": "Excepteur anim mollit pariatur",
    //   "definedTags": {},
    //   "displayName": "proident velit ipsum",
    //   "freeformTags": {},
    //   "instanceReservationConfigs": [
    //     {
    //       "value": "<Error: Too many levels of nesting to fake this schema>"
    //     },
    //     {
    //       "value": "<Error: Too many levels of nesting to fake this schema>"
    //     }
    //   ],
    //   "isDefaultReservation": false
    // }

    CkJsonObjectW json;
    json.UpdateString(L"compartmentId",L"{{compartment_ocid}}");
    json.UpdateString(L"availabilityDomain",L"Excepteur anim mollit pariatur");
    json.UpdateNewObject(L"definedTags");
    json.UpdateString(L"displayName",L"proident velit ipsum");
    json.UpdateNewObject(L"freeformTags");
    json.UpdateString(L"instanceReservationConfigs[0].value",L"<Error: Too many levels of nesting to fake this schema>");
    json.UpdateString(L"instanceReservationConfigs[1].value",L"<Error: Too many levels of nesting to fake this schema>");
    json.UpdateBool(L"isDefaultReservation",false);

    http.SetRequestHeader(L"opc-retry-token",L"aliqua enim i");
    http.SetRequestHeader(L"opc-request-id",L"8wF");
    http.SetRequestHeader(L"Content-Type",L"application/json");
    http.SetRequestHeader(L"x-content-sha256",L"{{content_sha256}}");
    http.SetRequestHeader(L"Authorization",L"{{signature}}");
    http.SetRequestHeader(L"Date",L"{{date}}");

    CkHttpResponseW *resp = http.PostJson3(L"https://iaas.{{region}}.oraclecloud.com/20160918/computeCapacityReservations",L"application/json",json);
    if (http.get_LastMethodSuccess() == false) {
        wprintf(L"%s\n",http.lastErrorText());
        return;
    }

    CkStringBuilderW sbResponseBody;
    resp->GetBodySb(sbResponseBody);

    CkJsonObjectW jResp;
    jResp.LoadSb(sbResponseBody);
    jResp.put_EmitCompact(false);

    wprintf(L"Response Body:\n");
    wprintf(L"%s\n",jResp.emit());

    int respStatusCode = resp->get_StatusCode();
    wprintf(L"Response Status Code = %d\n",respStatusCode);
    if (respStatusCode >= 400) {
        wprintf(L"Response Header:\n");
        wprintf(L"%s\n",resp->header());
        wprintf(L"Failed.\n");
        delete resp;
        return;
    }

    delete resp;

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

    // {
    //   "id": "nisi sit ullamco",
    //   "compartmentId": "quis magna",
    //   "lifecycleState": "ACTIVE",
    //   "timeCreated": "2021-05-10T10:50:59.742Z",
    //   "availabilityDomain": "irure",
    //   "definedTags": {},
    //   "displayName": "consectetur",
    //   "freeformTags": {},
    //   "instanceReservationConfigs": [
    //     {
    //       "value": "<Error: Too many levels of nesting to fake this schema>"
    //     },
    //     {
    //       "value": "<Error: Too many levels of nesting to fake this schema>"
    //     }
    //   ],
    //   "isDefaultReservation": false,
    //   "reservedInstanceCount": 94374881,
    //   "timeUpdated": "1988-08-05T21:19:27.840Z",
    //   "usedInstanceCount": -94546989
    // }

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

    // Chilkat functions returning "const char *" return a pointer to temporary internal memory owned and managed by Chilkat.

    const wchar_t *value = 0;

    const wchar_t *id = jResp.stringOf(L"id");
    const wchar_t *compartmentId = jResp.stringOf(L"compartmentId");
    const wchar_t *lifecycleState = jResp.stringOf(L"lifecycleState");
    const wchar_t *timeCreated = jResp.stringOf(L"timeCreated");
    const wchar_t *availabilityDomain = jResp.stringOf(L"availabilityDomain");
    const wchar_t *displayName = jResp.stringOf(L"displayName");
    bool isDefaultReservation = jResp.BoolOf(L"isDefaultReservation");
    int reservedInstanceCount = jResp.IntOf(L"reservedInstanceCount");
    const wchar_t *timeUpdated = jResp.stringOf(L"timeUpdated");
    int usedInstanceCount = jResp.IntOf(L"usedInstanceCount");
    int i = 0;
    int count_i = jResp.SizeOfArray(L"instanceReservationConfigs");
    while (i < count_i) {
        jResp.put_I(i);
        value = jResp.stringOf(L"instanceReservationConfigs[i].value");
        i = i + 1;
    }
    }

Curl Command

curl -X POST
	-H "opc-request-id: 8wF"
	-H "opc-retry-token: aliqua enim i"
	-H "Content-Type: application/json"
	-H "Date: {{date}}"
	-H "Authorization: {{signature}}"
	-H "x-content-sha256: {{content_sha256}}"
	-d '{
    "compartmentId": "{{compartment_ocid}}",
    "availabilityDomain": "Excepteur anim mollit pariatur",
    "definedTags": {},
    "displayName": "proident velit ipsum",
    "freeformTags": {},
    "instanceReservationConfigs": [
        {
            "value": "<Error: Too many levels of nesting to fake this schema>"
        },
        {
            "value": "<Error: Too many levels of nesting to fake this schema>"
        }
    ],
    "isDefaultReservation": false
}'
https://iaas.{{region}}.oraclecloud.com/20160918/computeCapacityReservations

Postman Collection Item JSON

{
  "name": "CreateComputeCapacityReservation",
  "request": {
    "method": "POST",
    "header": [
      {
        "description": "Unique identifier for the request.\nIf you need to contact Oracle about a particular request, please provide the request ID.\n",
        "key": "opc-request-id",
        "value": "8wF"
      },
      {
        "description": "A token that uniquely identifies a request so it can be retried in case of a timeout or\nserver error without risk of executing that same action again. Retry tokens expire after 24\nhours, but can be invalidated before then due to conflicting operations (for example, if a resource\nhas been deleted and purged from the system, then a retry of the original creation request\nmay be rejected).\n",
        "key": "opc-retry-token",
        "value": "aliqua enim i"
      },
      {
        "key": "Content-Type",
        "value": "application/json"
      },
      {
        "key": "Date",
        "value": "{{date}}",
        "description": "(Required) Current Date",
        "type": "text"
      },
      {
        "key": "Authorization",
        "value": "{{signature}}",
        "description": "(Required) Signature Authentication on Authorization header",
        "type": "text"
      },
      {
        "key": "x-content-sha256",
        "value": "{{content_sha256}}",
        "description": "(Required) Content sha256 for POST, PUT and PATCH operations",
        "type": "text"
      }
    ],
    "body": {
      "mode": "raw",
      "raw": "{\n    \"compartmentId\": \"{{compartment_ocid}}\",\n    \"availabilityDomain\": \"Excepteur anim mollit pariatur\",\n    \"definedTags\": {},\n    \"displayName\": \"proident velit ipsum\",\n    \"freeformTags\": {},\n    \"instanceReservationConfigs\": [\n        {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n    ],\n    \"isDefaultReservation\": false\n}"
    },
    "url": {
      "raw": "{{baseUrl}}/computeCapacityReservations",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "computeCapacityReservations"
      ]
    },
    "description": "Creates a new compute capacity reservation in the specified compartment and availability domain.\nCompute capacity reservations let you reserve instances in a compartment.\nWhen you launch an instance using this reservation, you are assured that you have enough space for your instance,\nand you won't get out of capacity errors.\nFor more information, see [Reserved Capacity](/iaas/Content/Compute/Tasks/reserve-capacity.htm).\n"
  },
  "response": [
    {
      "name": "The compute capacity reservation is being created.",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "description": "Unique identifier for the request.\nIf you need to contact Oracle about a particular request, please provide the request ID.\n",
            "key": "opc-request-id",
            "value": "8wF"
          },
          {
            "description": "A token that uniquely identifies a request so it can be retried in case of a timeout or\nserver error without risk of executing that same action again. Retry tokens expire after 24\nhours, but can be invalidated before then due to conflicting operations (for example, if a resource\nhas been deleted and purged from the system, then a retry of the original creation request\nmay be rejected).\n",
            "key": "opc-retry-token",
            "value": "aliqua enim i"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"compartmentId\": \"incididunt amet\",\n    \"availabilityDomain\": \"aliquip dolor ut irure\",\n    \"definedTags\": {},\n    \"displayName\": \"velit\",\n    \"freeformTags\": {},\n    \"instanceReservationConfigs\": [\n        {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n    ],\n    \"isDefaultReservation\": false\n}"
        },
        "url": {
          "raw": "{{baseUrl}}/computeCapacityReservations",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "computeCapacityReservations"
          ]
        }
      },
      "status": "Created",
      "code": 201,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "etag",
          "value": "officia sed",
          "description": "For optimistic concurrency control. See `if-match`.\n"
        },
        {
          "key": "location",
          "value": "officia sed",
          "description": "Location of the resource.\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": "opc-work-request-id",
          "value": "officia sed",
          "description": "The [OCID](/Content/General/Concepts/identifiers.htm) of the work request. Use [GetWorkRequest](/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest)\nwith this ID to track the status of the request.\n"
        },
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n \"id\": \"nisi sit ullamco\",\n \"compartmentId\": \"quis magna\",\n \"lifecycleState\": \"ACTIVE\",\n \"timeCreated\": \"2021-05-10T10:50:59.742Z\",\n \"availabilityDomain\": \"irure\",\n \"definedTags\": {},\n \"displayName\": \"consectetur\",\n \"freeformTags\": {},\n \"instanceReservationConfigs\": [\n  {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n ],\n \"isDefaultReservation\": false,\n \"reservedInstanceCount\": 94374881,\n \"timeUpdated\": \"1988-08-05T21:19:27.840Z\",\n \"usedInstanceCount\": -94546989\n}"
    },
    {
      "name": "Bad Request",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "description": "Unique identifier for the request.\nIf you need to contact Oracle about a particular request, please provide the request ID.\n",
            "key": "opc-request-id",
            "value": "8wF"
          },
          {
            "description": "A token that uniquely identifies a request so it can be retried in case of a timeout or\nserver error without risk of executing that same action again. Retry tokens expire after 24\nhours, but can be invalidated before then due to conflicting operations (for example, if a resource\nhas been deleted and purged from the system, then a retry of the original creation request\nmay be rejected).\n",
            "key": "opc-retry-token",
            "value": "aliqua enim i"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"compartmentId\": \"incididunt amet\",\n    \"availabilityDomain\": \"aliquip dolor ut irure\",\n    \"definedTags\": {},\n    \"displayName\": \"velit\",\n    \"freeformTags\": {},\n    \"instanceReservationConfigs\": [\n        {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n    ],\n    \"isDefaultReservation\": false\n}"
        },
        "url": {
          "raw": "{{baseUrl}}/computeCapacityReservations",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "computeCapacityReservations"
          ]
        }
      },
      "status": "Bad Request",
      "code": 400,
      "_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": "Unauthorized",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "description": "Unique identifier for the request.\nIf you need to contact Oracle about a particular request, please provide the request ID.\n",
            "key": "opc-request-id",
            "value": "8wF"
          },
          {
            "description": "A token that uniquely identifies a request so it can be retried in case of a timeout or\nserver error without risk of executing that same action again. Retry tokens expire after 24\nhours, but can be invalidated before then due to conflicting operations (for example, if a resource\nhas been deleted and purged from the system, then a retry of the original creation request\nmay be rejected).\n",
            "key": "opc-retry-token",
            "value": "aliqua enim i"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"compartmentId\": \"incididunt amet\",\n    \"availabilityDomain\": \"aliquip dolor ut irure\",\n    \"definedTags\": {},\n    \"displayName\": \"velit\",\n    \"freeformTags\": {},\n    \"instanceReservationConfigs\": [\n        {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n    ],\n    \"isDefaultReservation\": false\n}"
        },
        "url": {
          "raw": "{{baseUrl}}/computeCapacityReservations",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "computeCapacityReservations"
          ]
        }
      },
      "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": "POST",
        "header": [
          {
            "description": "Unique identifier for the request.\nIf you need to contact Oracle about a particular request, please provide the request ID.\n",
            "key": "opc-request-id",
            "value": "8wF"
          },
          {
            "description": "A token that uniquely identifies a request so it can be retried in case of a timeout or\nserver error without risk of executing that same action again. Retry tokens expire after 24\nhours, but can be invalidated before then due to conflicting operations (for example, if a resource\nhas been deleted and purged from the system, then a retry of the original creation request\nmay be rejected).\n",
            "key": "opc-retry-token",
            "value": "aliqua enim i"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"compartmentId\": \"incididunt amet\",\n    \"availabilityDomain\": \"aliquip dolor ut irure\",\n    \"definedTags\": {},\n    \"displayName\": \"velit\",\n    \"freeformTags\": {},\n    \"instanceReservationConfigs\": [\n        {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n    ],\n    \"isDefaultReservation\": false\n}"
        },
        "url": {
          "raw": "{{baseUrl}}/computeCapacityReservations",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "computeCapacityReservations"
          ]
        }
      },
      "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": "Conflict",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "description": "Unique identifier for the request.\nIf you need to contact Oracle about a particular request, please provide the request ID.\n",
            "key": "opc-request-id",
            "value": "8wF"
          },
          {
            "description": "A token that uniquely identifies a request so it can be retried in case of a timeout or\nserver error without risk of executing that same action again. Retry tokens expire after 24\nhours, but can be invalidated before then due to conflicting operations (for example, if a resource\nhas been deleted and purged from the system, then a retry of the original creation request\nmay be rejected).\n",
            "key": "opc-retry-token",
            "value": "aliqua enim i"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"compartmentId\": \"incididunt amet\",\n    \"availabilityDomain\": \"aliquip dolor ut irure\",\n    \"definedTags\": {},\n    \"displayName\": \"velit\",\n    \"freeformTags\": {},\n    \"instanceReservationConfigs\": [\n        {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n    ],\n    \"isDefaultReservation\": false\n}"
        },
        "url": {
          "raw": "{{baseUrl}}/computeCapacityReservations",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "computeCapacityReservations"
          ]
        }
      },
      "status": "Conflict",
      "code": 409,
      "_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": "Too many requests",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "description": "Unique identifier for the request.\nIf you need to contact Oracle about a particular request, please provide the request ID.\n",
            "key": "opc-request-id",
            "value": "8wF"
          },
          {
            "description": "A token that uniquely identifies a request so it can be retried in case of a timeout or\nserver error without risk of executing that same action again. Retry tokens expire after 24\nhours, but can be invalidated before then due to conflicting operations (for example, if a resource\nhas been deleted and purged from the system, then a retry of the original creation request\nmay be rejected).\n",
            "key": "opc-retry-token",
            "value": "aliqua enim i"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"compartmentId\": \"incididunt amet\",\n    \"availabilityDomain\": \"aliquip dolor ut irure\",\n    \"definedTags\": {},\n    \"displayName\": \"velit\",\n    \"freeformTags\": {},\n    \"instanceReservationConfigs\": [\n        {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n    ],\n    \"isDefaultReservation\": false\n}"
        },
        "url": {
          "raw": "{{baseUrl}}/computeCapacityReservations",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "computeCapacityReservations"
          ]
        }
      },
      "status": "Too Many Requests",
      "code": 429,
      "_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": "POST",
        "header": [
          {
            "description": "Unique identifier for the request.\nIf you need to contact Oracle about a particular request, please provide the request ID.\n",
            "key": "opc-request-id",
            "value": "8wF"
          },
          {
            "description": "A token that uniquely identifies a request so it can be retried in case of a timeout or\nserver error without risk of executing that same action again. Retry tokens expire after 24\nhours, but can be invalidated before then due to conflicting operations (for example, if a resource\nhas been deleted and purged from the system, then a retry of the original creation request\nmay be rejected).\n",
            "key": "opc-retry-token",
            "value": "aliqua enim i"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"compartmentId\": \"incididunt amet\",\n    \"availabilityDomain\": \"aliquip dolor ut irure\",\n    \"definedTags\": {},\n    \"displayName\": \"velit\",\n    \"freeformTags\": {},\n    \"instanceReservationConfigs\": [\n        {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n    ],\n    \"isDefaultReservation\": false\n}"
        },
        "url": {
          "raw": "{{baseUrl}}/computeCapacityReservations",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "computeCapacityReservations"
          ]
        }
      },
      "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": "POST",
        "header": [
          {
            "description": "Unique identifier for the request.\nIf you need to contact Oracle about a particular request, please provide the request ID.\n",
            "key": "opc-request-id",
            "value": "8wF"
          },
          {
            "description": "A token that uniquely identifies a request so it can be retried in case of a timeout or\nserver error without risk of executing that same action again. Retry tokens expire after 24\nhours, but can be invalidated before then due to conflicting operations (for example, if a resource\nhas been deleted and purged from the system, then a retry of the original creation request\nmay be rejected).\n",
            "key": "opc-retry-token",
            "value": "aliqua enim i"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"compartmentId\": \"incididunt amet\",\n    \"availabilityDomain\": \"aliquip dolor ut irure\",\n    \"definedTags\": {},\n    \"displayName\": \"velit\",\n    \"freeformTags\": {},\n    \"instanceReservationConfigs\": [\n        {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n    ],\n    \"isDefaultReservation\": false\n}"
        },
        "url": {
          "raw": "{{baseUrl}}/computeCapacityReservations",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "computeCapacityReservations"
          ]
        }
      },
      "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}"
    }
  ]
}