PowerShell wrapper module for the Broadcom Clarity XML Open Gateway (XOG) Web Service APIs
You must have a valid Classic PPM login name & password. You must also be granted the following access rights:
- Administration - Access
- Administration - XOG
The above access rights simply grant the ability to make XOG requests; to import/export data for a particular object, you must also be assigned the corresponding XOG access right for that object.
For example, Project - XOG Access grants the ability to import/export project objects to/from the database
There are 2 functions used for managing XOG sessions:
- Connect-XogSession
- Disconnect-XogSession
Call the Login() web service to generate a sessionId & create/store session variables:
[pscredential] $Credential = Get-Credential
Connect-XogSession -Credential $Credential -Domain 'your-clarity-domain.com'Call the Logout() web service and delete the sessionId:
Disconnect-XogSession