It is possible to make Kuali GraphQL calls through the Kuali API configuration tool. For example, maybe you want to create a Kuali document in a secondary application programmatically from the workflow of an initial application. This article describes how to configure an API integration to use GraphQL queries and mutations.
- Step 1: Retrieve an API key
- Step 2: Create a new integration
- Step 3: Make the appropriate request
-
Your integration URL should follow the following format:
-
POST:
https://<Kuali environment>.<Kuali domain>.com/app/api/v0/graphql
- At the end of your integration URL, add your GraphQL query or mutation with a following
?query=
-
Full URL example:
https://domain.kualibuild.com/app/api/v0/graphql?query=mutation { initializeWorkflow(args: {id: "{{appId}}"}) { actionId documentId } }
-
POST:
-
Example #1:
The below example video describes creating a new document in a separate app by using two GraphQL mutations configured as integrations within the Kuali platform.
Example #2
The below example video describes adding a user to a selected role within a selected group within a selected blueprint.
Comments
0 comments
Article is closed for comments.