# Query on Search

**URL:** <https://developer.sailpoint.com/discuss/t/query-on-search/29172>\
**Category:** SHF Discussion and Questions\
**Tags:** apis, identity-security-cloud, search\
**Created:** [February 6, 2024, 4:04pm UTC](https://developer.sailpoint.com/discuss/t/query-on-search/29172 "2024-02-06T16:04:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![harishhaleon](https://avatars.discourse-cdn.com/v4/letter/h/f4b2a3/32.png) [@harishhaleon](https://developer.sailpoint.com/discuss/u/harishhaleon)\
**Post date:** [February 6, 2024, 4:04pm UTC](https://developer.sailpoint.com/discuss/t/query-on-search/29172/1 "2024-02-06T16:04:35Z")

</div>

Hi There,

When I use the query below in Postman, I receive a 200 response, but the response body is empty (seeing this). The identity exists in Idnow, but I’m not receiving the expected response. Can anyone assist me with this?

Method : Post  
API :[https://corpnet4-dev.api.identitynow.com/v3/search?count=true&offset=0&limit=50](https://corpnet4-dev.api.identitynow.com/v3/search?count=true&offset=0&limit=50)

“query”: {  
“query”: “uid:"ac8xxxxxxx"”  
},  
“indicies”: [  
“identities”  
],  
“includeNested”: false,  
“sort”: [  
“displayName”  
]  
}

Thanks,  
Harish G

---

<div class="post-metadata">

**Author:** ![mcheek](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/mcheek/32/23705_2.png) [@mcheek](https://developer.sailpoint.com/discuss/u/mcheek)\
**Post date:** [February 6, 2024, 4:36pm UTC](https://developer.sailpoint.com/discuss/t/query-on-search/29172/2 "2024-02-06T16:36:45Z")

</div>

uid is inside the attributes object, so ensure your query reflects that

```JSON
{
    "query": {
        "query": "attributes.uid:\"ac8xxxxxxx\""
    },
    "indicies": [
        "identities"
    ],
    "includeNested": false,
    "sort": [
        "displayName"
    ]
}

```

[Searchable Fields](https://documentation.sailpoint.com/saas/help/search/searchable-fields.html#attributes)

 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/a/ab4d3531fbdd92d997682348d9975561963dea2f.png)

---

<div class="post-metadata">

**Author:** ![harishhaleon](https://avatars.discourse-cdn.com/v4/letter/h/f4b2a3/32.png) [@harishhaleon](https://developer.sailpoint.com/discuss/u/harishhaleon)\
**Post date:** [February 8, 2024, 4:55am UTC](https://developer.sailpoint.com/discuss/t/query-on-search/29172/3 "2024-02-08T04:55:19Z")

</div>

Thanks @mcheek ! It worked.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [April 8, 2024, 4:56am UTC](https://developer.sailpoint.com/discuss/t/query-on-search/29172/4 "2024-04-08T04:56:16Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
