Skip to main content
Solved

[A360 Swagger API] Is there a way to specifically search for credentials?


Forum|alt.badge.img+2
hello. I am studying Swagger API.I want to search the attribute value within the attribute in the credential search function 'Search for Credentials'. (Where you want to search: bold)
How should I enter Json syntax? Thank you for your help.

 

Responses Ex>

{
  "page": {
    "offset": 0,
    "total": 4,
    "totalFilter": 1
  },
  "list": [
    {
      "id": "307",
      "name": "Sample-Credential",
      "description": "Test credential Created from API request",
      "completed": true,
      "lockerId": "15",
      "ownerId": "21",
      "attributes": [
        {
          "id": "885",
          "name": "Attribute1",
          "description": "Example attribute 1",
          "userProvided": false,
          "masked": true,
          "passwordFlag": false,
          "createdBy": "21",
          "createdOn": "2022-10-28T00:15:09.319987Z",
          "updatedBy": "21",
          "updatedOn": "2022-10-28T00:15:09.319988Z",
          "version": "0"
        }
      ],
      "createdBy": "21",
      "createdOn": "2022-10-12T20:42:32.896315Z",
      "updatedBy": "21",
      "updatedOn": "2022-10-12T20:42:32.896317Z",
      "version": "6"
    }
  ]
}

Best answer by Bot Dev

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/cv-api-supported.html#tag/AttributeValues

View original
Did this topic help answer your question?

2 replies

Forum|alt.badge.img+8
  • Navigator | Tier 3
  • 61 replies
  • Answer
  • May 9, 2024

Forum|alt.badge.img+2
  • Author
  • Cadet | Tier 2
  • 4 replies
  • May 9, 2024
Thank you for answer.I had to find the id by mapping it with the name value of the ‘attributes’ field value.Therefore, the method you provided was something I had already tried.We have currently solved the problem by implementing it in Python.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings