Update Time Discovery Api not giving object type Glossary and Reports response

Erin Kimak 46 Reputation points
2022-10-17T05:20:40.317+00:00

I am using following API: POST {Endpoint}/catalog/api/search/query?api-version=2022-03-01-preview
from this document: https://learn.microsoft.com/en-us/rest/api/purview/catalogdataplane/discovery/query?tabs=HTTP#discovery_query_systemtime

From Last 1 month i am using above API for fetching updated glossary terms and updated report by passing following Json response

{
"filter": {
"updateTime": "LAST_7D"
}
}

I was getting proper output
But today when i am hitting this api I am just getting updated response which is having "objectType": "Tables"

But not getting "objectType": "Glossary Terms" and "objectType": "Reports"

Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
953 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. KranthiPakala-MSFT 46,422 Reputation points Microsoft Employee
    2022-10-18T00:58:26.457+00:00

    Hello @Erin Kimak ,

    Thanks for the question and using MS Q&A platform.

    I believe that is happening because of your filters. Since you are filtering only for last 7D and as they may be older than 7D timeframe you are not seeing them in your Query response. Please try increasing the time window to greater than 7D and you should be able to see them.

    {  
    "filter": {  
    "updateTime": "LAST_30D"  
    }  
    }  
    

    I have tested the same and able to reproduce the behavior. Please see below repro observations:

    Test case 1: For "updateTime": "LAST_30D"

    251391-image.png

    Test case 2: For "updateTime": "LAST_7D"

    251352-image.png

    Hence, please try increasing the filter time window to greater than 7D and you should be able to see them

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how