Chilkat Online Tools

ERROR!

------------------- GenerateCode ----------------------
ImpliedContentType: 
---- begin chilkat script ----
// This example assumes the Chilkat API to have been previously unlocked.
// See {{-global_unlock:::Global Unlock Sample-}} for sample code.

new Http http;
ckbool success;

new JsonObject queryParams;
ignore = queryParams.UpdateString("compartmentId","{{compartment_ocid}}");
ignore = queryParams.UpdateString("page","");
ignore = queryParams.UpdateInt("limit",576);
ignore = queryParams.UpdateString("displayName","laboris veniam quis");
ignore = queryParams.UpdateString("lifecycleState","ACTIVE");
ignore = queryParams.UpdateString("sortBy","displayName");
ignore = queryParams.UpdateString("sortOrder","ASC");
ignore = queryParams.UpdateString("compartmentIdInSubtree","true");

call http.SetRequestHeader("opc-request-id","pariatur nostrud eiusmod");
call http.SetRequestHeader("Authorization","{{signature}}");
call http.SetRequestHeader("Date","{{date}}");


HttpResponse resp = http.QuickRequestParams("GET","https://telemetry.{{region}}.oraclecloud.com/20180401/alarms",queryParams);
if (http.LastMethodSuccess == ckfalse) {
    println http.LastErrorText;
    return;
}

new StringBuilder sbResponseBody;
ignore = resp.GetBodySb(sbResponseBody);

new JsonArray jarrResp;
call jarrResp.LoadSb(sbResponseBody);
jarrResp.EmitCompact = ckfalse;

println "Response Body:";
println jarrResp.Emit();

int respStatusCode = resp.StatusCode;
println "Response Status Code = ",respStatusCode;
if (respStatusCode >= 400) {
    println "Response Header:";
    println resp.Header;
    println "Failed.";
    delete resp;
    return;
}
delete resp;

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

// [
//   {
//     "compartmentId": "ut in mollit labore",
//     "destinations": [
//       "nostrud fugiat ut commodo"
//     ],
//     "displayName": "ex",
//     "id": "Duis magna officia aute",
//     "isEnabled": false,
//     "lifecycleState": "anim laboris ad aliquip",
//     "metricCompartmentId": "esse ad non",
//     "namespace": "dolor velit laboris incididunt veniam",
//     "query": "non ut",
//     "severity": "ERROR",
//     "definedTags": {},
//     "freeformTags": {},
//     "suppression": {
//       "timeSuppressFrom": "1982-09-15T09:12:21.166Z",
//       "timeSuppressUntil": "1992-01-31T22:49:09.448Z",
//       "description": "do cillum officia"
//     }
//   },
//   {
//     "compartmentId": "i",
//     "destinations": [
//       "dolor laborum aliquip culpa Excepteur"
//     ],
//     "displayName": "aliquip",
//     "id": "ea dolor qui",
//     "isEnabled": true,
//     "lifecycleState": "ullamco officia deserunt",
//     "metricCompartmentId": "magna laboris qui id",
//     "namespace": "est exercita",
//     "query": "voluptate",
//     "severity": "CRITICAL",
//     "definedTags": {},
//     "freeformTags": {},
//     "suppression": {
//       "timeSuppressFrom": "1973-12-07T07:53:51.991Z",
//       "timeSuppressUntil": "2008-10-19T15:07:46.702Z",
//       "description": "deserunt paria"
//     }
//   }
// ]

// Sample code for parsing the JSON response...
// Use this online tool to generate parsing code from sample JSON: {{.https://tools.chilkat.io/jsonParse|||Generate JSON Parsing Code.}}

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

JsonObject json;
string compartmentId;
string displayName;
string id;
ckbool isEnabled;
string lifecycleState;
string metricCompartmentId;
string namespace;
string query;
string severity;
string TimeSuppressFrom;
string TimeSuppressUntil;
string Description;
int j;
int count_j;
string strVal;

int i = 0;
int count_i = jarrResp.Size;
while i < count_i {
    json = jarrResp.ObjectAt(i);
    compartmentId = json.StringOf("compartmentId");
    displayName = json.StringOf("displayName");
    id = json.StringOf("id");
    isEnabled = json.BoolOf("isEnabled");
    lifecycleState = json.StringOf("lifecycleState");
    metricCompartmentId = json.StringOf("metricCompartmentId");
    namespace = json.StringOf("namespace");
    query = json.StringOf("query");
    severity = json.StringOf("severity");
    TimeSuppressFrom = json.StringOf("suppression.timeSuppressFrom");
    TimeSuppressUntil = json.StringOf("suppression.timeSuppressUntil");
    Description = json.StringOf("suppression.description");
    j = 0;
    count_j = json.SizeOfArray("destinations");
    while j < count_j {
        json.J = j;
        strVal = json.StringOf("destinations[j]");
        j = j + 1;
    }
    delete json;
    i = i + 1;
}



