- User-defined variable
topdeskApiSecretcreated in your HelloID portal. Containing the Topdesk Api Secret. - User-defined variable
topdeskApiUsernamecreated in your HelloID portal. Containing the Topdesk Api Username. - User-defined variable
topdeskBaseUrlcreated in your HelloID portal. Containing the Topdesk URL, for example:https://<yourcompany>.topdesk.net
This code snippet executes the following tasks:
- Define a search value
$searchValuebased on the search parameter$datasource.searchUser - Creating authorization headers
GEToperators that start with$searchValue. DefaultFIQL queriesthat are used are:- employeeNumber
- surName
- firstName
- networkLoginName
For more information about Topdesk
FIQL querieshttps://developers.topdesk.com/explorer/?page=supporting-files#/Operators/retrieveOperators https://developers.topdesk.com/tutorial.html
- Return a hash table for each Topdesk operator using the
Write-Outputcmdlet.