Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following use case will retrieve a list of tax taxonomy terms based on a category set that is used by miMI-bridges. The tax term is a an AIRS service taxonomy term. More information on the tax terms and id’s can be found here https://www.airs.org/i4a/pages/index.cfm?pageid=3386. The category and subcategory items where were created for easy searchingto improve search usability for users not familiar with AIRS.

Quote of Use Case

“I would like to get a category set for getting tax taxonomy terms that can be used for searching to search for services”

Step 1 - Get an access token

This will retrieve an access token from CIE Identity Provider. Please note that if the system has already retrieved an access token that has not yet expired then that can existing unexpired token be used with other calls. An access token is valid for 24 hours after it has been minted. The following explains on how to get Authorization

Step 2 - Call [GET /taxonomy/categoryset] Gets all of the categories in categoryset

...

You can also do a filtered query on the category set to get a list of items that match a query term on name, category or subcategory.

Here is a couple are examples of queries

Code Block
{"name" : {"$like" : "Crime"}} // query for all the tax terms that have crime in name 
{"category" : {"$like" : "Child"}} // query for all tax terms that have a category with child in name

...