Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

[.NET] Issue with QueryAsync

Answered
New post

Comments

2 comments

  • mwiller

     By default, the Search API uses some fuzzy matching to find results; if you're looking for a more exact match, you can put double-quotes around your search term:

    BoxClientCompany.SearchManager.QueryAsync(query:="""" & document_id & """", type:="folder")

     

    Does that reduce the number of search results you get? 

    0
    Comment actions Permalink
  • frederic999

    Hi,

     

    Much better. Box returns now the correct FolderID...

     

    Thanks, Fred

    0
    Comment actions Permalink

Please sign in to leave a comment.