Click HERE to see how Saviynt Intelligence is transforming the industry. |
11/28/2023 06:17 AM - edited 11/29/2023 09:28 AM
Hi Team,
We are getting Error while running Access Import Job but no issues while running Account Import Job. We are using Rest Connector.
Log Details, AccountENT Json and Call response shared below.
PFB Sample response for acctEnt call.
{
"roleId": "301470979933413515",
"roleName": "BO_Case_Management_UK_Acq_RO_Case_Agent",
"applicationId": 100000000000001200,
"status": "ACTIVE",
"createdBy": "xxxxxxxx",
"createdDate": "2023-11-24T09:26:57",
"lastModifiedBy": "xxxxxxxx",
"lastModifiedDate": "2023-11-24T09:26:57"
}
ImportAccountEntJSON |
{
"accountParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"statusColumn": "customproperty7",
"activeStatus": [
"ACTIVE"
],
"deleteLinks": true,
"accountThresholdValue": 50,
"correlateInactiveAccounts": true,
"inactivateAccountsNotInFile": false,
"deleteAccEntForActiveAccounts": true
},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://xxxxxx.net",
"httpHeaders": {
"Authorization": "${access_token}",
"Content-Type": "application/json",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "",
"keyField": "accountID",
"colsToPropsMap": {
"accountID": "emailAddress~#~char",
"name": "externalUserId~#~char",
"customproperty7": "status~#~char",
"customproperty1": "createdDate~#~char",
"creator": "createdBy~#~char",
"customproperty6": "lastModifiedBy~#~char",
"customproperty2": "brand~#~char",
"customproperty3": "userType~#~char",
"customproperty4": "statusDate~#~char",
"customproperty13": "lastModifiedDate~#~char",
"customproperty5": "emailAddress~#~char",
"customproperty31": "STORE#ACC#ENT#MAPPINGINFO~#~char"
}
}
}
},
"entitlementParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"entTypes": {
"Roles": {
"entTypeOrder": 0,
"entTypeLabels": {
"customproperty2": "ApplicationId",
"customproperty3": "ApplicationName"
},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://xxxxxx.net",
"httpHeaders": {
"Authorization": "${access_token}",
"Content-Type": "application/json",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "",
"keyField": "entitlementID",
"colsToPropsMap": {
"entitlementID": "roleId~#~char",
"entitlement_value": "roleName~#~char",
"customproperty1": "enabled~#~char",
"customproperty2": "applicationId~#~char",
"customproperty3": "applicationName~#~char",
"description": "description~#~char",
"displayname": "roleName~#~char",
"entitlement_glossary": "description~#~char",
"entitlementMappingJson": "STORE#ENT#MAPPINGINFO~#~char"
},
"disableDeletedEntitlements": true
}
},
"entMappings": {
"Permissions": {
"listPath": "permissions",
"idPath": "",
"idColumn": "entitlementID",
"mappingTypes": [
"ENT2"
]
}
}
},
"Permissions": {
"entTypeOrder": 1,
"entTypeLabels": {
"customproperty1": "ApplicationName",
"customproperty2": "HighRisk"
},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://xxxxxx.net",
"httpHeaders": {
"Authorization": "${access_token}",
"Content-Type": "application/json",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "content",
"keyField": "entitlementID",
"colsToPropsMap": {
"entitlementID": "name~#~char",
"entitlement_value": "name~#~char",
"customproperty1": "category~#~char",
"customproperty2": "highRisk~#~char",
"description": "description~#~char",
"displayname": "name~#~char",
"entitlement_glossary": "description~#~char"
},
"disableDeletedEntitlements": true
}
}
}
}
},
"acctEntParams": {
"connection": "acctAuth",
"entTypes": {
"Roles": {
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"processingType": "httpAcctToEnt",
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": "https://xxxxxx.net",
"httpMethod": "GET"
},
"listField": "",
"entIdPath": "roleId",
"entKeyField": "entitlementID",
"acctKeyField": "accountID"
}
}
}
}
}
}
[This message has been edited by moderator to merge reply comment]
11/30/2023 06:04 AM
Hi @rohanpandit
Can you confirm if you are able to fetch the entitlements in postman with same parameters?
Can you try hardcoding the access token in ImportAccountEntJSON and check if it is working.
Additionally, could you please refer below post if those helps.
Getting 401 unauthorized error for Accounts import... - Saviynt Forums - 57651
Regards,
Dhruv Sharma
11/30/2023 08:51 AM
Hi @Dhruv_S
Yes, i am able to fetch the entitlements in postman with same parameters and sometimes access import job got successful also.
PFB Logs also when job got success.
11/30/2023 09:26 PM
Is it intermediate ? if yes how much time api take for response ?