PARTNERS - Please join us for our upcoming webinar:
Leveraging Intelligent Recommendations for Operational Transformation.
AMS Partners click HERE | EMEA/APJ Partners click HERE

Multiple entitlement types are not getting imported in rest

Subrahmanyam
New Contributor II
New Contributor II

{
"accountParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"deleteLinks": true,
"accountThresholdValue": 10,
"correlateInactiveAccounts": false,
"inactivateAccountsNotInFile": true
},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "******************************",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "group1",
"keyField": "accountID",
"statusConfig": {
"active": "1",
"inactive": "0"
},
"colsToPropsMap": {
"accountID": "usrid~#~char",
"name": "name~#~char",
"displayName": "name~#~char",
"status": "status~#~char"
}
}
}
},
"entitlementParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"entTypes": {
"Group": {
"entTypeOrder": 0,
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"listField": "group1",
"keyField": "entitlementID",
"http": {
"url": "**************",
"httpContentType": "application/json",
"httpMethod": "GET",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
}
},
"colsToPropsMap": {
"entitlement_value": "name~#~char",
"entitlementID": "id~#~char"
}
}
}
},
"Role": {
"entTypeOrder": 1,
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,

"listField": "group2",
"keyField": "entitlementID",
"http": {
"url": "******************************",
"httpContentType": "application/json",
"httpMethod": "GET",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
}
},
"colsToPropsMap": {
"entitlement_value": "name~#~char",
"entitlementID": "id~#~char"
}
}
}
}
}},
"acctEntParams": {}
}

 

Entitlements of type group are getting imported, but entitlements of type role are not getting imported, these are the responses for entitlement types of Group, Role respectively.

1).Group

{
    "group1": [
        {
            "name": "Developer",
            "id": "1211",
      
            "status": "1"
        },
        {
            "name": "Tester",
            "id": "1322",
          
            "status": "1"
        },
        {
            "name": "Administrator",
            "id": "1445",
    
            "status": "1"
        },
        {
            "name": "Finance",
            "id": "1621",
         
            "status": "1"
        }
    ]
}
2.)Role
{
    "group2": [
        {
            "name": "HR",
            "id": "1999",
            "status": "1"
        }
    ]
}
3 REPLIES 3

rushikeshvartak
All-Star
All-Star

share logs when you run access import


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

These are the logs 

Resolved basically the error is with the listfield and brackets