Integrating with REST APIs
The API infrastructure contains pre-configured specified endpoint URLs and populates the returned result in data pages. These data pages use the Pega Foundation for Healthcare data model, and they are delivered with your application.
The endpoint URLs for all configured REST services are fetched through a dynamic settings
data page called D_HCSettings. LoadHCSettings
is the data transform rule
that is configured to fetch the endpoint URL. LoadHCSettings
provides
the flexibility to configure all end point URLs in one rule. For example, you can
configure more than one endpoint URL for different membership or claims systems that
support your business. Depending on your implementation, you may need to overwrite this
rule.
In addition, the SCEApplicationSetting
rule provides system-level values
for processing claims. Generally, you do not need to change these settings. However,
this rule contains references to work queues and other default values that your
application requires, so you should review it and update it if necessary. Use the
SCEApplicationSetting_EXT
extension rule to overwrite settings in
the SCEApplicationSetting
rule.
To modify either of these rules, you must overwrite the rule by copying and saving it into your application.
- In the Dev Studio header search text field, search for the
D_HCSettings
data transform rule. - Open the rule and review it.
- If you need to overwrite this rule, click Save as to copy and save the rule into your application. If you do not need to overwrite this rule, skip to Step8.
- Update the rule with a resource name and an endpoint URL for each desired API.
- Click Create and open.
- Flush the
D_HCSettings
rule:- On the Load Management tab, click Clear data page.
- In the pop-up window, select the Flush All check box.
- ClickSubmit.
- ClickClose.
- Save your changes.
- Search for the
SCEApplicationSetting_EXT
rule. - Open the rule and review it.
- Update the rule as needed. You can update role-based settings and rename work queues if necessary. Optionally, you can change any other available property.
- Save your changes.
Previous topic Integrating with external data Next topic Action codes