Configuring REST POST Constituent Staging Service
To use the REST POST method to update only staging tables, you first have to set up the service operation SCC_STG_CONSTIT_R.
For information on creating permission lists, roles, and user profiles, see the product documentation for PeopleTools: Security Administration.
-
Create a permission list, and assign the web service SCC_STG_CONSTIT_R to the permission list.
-
Create a role, and then assign the permission list to the role.
-
Create a user profile, and then assign the role for the permission list.
Note: On the ID page, set ID Type to None.
-
Assign the role you created to your admin or test user.
-
Assign the user profile you created to node ANONYMOUS.
-
Navigate to
. -
In Default User ID, change the value to the user profile value you created earlier.
-
-
Create the routings for SCC_STG_CONSTIT_R.
For more information on configuring service definitions, see the product documentation for PeopleTools: Integration Broker
-
Go to
. -
Select REST Service, then search for the service SCC_STG_CONSTIT_R.
-
Select SCC_STG_CONSTIT_R from the search results.
-
From the Existing Operations grid, select SCC_STG_CONSTIT_R_POST.v1.
-
Click Routings.
-
If there aren't any routings, click General.
-
In Routing Actions Upon Save, select Generate Any-to-Local, then click Save.
-
Click Routings.
In Routing Definitions, you should see a routing generated for any to local.
-
-
Set the logging as appropriate for your institution. For example, in Routing Actions Upon Save, select the option that's best for your institution.
-
From the Routings page, you can select User Exception.
-
Save your changes.
-
In Routing Definitions, click the routing definition entry. This can look like "~GENERATED~16947973".
-
From the page that appears, in Log Detail, select the option that works best for your institution.
-
Click Save, then click Return.
The inbound routing should show the sender node ~~ANY~~ is active.
-
-
Save your changes.
-
Optionally, you can create these search/match rules:
-
A search/match person rule LNAMEFNAME that only has full last name search and full first name search.
-
A search/match person rule NIDONLY that only has national ID (NID) search.
-
A search/match person rule LNFNNIDSEXDOB that search last name, first name, national ID, gender, and date of birth.
-
A search match person parameter LNFNNIDSEXDOB that has 10 LNFNNIDSEXDOB, 20 NIDONLY, and 30 LNAMEFNAME.
Set its search permission to full access.
For information on search/match, see Using Search/Match.
-
-
Modify the CTM transaction SCC_STG_CONSTITUENT.
-
In the Search/Match Setup page, use your preferred search parameter, for example, LNFNNIDSEXDOB.
-
Use your preferred search result code, for example, PSCS_TRAD_RESUL.
-
Set up Matches Found as appropriate for your institution. Here's an example:
Search Order Nbr
Description
One Match
Multiple Matches
10
Last Name, First Name, NID, Sex, DOB
Update
Suspend
20
NID
Suspend
Suspend
30
Last Name, First Name
Suspend
Suspend
-
Set up No Match Found as appropriate for your institution.
-
Save your changes.
-