---- end chilkat script ----

delphiDll / Monitoring API / List Alarms

Back to Collection Items

var
http: HCkHttp;
success: Boolean;
queryParams: HCkJsonObject;
resp: HCkHttpResponse;
sbResponseBody: HCkStringBuilder;
jarrResp: HCkJsonArray;
respStatusCode: Integer;
json: HCkJsonObject;
compartmentId: PWideChar;
displayName: PWideChar;
id: PWideChar;
isEnabled: Boolean;
lifecycleState: PWideChar;
metricCompartmentId: PWideChar;
namespace: PWideChar;
query: PWideChar;
severity: PWideChar;
TimeSuppressFrom: PWideChar;
TimeSuppressUntil: PWideChar;
Description: PWideChar;
j: Integer;
count_j: Integer;
strVal: PWideChar;
i: Integer;
count_i: Integer;

begin
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.

http := CkHttp_Create();

queryParams := CkJsonObject_Create();
CkJsonObject_UpdateString(queryParams,'compartmentId','{{compartment_ocid}}');
CkJsonObject_UpdateString(queryParams,'page','');
CkJsonObject_UpdateInt(queryParams,'limit',576);
CkJsonObject_UpdateString(queryParams,'displayName','laboris veniam quis');
CkJsonObject_UpdateString(queryParams,'lifecycleState','ACTIVE');
CkJsonObject_UpdateString(queryParams,'sortBy','displayName');
CkJsonObject_UpdateString(queryParams,'sortOrder','ASC');
CkJsonObject_UpdateString(queryParams,'compartmentIdInSubtree','true');

CkHttp_SetRequestHeader(http,'opc-request-id','pariatur nostrud eiusmod');
CkHttp_SetRequestHeader(http,'Authorization','{{signature}}');
CkHttp_SetRequestHeader(http,'Date','{{date}}');

resp := CkHttp_QuickRequestParams(http,'GET','https://telemetry.{{region}}.oraclecloud.com/20180401/alarms',queryParams);
if (CkHttp_getLastMethodSuccess(http) = False) then
  begin
    Memo1.Lines.Add(CkHttp__lastErrorText(http));
    Exit;
  end;

sbResponseBody := CkStringBuilder_Create();
CkHttpResponse_GetBodySb(resp,sbResponseBody);

jarrResp := CkJsonArray_Create();
CkJsonArray_LoadSb(jarrResp,sbResponseBody);
CkJsonArray_putEmitCompact(jarrResp,False);

Memo1.Lines.Add('Response Body:');
Memo1.Lines.Add(CkJsonArray__emit(jarrResp));

respStatusCode := CkHttpResponse_getStatusCode(resp);
Memo1.Lines.Add('Response Status Code = ' + IntToStr(respStatusCode));
if (respStatusCode >= 400) then
  begin
    Memo1.Lines.Add('Response Header:');
    Memo1.Lines.Add(CkHttpResponse__header(resp));
    Memo1.Lines.Add('Failed.');
    CkHttpResponse_Dispose(resp);
    Exit;
  end;
CkHttpResponse_Dispose(resp);

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

// [
//   {
//     "compartmentId": "ut in mollit labore",
//     "destinations": [
//       "nostrud fugiat ut commodo"
//     ],
//     "displayName": "ex",
//     "id": "Duis magna officia aute",
//     "isEnabled": false,
//     "lifecycleState": "anim laboris ad aliquip",
//     "metricCompartmentId": "esse ad non",
//     "namespace": "dolor velit laboris incididunt veniam",
//     "query": "non ut",
//     "severity": "ERROR",
//     "definedTags": {},
//     "freeformTags": {},
//     "suppression": {
//       "timeSuppressFrom": "1982-09-15T09:12:21.166Z",
//       "timeSuppressUntil": "1992-01-31T22:49:09.448Z",
//       "description": "do cillum officia"
//     }
//   },
//   {
//     "compartmentId": "i",
//     "destinations": [
//       "dolor laborum aliquip culpa Excepteur"
//     ],
//     "displayName": "aliquip",
//     "id": "ea dolor qui",
//     "isEnabled": true,
//     "lifecycleState": "ullamco officia deserunt",
//     "metricCompartmentId": "magna laboris qui id",
//     "namespace": "est exercita",
//     "query": "voluptate",
//     "severity": "CRITICAL",
//     "definedTags": {},
//     "freeformTags": {},
//     "suppression": {
//       "timeSuppressFrom": "1973-12-07T07:53:51.991Z",
//       "timeSuppressUntil": "2008-10-19T15:07:46.702Z",
//       "description": "deserunt paria"
//     }
//   }
// ]

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

