Skip to content

Instantly share code, notes, and snippets.

@darrenjrobinson
Last active October 30, 2018 05:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darrenjrobinson/8b021f40ba54b35e980349a0230986c8 to your computer and use it in GitHub Desktop.
Save darrenjrobinson/8b021f40ba54b35e980349a0230986c8 to your computer and use it in GitHub Desktop.
Connect to the Workday Get_Workers API. Associated Blog Post can be found here https://blog.darrenjrobinson.com/querying-for-updates-changes-in-workday-hr-using-powershell/
# 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