---
title: Search Application Token Account
slug: kronpam-api-collection-3-6-0/search-application-token-account
docTags: 
createdAt: 2025-01-20T13:35:40.976Z
---

{
  "id": "r8TDmb40N_trEsFmjyqRx",
  "type": "api-oas-v2",
  "data": {
    "method": "POST",
    "url": "http://localhost/aioc-rest-web/rest/aapm/searchAapmAccounts",
    "name": "",
    "description": "<h3>Request Overview</h3>\n<p>The <strong>Search Application Token Account</strong> method allows you to search for Application Token accounts using the <code>db_id</code> of the account.</p>\n<h4>Usage:</h4>\n<ul>\n<li>Input the <code>db_id</code> of the desired Application Token account to retrieve its details.</li>\n</ul>",
    "contentType": "application/json",
    "request": {
      "headerParameters": [
        {
          "name": "x-xsrf-token",
          "description": "",
          "default": "{{x-xsrf-token}}",
          "value": "{{x-xsrf-token}}",
          "type": "string"
        }
      ],
      "queryParameters": [],
      "pathParameters": [],
      "bodyDataParameters": [
        {
          "name": "body",
          "description": "",
          "default": "{\r\n    \"applicationName\":\"\"\r\n}",
          "value": "{\r\n    \"applicationName\":\"\"\r\n}",
          "type": "object"
        }
      ],
      "formDataParameters": [],
      "oAuthParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "",
        "jsonExample": ""
      }
    ],
    "examples": {
      "languages": [
        {
          "id": "ZNPNFjP_gCtiCD7u2jgSv",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request POST \\\n     --url http://localhost/aioc-rest-web/rest/aapm/searchAapmAccounts \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json' \\\n     --header 'x-xsrf-token: {{x-xsrf-token}}' \\\n     --data '\"{\\r\\n    \\\"applicationName\\\":\\\"\\\"\\r\\n}\"'"
        },
        {
          "id": "SixlK59p9MNbSUlwcWuzA",
          "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\", \"{{x-xsrf-token}}\");\n\nvar raw = JSON.stringify(\"{\\r\\n    \\\"applicationName\\\":\\\"\\\"\\r\\n}\");\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"http://localhost/aioc-rest-web/rest/aapm/searchAapmAccounts\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "NDDUV2_NFIiucys7la5bc",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"http://localhost/aioc-rest-web/rest/aapm/searchAapmAccounts\")\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\"] = \"{{x-xsrf-token}}\"\nrequest.body = JSON.dump(\"{\\r\\n    \\\"applicationName\\\":\\\"\\\"\\r\\n}\")\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "6ENKKDhBo9aYwone7xBk1",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"http://localhost/aioc-rest-web/rest/aapm/searchAapmAccounts\"\n\npayload = json.dumps(\"{\\r\\n    \\\"applicationName\\\":\\\"\\\"\\r\\n}\")\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json',\n   'x-xsrf-token': '{{x-xsrf-token}}'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "ZNPNFjP_gCtiCD7u2jgSv"
    },
    "results": {
      "languages": [
        {
          "id": "Vub2wAkML0XasoZCtRts4",
          "language": "200",
          "code": ""
        }
      ],
      "selectedLanguageId": "Vub2wAkML0XasoZCtRts4"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}