i := 0;
count_i := CkJsonArray_getSize(jarrResp);
while i < count_i do
  begin
    json := CkJsonArray_ObjectAt(jarrResp,i);
    compartmentId := CkJsonObject__stringOf(json,'compartmentId');
    displayName := CkJsonObject__stringOf(json,'displayName');
    id := CkJsonObject__stringOf(json,'id');
    isEnabled := CkJsonObject_BoolOf(json,'isEnabled');
    lifecycleState := CkJsonObject__stringOf(json,'lifecycleState');
    metricCompartmentId := CkJsonObject__stringOf(json,'metricCompartmentId');
    namespace := CkJsonObject__stringOf(json,'namespace');
    query := CkJsonObject__stringOf(json,'query');
    severity := CkJsonObject__stringOf(json,'severity');
    TimeSuppressFrom := CkJsonObject__stringOf(json,'suppression.timeSuppressFrom');
    TimeSuppressUntil := CkJsonObject__stringOf(json,'suppression.timeSuppressUntil');
    Description := CkJsonObject__stringOf(json,'suppression.description');
    j := 0;
    count_j := CkJsonObject_SizeOfArray(json,'destinations');
    while j < count_j do
      begin
        CkJsonObject_putJ(json,j);
        strVal := CkJsonObject__stringOf(json,'destinations[j]');
        j := j + 1;
      end;

    CkJsonObject_Dispose(json);
    i := i + 1;
  end;

CkHttp_Dispose(http);
CkJsonObject_Dispose(queryParams);
CkStringBuilder_Dispose(sbResponseBody);
CkJsonArray_Dispose(jarrResp);

Curl Command

curl -G -d "compartmentId=%7B%7Bcompartment_ocid%7D%7D"
	-d "page="
	-d "limit=576"
	-d "displayName=laboris%20veniam%20quis"
	-d "lifecycleState=ACTIVE"
	-d "sortBy=displayName"
	-d "sortOrder=ASC"
	-d "compartmentIdInSubtree=true"
	-H "opc-request-id: pariatur nostrud eiusmod"
	-H "Date: {{date}}"
	-H "Authorization: {{signature}}"
https://telemetry.{{region}}.oraclecloud.com/20180401/alarms

Postman Collection Item JSON

