Not In the way we're accustomed to using the SOAP interface.
The REST API is geared towards creating new bolt-on apps (which inherently have a live person on the other side providing credentials), not unattended interfaces.
To get around this limitation, recent Clarity versions allows you to create and save API keys that expire after a certain time (don't know the max, but 'never' is not an option).
I haven't tried it, but here is some information on Key based access.
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/business-management/clarity-project-and-portfolio-management-ppm-on-premise/15-7-1/reference/rest-api-documentation-for-authorized-developers/rest-api-define-clients-and-generate-keys-for-integrations-with-clarity-ppm.html
Original Message:
Sent: 01-22-2020 09:06 AM
From: Vitor Paulo M. Correia
Subject: REST API for Clarity 15.7
Hi experts,
Is it really possible to use REST API in Clarity 15.7 ?
I'm trying to use it on development environment in order to process REST with gelscript.
I have already enabled the REST API from System Options and sucessfully used the Describe feature ".../niku/rest/describe/index.html"
But, whenever i try to access the API URL (..../ppm/rest/v1) I receive a 401 error (unauthorized).
Is it due to CORS ?
Or do I need any additional authorization from Broadcom ?
Thanks for any help.
Vitor.