Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

REST - Import Entitlements from JSON List

dreed1
New Contributor
New Contributor

Hey Team,

Working through a new rest integration and running into a challenge on how to import Entitlements from the provided API endpoints.

The third-party endpoint only provides a list of the "UserTypes" (Roles) as a JSON object.  How would I get these Key/Value pairs imported as Entitlements?

I would prefer to set the keys as EntitlementIDs and the values as entitlement_values.

ie. EntitlementID = 249100 and entitlement_value = Activity Director

 

    "userTypes": {
        "249100": "Activity Director",
        "249089": "Anonymous User",
        "249099": "Athletic Director",
        "249102": "Building Principal",
        "249091": "Building Secretary",
        "249101": "Bus Driver",
        "249088": "Community Member",
        "249092": "District Administration",
        "249086": "FMX Administrator",
        "249093": "Maintenance Director",
        "249087": "Maintenance Tech",
        "249096": "Staff",
        "249097": "Transportation Director",
        "249105": "Vendor"
    }

 

 

2 REPLIES 2

Vedanth_BK
Saviynt Employee
Saviynt Employee

Hi dreed1

The response above is not in the appropriate format for importing entitlementID and entitlement values.

Below is a sample format that is supported:

{
"userTypes": [
{
"ID ": "249100",
"name": "Activity Director"
}
]
}

rushikeshvartak
All-Star
All-Star

Saviynt requires data in key : value pair


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.