{
  "name": "List Alarms",
  "request": {
    "method": "GET",
    "header": [
      {
        "description": "Customer part of the request identifier token. If you need to contact Oracle about a particular\nrequest, please provide the complete request ID.\n",
        "key": "opc-request-id",
        "value": "pariatur nostrud eiusmod"
      },
      {
        "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}}/alarms?compartmentId={{compartment_ocid}}&page=&limit=576&displayName=laboris veniam quis&lifecycleState=ACTIVE&sortBy=displayName&sortOrder=ASC&compartmentIdInSubtree=true",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "alarms"
      ],
      "query": [
        {
          "key": "compartmentId",
          "value": "{{compartment_ocid}}",
          "description": "(Required) The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the\nresources monitored by the metric that you are searching for. Use tenancyId to search in\nthe root compartment.\n\nExample: `ocid1.compartment.oc1..exampleuniqueID`\n"
        },
        {
          "key": "page",
          "value": "",
          "description": "For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call.\nFor important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).\n"
        },
        {
          "key": "limit",
          "value": "576",
          "description": "For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call.\nFor important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).\n\nDefault: 1000\n\nExample: 500\n"
        },
        {
          "key": "displayName",
          "value": "laboris veniam quis",
          "description": "A filter to return only resources that match the given display name exactly.\nUse this filter to list an alarm by name. Alternatively, when you know the alarm OCID, use the GetAlarm operation.\n"
        },
        {
          "key": "lifecycleState",
          "value": "ACTIVE",
          "description": "A filter to return only alarms that match the given lifecycle state exactly. When not specified, only alarms in the ACTIVE lifecycle state are listed.\n"
        },
        {
          "key": "sortBy",
          "value": "displayName",
          "description": "The field to use when sorting returned alarm definitions. Only one sorting level is provided.\n\nExample: `severity`\n"
        },
        {
          "key": "sortOrder",
          "value": "ASC",
          "description": "The sort order to use when sorting returned alarm definitions. Ascending (ASC) or descending (DESC).\n\nExample: `ASC`\n"
        },
        {
          "key": "compartmentIdInSubtree",
          "value": "true",
          "description": "When true, returns resources from all compartments and subcompartments. The parameter can\nonly be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment).\nA true value requires the user to have tenancy-level permissions. If this requirement is not met,\nthen the call is rejected. When false, returns resources from only the compartment specified in\ncompartmentId. Default is false.\n"
        }
      ]
    },
    "description": "Lists the alarms for the specified compartment.\nFor important limits information, see [Limits on Monitoring](https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#Limits).\n\nThis call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations.\nMonitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests,\nor transactions, per second (TPS) for a given tenancy.\n"
  },
  "response": [
    {
      "name": "Successfully retrieved alarms for listing.",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "description": "Customer part of the request identifier token. If you need to contact Oracle about a particular\nrequest, please provide the complete request ID.\n",
            "key": "opc-request-id",
            "value": "pariatur nostrud eiusmod"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/alarms?compartmentId=mollit in Duis enim&page=do ipsum&limit=576&displayName=laboris veniam quis&lifecycleState=tempor qui&sortBy=displayName&sortOrder=ASC&compartmentIdInSubtree=true",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "alarms"
          ],
          "query": [
            {
              "key": "compartmentId",
              "value": "mollit in Duis enim"
            },
            {
              "key": "page",
              "value": "do ipsum"
            },
            {
              "key": "limit",
              "value": "576"
            },
            {
              "key": "displayName",
              "value": "laboris veniam quis"
            },
            {
              "key": "lifecycleState",
              "value": "tempor qui"
            },
            {
              "key": "sortBy",
              "value": "displayName"
            },
            {
              "key": "sortOrder",
              "value": "ASC"
            },
            {
              "key": "compartmentIdInSubtree",
              "value": "true"
            }
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "opc-next-page",
          "value": "pariatur nostrud eiusmod",
          "description": "For list pagination. When this header appears in the response, additional pages of results remain.\nFor important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).\n"
        },
        {
          "key": "opc-request-id",
          "value": "pariatur nostrud eiusmod",
          "description": "Unique Oracle-assigned identifier for the request. If you need to contact Oracle about\na particular request, please provide the request ID.\n"
        },
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "[\n {\n  \"compartmentId\": \"ut in mollit labore\",\n  \"destinations\": [\n   \"nostrud fugiat ut commodo\"\n  ],\n  \"displayName\": \"ex\",\n  \"id\": \"Duis magna officia aute\",\n  \"isEnabled\": false,\n  \"lifecycleState\": \"anim laboris ad aliquip\",\n  \"metricCompartmentId\": \"esse ad non\",\n  \"namespace\": \"dolor velit laboris incididunt veniam\",\n  \"query\": \"non ut\",\n  \"severity\": \"ERROR\",\n  \"definedTags\": {},\n  \"freeformTags\": {},\n  \"suppression\": {\n   \"timeSuppressFrom\": \"1982-09-15T09:12:21.166Z\",\n   \"timeSuppressUntil\": \"1992-01-31T22:49:09.448Z\",\n   \"description\": \"do cillum officia\"\n  }\n },\n {\n  \"compartmentId\": \"i\",\n  \"destinations\": [\n   \"dolor laborum aliquip culpa Excepteur\"\n  ],\n  \"displayName\": \"aliquip\",\n  \"id\": \"ea dolor qui\",\n  \"isEnabled\": true,\n  \"lifecycleState\": \"ullamco officia deserunt\",\n  \"metricCompartmentId\": \"magna laboris qui id\",\n  \"namespace\": \"est exercita\",\n  \"query\": \"voluptate\",\n  \"severity\": \"CRITICAL\",\n  \"definedTags\": {},\n  \"freeformTags\": {},\n  \"suppression\": {\n   \"timeSuppressFrom\": \"1973-12-07T07:53:51.991Z\",\n   \"timeSuppressUntil\": \"2008-10-19T15:07:46.702Z\",\n   \"description\": \"deserunt paria\"\n  }\n }\n]"
    },
    {
      "name": "Bad Request",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "description": "Customer part of the request identifier token. If you need to contact Oracle about a particular\nrequest, please provide the complete request ID.\n",
            "key": "opc-request-id",
            "value": "pariatur nostrud eiusmod"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/alarms?compartmentId=mollit in Duis enim&page=do ipsum&limit=576&displayName=laboris veniam quis&lifecycleState=tempor qui&sortBy=displayName&sortOrder=ASC&compartmentIdInSubtree=true",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "alarms"
          ],
          "query": [
            {
              "key": "compartmentId",
              "value": "mollit in Duis enim"
            },
            {
              "key": "page",
              "value": "do ipsum"
            },
            {
              "key": "limit",
              "value": "576"
            },
            {
              "key": "displayName",
              "value": "laboris veniam quis"
            },
            {
              "key": "lifecycleState",
              "value": "tempor qui"
            },
            {
              "key": "sortBy",
              "value": "displayName"
            },
            {
              "key": "sortOrder",
              "value": "ASC"
            },
            {
              "key": "compartmentIdInSubtree",
              "value": "true"
            }
          ]
        }
      },
      "status": "Bad Request",
      "code": 400,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "opc-request-id",
          "value": "pariatur nostrud eiusmod",
          "description": "Unique Oracle-assigned identifier for the request. If you need to contact Oracle about\na particular request, please provide the request ID.\n"
        },
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n \"code\": \"qui anim ut\",\n \"message\": \"esse proident\"\n}"
    },
    {
      "name": "Unauthorized",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "description": "Customer part of the request identifier token. If you need to contact Oracle about a particular\nrequest, please provide the complete request ID.\n",
            "key": "opc-request-id",
            "value": "pariatur nostrud eiusmod"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/alarms?compartmentId=mollit in Duis enim&page=do ipsum&limit=576&displayName=laboris veniam quis&lifecycleState=tempor qui&sortBy=displayName&sortOrder=ASC&compartmentIdInSubtree=true",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "alarms"
          ],
          "query": [
            {
              "key": "compartmentId",
              "value": "mollit in Duis enim"
            },
            {
              "key": "page",
              "value": "do ipsum"
            },
            {
              "key": "limit",
              "value": "576"
            },
            {
              "key": "displayName",
              "value": "laboris veniam quis"
            },
            {
              "key": "lifecycleState",
              "value": "tempor qui"
            },
            {
              "key": "sortBy",
              "value": "displayName"
            },
            {
              "key": "sortOrder",
              "value": "ASC"
            },
            {
              "key": "compartmentIdInSubtree",
              "value": "true"
            }
          ]
        }
      },
      "status": "Unauthorized",
      "code": 401,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "opc-request-id",
          "value": "pariatur nostrud eiusmod",
          "description": "Unique Oracle-assigned identifier for the request. If you need to contact Oracle about\na particular request, please provide the request ID.\n"
        },
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n \"code\": \"qui anim ut\",\n \"message\": \"esse proident\"\n}"
    },
    {
      "name": "Not Authorized Or Not Found",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "description": "Customer part of the request identifier token. If you need to contact Oracle about a particular\nrequest, please provide the complete request ID.\n",
            "key": "opc-request-id",
            "value": "pariatur nostrud eiusmod"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/alarms?compartmentId=mollit in Duis enim&page=do ipsum&limit=576&displayName=laboris veniam quis&lifecycleState=tempor qui&sortBy=displayName&sortOrder=ASC&compartmentIdInSubtree=true",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "alarms"
          ],
          "query": [
            {
              "key": "compartmentId",
              "value": "mollit in Duis enim"
            },
            {
              "key": "page",
              "value": "do ipsum"
            },
            {
              "key": "limit",
              "value": "576"
            },
            {
              "key": "displayName",
              "value": "laboris veniam quis"
            },
            {
              "key": "lifecycleState",
              "value": "tempor qui"
            },
            {
              "key": "sortBy",
              "value": "displayName"
            },
            {
              "key": "sortOrder",
              "value": "ASC"
            },
            {
              "key": "compartmentIdInSubtree",
              "value": "true"
            }
          ]
        }
      },
      "status": "Not Found",
      "code": 404,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "opc-request-id",
          "value": "pariatur nostrud eiusmod",
          "description": "Unique Oracle-assigned identifier for the request. If you need to contact Oracle about\na particular request, please provide the request ID.\n"
        },
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n \"code\": \"qui anim ut\",\n \"message\": \"esse proident\"\n}"
    },
    {
      "name": "Client is getting throttled, please retry with backoff.",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "description": "Customer part of the request identifier token. If you need to contact Oracle about a particular\nrequest, please provide the complete request ID.\n",
            "key": "opc-request-id",
            "value": "pariatur nostrud eiusmod"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/alarms?compartmentId=mollit in Duis enim&page=do ipsum&limit=576&displayName=laboris veniam quis&lifecycleState=tempor qui&sortBy=displayName&sortOrder=ASC&compartmentIdInSubtree=true",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "alarms"
          ],
          "query": [
            {
              "key": "compartmentId",
              "value": "mollit in Duis enim"
            },
            {
              "key": "page",
              "value": "do ipsum"
            },
            {
              "key": "limit",
              "value": "576"
            },
            {
              "key": "displayName",
              "value": "laboris veniam quis"
            },
            {
              "key": "lifecycleState",
              "value": "tempor qui"
            },
            {
              "key": "sortBy",
              "value": "displayName"
            },
            {
              "key": "sortOrder",
              "value": "ASC"
            },
            {
              "key": "compartmentIdInSubtree",
              "value": "true"
            }
          ]
        }
      },
      "status": "Too Many Requests",
      "code": 429,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "opc-request-id",
          "value": "pariatur nostrud eiusmod",
          "description": "Unique Oracle-assigned identifier for the request. If you need to contact Oracle about\na particular request, please provide the request ID.\n"
        },
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n \"code\": \"qui anim ut\",\n \"message\": \"esse proident\"\n}"
    },
    {
      "name": "Internal Server Error",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "description": "Customer part of the request identifier token. If you need to contact Oracle about a particular\nrequest, please provide the complete request ID.\n",
            "key": "opc-request-id",
            "value": "pariatur nostrud eiusmod"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/alarms?compartmentId=mollit in Duis enim&page=do ipsum&limit=576&displayName=laboris veniam quis&lifecycleState=tempor qui&sortBy=displayName&sortOrder=ASC&compartmentIdInSubtree=true",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "alarms"
          ],
          "query": [
            {
              "key": "compartmentId",
              "value": "mollit in Duis enim"
            },
            {
              "key": "page",
              "value": "do ipsum"
            },
            {
              "key": "limit",
              "value": "576"
            },
            {
              "key": "displayName",
              "value": "laboris veniam quis"
            },
            {
              "key": "lifecycleState",
              "value": "tempor qui"
            },
            {
              "key": "sortBy",
              "value": "displayName"
            },
            {
              "key": "sortOrder",
              "value": "ASC"
            },
            {
              "key": "compartmentIdInSubtree",
              "value": "true"
            }
          ]
        }
      },
      "status": "Internal Server Error",
      "code": 500,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "opc-request-id",
          "value": "pariatur nostrud eiusmod",
          "description": "Unique Oracle-assigned identifier for the request. If you need to contact Oracle about\na particular request, please provide the request ID.\n"
        },
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n \"code\": \"qui anim ut\",\n \"message\": \"esse proident\"\n}"
    },
    {
      "name": "An error has occurred.",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "description": "Customer part of the request identifier token. If you need to contact Oracle about a particular\nrequest, please provide the complete request ID.\n",
            "key": "opc-request-id",
            "value": "pariatur nostrud eiusmod"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/alarms?compartmentId=mollit in Duis enim&page=do ipsum&limit=576&displayName=laboris veniam quis&lifecycleState=tempor qui&sortBy=displayName&sortOrder=ASC&compartmentIdInSubtree=true",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "alarms"
          ],
          "query": [
            {
              "key": "compartmentId",
              "value": "mollit in Duis enim"
            },
            {
              "key": "page",
              "value": "do ipsum"
            },
            {
              "key": "limit",
              "value": "576"
            },
            {
              "key": "displayName",
              "value": "laboris veniam quis"
            },
            {
              "key": "lifecycleState",
              "value": "tempor qui"
            },
            {
              "key": "sortBy",
              "value": "displayName"
            },
            {
              "key": "sortOrder",
              "value": "ASC"
            },
            {
              "key": "compartmentIdInSubtree",
              "value": "true"
            }
          ]
        }
      },
      "status": "Internal Server Error",
      "code": 500,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "opc-request-id",
          "value": "pariatur nostrud eiusmod",
          "description": "Unique Oracle-assigned identifier for the request. If you need to contact Oracle about\na particular request, please provide the request ID.\n"
        },
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n \"code\": \"qui anim ut\",\n \"message\": \"esse proident\"\n}"
    }
  ]
}