Instantly share code, notes, and snippets.

Embed
What would you like to do?
Connect to the Workday Get_Workers API
# Get Forked Module from https://github.com/darrenjrobinson/powershell_module_workdayapi
Import-Module WorkdayApi
$username = 'username@tenant'
$password = ConvertTo-SecureString 'password' -AsPlainText -Force
$credential = New-Object System.Management.Automation.PSCredential ($username, $password)
Set-WorkdayCredential -Credential $credential
Set-WorkdayEndpoint -Endpoint Human_Resources -Uri 'https://wd3-impl-services1.workday.com/ccx/service/<tenant>/Human_Resources/v30.2'
Save-WorkdayConfiguration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment