Functions¶
This is the endpoint which is most locked down in the service. Viewing functions is limited to MSS and power users. Modifying functions is limited to sysadmin and those with full administrative access. Also note that when adding a function or role it needs to be added as a child to an existing function since the function graph needs to be connected.
Fetching a function¶
To fetch a function you need to know the name or ID of the function
1 | |
This returns the function model:
1 2 3 4 5 6 7 8 9 10 11 12 | |
The endpoints searching and listing functions return the same function datamodel.
Tip
See the Swagger API documentation for details on the returned data model.
Listing a functions children¶
To list a functions children you need the name or ID of the parent function
1 | |
This returns a list of all the children of the function
Listing a functions parents¶
To list a functions parents you need the name or ID of the child function
1 | |
This returns a list of all the parents of the function
Searching for functions¶
Searching for functions can be done using the simple search GET endpoint or the
advanced search POST endpoint.
Please read the Overview to learn about general concepts for search endpoints.
Simple search¶
For simple search, the valid filtering parameters can be added as query
parameters, which will ANDed together for each parameter.
If any parameter name is repeated, all the values for that parameter
name will be combined according to
the Swagger API documentation.
Providing no parameters will return all functions
1 2 | |
Advanced search¶
Advanced searches allow combining multiple queries to get more fine-grained searches.
Detailed information on how to build advanced searches using sub-criteria are found in the Overview.
All parameters available for group search are detailed in the Swagger API documentation.
1 2 3 4 5 6 7 8 9 10 11 | |