Using Solution Central APIs
Using Solution Central APIs
Solution Central APIs enable you to publish a solution that is developed outside of ThingWorx Composer to Solution Central. They are especially helpful if you intend to publish a solution that contains editable entities even after it is deployed to Solution Central. PTC, however, recommends avoiding editable entities within solutions since such entities cause difficulties during upgrade.
The Solution Central APIs can be accessed using your Solution Central application. In Solution Central, click Help > Public APIs from the left-hand navigation menu to see the available Solution Central APIs. The following Solution Central APIs are available for use:
Add Solution
Get Solution
Get Solutions
Get Solution File
Delete Solution
Put Solution File
Publish Solution
Get Dependents
Prerequisites for API Usage
Before you begin, ensure that you meet the following requirements that are essential for using Solution Central API.
Solution Central must be configured to integrate with your organization's Azure AD tenant. The Take Control of Managing Your Organization’s Users topic provides information on how to do this. Note that you cannot use these APIs if you are using the PTC tenant.
Authorization to publish to Solution Central. This is typically granted by an Azure AD application token with the solution-publisher role. For information on creating a new Azure AD application and service principal that can be used with the role-based access control, refer to the following Microsoft documentation: Use the portal to create an Azure AD application and service principal that can access resources.
Was this helpful?