- User-defined variable
topdeskApiSecret
created in your HelloID portal. Containing the Topdesk Api Secret. - User-defined variable
topdeskApiUsername
created in your HelloID portal. Containing the Topdesk Api Username. - User-defined variable
topdeskBaseUrl
created 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
$searchValue
based on the search parameter$datasource.searchUser
- Creating authorization headers
GET
operators that start with$searchValue
. DefaultFIQL queries
that are used are:- employeeNumber
- surName
- firstName
- networkLoginName
For more information about Topdesk
FIQL queries
https://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-Output
cmdlet.