Usage
To get items using the Autotask API you'll first have to add the authentication headers using the Add-AutotaskAPIAuth
function. Example: $Creds = get-credential Add-AutotaskAPIAuth -ApiIntegrationcode 'ABCDEFGH00100244MMEEE333' -credentials $Creds When the command runs, You will be asked for credentials. Using these we will try to decide the correct webservices URL for your zone based on the e-mail address. If this fails you must manually set the webservices URL.
To get items using the Autotask API you'll first have to add the authentication headers using the Add-AutotaskAPIAuth
function. Example:
$Creds = get-credential
Add-AutotaskAPIAuth -ApiIntegrationcode 'ABCDEFGH00100244MMEEE333' -credentials $Creds
When the command runs, You will be asked for credentials. Using these we will try to decide the correct webservices URL for your zone based on the e-mail address. If this fails you must manually set the webservices URL.
Add-AutotaskBaseURI -BaseURI https://webservices1.autotask.net/atservicesrest