You can assign catalog items to a vRealize Automation 8.x project by using a API call.
To run the following API call, you must have the following information:
- The project ID. This is returned by the API call when the project is created.
- The cloud template ID. This ID can be attained by listing the cloud templates with GET commands. If the values of these cloud templates are consistent, then this value can be stored in vRealize Orchestrator or in a extensibility action.
You can assign catalog items to a project by using a POST API call that uses the /catalog/api/admin/entitlements
URL.
{ "projectId": "${projectId}", "definition": { "type": "CatalogItemIdentifier", "id": "${BLUEPRINT_ID}", "name": "", "description": "", "numItems": 0, "sourceType": "" } }