Generating microservice code for case creation
The Generate create case microservice code option opens a dialog that contains the information that you can use in a Pega API call, to call the create case microservice from your external application. Calling the microservice enables you to create a case from the external application.
-
Open a case type in Case Designer.
-
On the Settings tab, click Integration.
- Under Microservice APIs, click Generate create case microservice code.
-
Use the following information to create a case of the selected case type from your external application:
- Request URL (HTTP method POST):The URL that you can access to create the case. Ensure that you invoke the URL by using the HTTP method POST.
- HTTP authentication header:The header for the microservice call. Enter the login credentials in the header for basic HTTP authentication.
- Request body:The body for the microservice call. Replace the values for fields in the content node with values appropriate for the case that you are trying to create.
-
Click View all Pega API to see the list of the built-in Pega API REST services in the Pega 7 Platform.
Related information
Open topic with navigation