---
title: Search Request
slug: kron-pam-api-collection-3-9-0/search-request
docTags: 
createdAt: 2026-10-21T06:10:28.166Z
---

{
  "id": "NBBmeBZQL1k7QHdPs04V_",
  "type": "api-oas-v2",
  "data": {
    "method": "POST",
    "url": "{{url}}/aioc-rest-web/rest/rap/searchRequest",
    "name": "",
    "description": "<h3>Request Overview</h3>\n<ul>\n<li>\n<p><strong>Body Examples:</strong></p>\n<ul>\n<li>\n<p>an empty request</p>\n<ul>\n<li>{}</li>\n</ul>\n</li>\n<li>\n<p>With a specific database ID</p>\n<ul>\n<li>{\"dbId\": \"96f4f5fd-a882-46af-9656-5c8b72b249cb\"}</li>\n</ul>\n</li>\n</ul>\n</li>\n<li>\n<p><strong>Response:</strong></p>\n<ul>\n<li>\n<p>A list of request objects is returned. Each object includes:</p>\n<ul>\n<li>\n<p><strong>dbId</strong> - Unique request identifier.</p>\n</li>\n<li>\n<p><strong>userInfo</strong> - An array with user details (e.g., <code>userInfoId</code>, <code>userInfoEid</code>, and <code>userType</code>).</p>\n</li>\n<li>\n<p><strong>deviceInfo</strong> - An array with device details (e.g., <code>deviceInfoId</code>, <code>deviceType</code>, and <code>deviceInfoEid</code>).</p>\n</li>\n<li>\n<p><strong>createdBy</strong> - Information about the user who created the request.</p>\n</li>\n<li>\n<p><strong>startTime, endTime</strong> - Time details of the request.</p>\n</li>\n<li>\n<p><strong>isSMSEnabled, alreadyAssignedCheck</strong> - Flags related to request status.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>",
    "contentType": "application/json",
    "request": {
      "headerParameters": [
        {
          "name": "X-XSRF-TOKEN",
          "description": "",
          "default": "{{csrftoken}}",
          "value": "{{csrftoken}}",
          "type": "string"
        }
      ],
      "queryParameters": [],
      "pathParameters": [
        {
          "name": "url",
          "description": "",
          "default": "url",
          "value": "url",
          "type": "string"
        }
      ],
      "bodyDataParameters": [
        {
          "name": "body",
          "description": "",
          "default": "{\r\n    \"dbId\": \"96f4f5fd-a882-46af-9656-5c8b72b249cb\"\r\n}",
          "value": "{\r\n    \"dbId\": \"96f4f5fd-a882-46af-9656-5c8b72b249cb\"\r\n}",
          "type": "object"
        }
      ],
      "formDataParameters": [],
      "oAuthParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Search Request",
        "jsonExample": "{\n    \"dbId\": \"96f4f5fd-a882-46af-9656-5c8b72b249cb\",\n    \"timeByDay\": null,\n    \"userInfo\": [\n        {\n            \"id\": \"17edf2f2-2357-4a27-85cd-6e4fc17e75dd\",\n            \"requestId\": \"96f4f5fd-a882-46af-9656-5c8b72b249cb\",\n            \"userInfoId\": \"f8ea68b3-fe96-4965-a295-b9e5ec0b3222\",\n            \"userInfoEid\": \"user-all-001\",\n            \"userType\": \"USER\"\n        }\n    ],\n    \"deviceInfo\": [\n        {\n            \"id\": \"4fd2cd67-8d56-448b-93d1-bc2234bc53ce\",\n            \"requestId\": \"96f4f5fd-a882-46af-9656-5c8b72b249cb\",\n            \"deviceInfoId\": \"54826eea-f5c1-446f-94ac-fbb9d2685e06\",\n            \"deviceInfoEid\": \"10.20.42.129-Linux1 - 10.20.42.129\",\n            \"deviceType\": \"DEVICE\"\n        },\n        {\n            \"id\": \"39282fb3-b11d-43ef-be30-ae987f2296c0\",\n            \"requestId\": \"96f4f5fd-a882-46af-9656-5c8b72b249cb\",\n            \"deviceInfoId\": \"dbcd3354-5fde-4de9-8305-f3ebde5cda29\",\n            \"deviceInfoEid\": \"10.20.42.55-LDAP - 10.20.42.55\",\n            \"deviceType\": \"DEVICE\"\n        }\n    ],\n    \"createdBy\": {\n        \"id\": \"25e53f47-ce66-4df2-9abc-6961dc668264\",\n        \"eid\": \"admin\"\n    },\n    \"startTime\": 1739169480000,\n    \"endTime\": 1740463200000,\n    \"isSMSEnabled\": false,\n    \"alreadyAssignedCheck\": false\n}"
      }
    ],
    "examples": {
      "languages": [
        {
          "id": "rTax9X6geYn3MPCQHARDF",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request POST \\\n     --url {{url}}/aioc-rest-web/rest/rap/searchRequest \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json' \\\n     --header 'x-xsrf-token: {{csrftoken}}' \\\n     --data '\"{\\r\\n    \\\"dbId\\\": \\\"96f4f5fd-a882-46af-9656-5c8b72b249cb\\\"\\r\\n}\"'"
        },
        {
          "id": "KshVvDm_Js0dzTx8fGtn4",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\nmyHeaders.append(\"x-xsrf-token\", \"{{csrftoken}}\");\n\nvar raw = JSON.stringify(\"{\\r\\n    \\\"dbId\\\": \\\"96f4f5fd-a882-46af-9656-5c8b72b249cb\\\"\\r\\n}\");\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"{{url}}/aioc-rest-web/rest/rap/searchRequest\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "JbsmtcP1pbHSUo6O6AUkq",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"{{url}}/aioc-rest-web/rest/rap/searchRequest\")\n\nhttp = Net::HTTP.new(url.host, url.port);\nrequest = Net::HTTP::Post.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\nrequest[\"x-xsrf-token\"] = \"{{csrftoken}}\"\nrequest.body = JSON.dump(\"{\\r\\n    \\\"dbId\\\": \\\"96f4f5fd-a882-46af-9656-5c8b72b249cb\\\"\\r\\n}\")\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "PDJEaPV0L41_JiDgak28D",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"{{url}}/aioc-rest-web/rest/rap/searchRequest\"\n\npayload = json.dumps(\"{\\r\\n    \\\"dbId\\\": \\\"96f4f5fd-a882-46af-9656-5c8b72b249cb\\\"\\r\\n}\")\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json',\n   'x-xsrf-token': '{{csrftoken}}'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "rTax9X6geYn3MPCQHARDF"
    },
    "results": {
      "languages": [
        {
          "id": "-2dkgZs44KwX3g-2F656u",
          "language": "200",
          "code": "{\n    \"dbId\": \"96f4f5fd-a882-46af-9656-5c8b72b249cb\",\n    \"timeByDay\": null,\n    \"userInfo\": [\n        {\n            \"id\": \"17edf2f2-2357-4a27-85cd-6e4fc17e75dd\",\n            \"requestId\": \"96f4f5fd-a882-46af-9656-5c8b72b249cb\",\n            \"userInfoId\": \"f8ea68b3-fe96-4965-a295-b9e5ec0b3222\",\n            \"userInfoEid\": \"user-all-001\",\n            \"userType\": \"USER\"\n        }\n    ],\n    \"deviceInfo\": [\n        {\n            \"id\": \"4fd2cd67-8d56-448b-93d1-bc2234bc53ce\",\n            \"requestId\": \"96f4f5fd-a882-46af-9656-5c8b72b249cb\",\n            \"deviceInfoId\": \"54826eea-f5c1-446f-94ac-fbb9d2685e06\",\n            \"deviceInfoEid\": \"10.20.42.129-Linux1 - 10.20.42.129\",\n            \"deviceType\": \"DEVICE\"\n        },\n        {\n            \"id\": \"39282fb3-b11d-43ef-be30-ae987f2296c0\",\n            \"requestId\": \"96f4f5fd-a882-46af-9656-5c8b72b249cb\",\n            \"deviceInfoId\": \"dbcd3354-5fde-4de9-8305-f3ebde5cda29\",\n            \"deviceInfoEid\": \"10.20.42.55-LDAP - 10.20.42.55\",\n            \"deviceType\": \"DEVICE\"\n        }\n    ],\n    \"createdBy\": {\n        \"id\": \"25e53f47-ce66-4df2-9abc-6961dc668264\",\n        \"eid\": \"admin\"\n    },\n    \"startTime\": 1739169480000,\n    \"endTime\": 1740463200000,\n    \"isSMSEnabled\": false,\n    \"alreadyAssignedCheck\": false\n}"
        }
      ],
      "selectedLanguageId": "-2dkgZs44KwX3g-2F656u"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}