To query a single department, you must perform the following:
Use the following code samples to query a single department by name, by title, and by ID:
Query a department by name
Query a department by title
NOTE: Filtering the Taxa collection by title is case-sensitive.
Query a department by ID
To query all departments under a specified parent department, you must perform the following:
Use the following code sample:
NOTE: Because the Parent property of the first level of departments is null, you must make a check whether the Parent property is null.
To query all departments, you must perform the following:
Back To Top