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

AccImport via REST API || Oracle PLM

Vidhimehta
Regular Contributor
Regular Contributor

Hello,

We are in the process of onboarding Oracle PLM (Fusion application). We have been able to establish the connection and run the job. However, we are able to only import 25 accounts, where as there are 5k+ accounts in the target application. 

Below ImportAccountEntJSON:

{
"accountParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"statusConfig": {
"active": "true",
"inactive": "false"
},
"statusAndThresholdConfig": {
"statusColumn": "customproperty2",
"activeStatus": [
"N"
],
"deleteLinks": true,
"accountThresholdValue": 10,
"correlateInactiveAccounts": false,
"inactivateAccountsNotInFile": true,
"deleteAccEntForActiveAccounts": true
},
"http": {
"url": "https://***/hcmRestApi/resources/11.13.18.05/userAccountsLOV",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/x-www-form-urlencoded",
"httpMethod": "GET"
},
"listField": "items",
"keyField": "accountID",
"colsToPropsMap": {
"accountID": "UserId~#~char",
"displayName": "displayName~#~char",
"name": "Username~#~char",
"status": "active~#~char",
"customproperty1": "id~#~char",
"customproperty2": "Suspended~#~char"
},
"pagination": {
"nextUrl": {
"nextUrlPath": "${response?.completeResponseMap?.next_page==null?null:response.completeResponseMap.next_page}"
}
}
}
}
},
"entitlementParams": {},
"acctEntParams": {}
}

STATUS_THRESHOLD_CONFIG:

{ "statusAndThresholdConfig": { "accountThresholdValue": 1000, "inactivateAccountsNotInFile": false, "deleteLinks": "true", "includeExistingInActiveAccounts": "true" } }

Job Details:

JOB ATTRIBUTE NAME JOB ATTRIBUTE VALUE

Job NameApplication Data Import (Single Threaded)
Job Typefull
Import Typeaccounts
Warning invalid recordInvalid record not processed. Error Message - null
Total invalid records skipped25
Accounts Activated0
Accounts Inactivated0
Accounts Terminated0
Account Entitlement Mapping Deleted0
Account Ent Priv Mapping Deleted0
User Account Mapping Deleted0

Attached logs for reference.

Have added the below pagination details but that also did not help:

1. "pagination": { "page": { "pageSizeParam": "limit", "pageSize": 600, "pageRecordCount": "600", "pageNumberParam": "page", "totalCountPath": "headers.x-Total-Count", "firstPageNumber": 0 } } } } } }

2.  "pagination": { "offset": { "offsetParam": "offset", "batchParam": "max", "batchSize": 500, "totalCountPath": "headers.x-Total-Count" } } } } } }

3. "pagination": { "nextUrl": { "nextUrlPath": "${response?.objectList?.size()>0?'https://***/hcmRestApi/resources/11.13.18.05/userAccountsLOV?startIndex='+Math.addExact(response.completeResponseMap.itemsPerPage,response.completeResponseMap.startIndex)+'&count='+response.completeResponseMap.itemsPerPage:null}" } } } } } }, }

Regards,

Vidhi.

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

Share postman response


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

Vidhimehta
Regular Contributor
Regular Contributor

Hello @rushikeshvartak 

Attached Postman response.

Vidhimehta
Regular Contributor
Regular Contributor

Hello Team,

Any update?