Click HERE to see how Saviynt Intelligence is transforming the industry. |
10/08/2024 09:28 AM - edited 10/08/2024 09:33 AM
Dear Folks.
sample response Post call.
{
"message": "Success",
"data": {
"list": [
{
"name": "Alvian",
"email": "alvian@example",
"productOwner": "P1",
"role": "role1",
"validity": "2025-12-31 23:59:59"
}, more....
import accounts json
"accountParams": {
"connection": "userAuth",
"processingType": "SequentialAndIterative",
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://url/v1/post-users-paging",
"httpMethod": "POST",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "*/*"
},
"httpContentType": "application/json",
"httpparams": "{\"page\":\"1\",\"size\":\"200\"}"
},
"listField": "data.list",
"keyField": "accountID",
"colsToPropsMap": {
"accountID": "name~#~char",
"name": "name~#~char",
"displayName": "name~#~char",
"customproperty1": "role~#~char",
"customproperty2": "productowner~#~char",
"customproperty3": "validity~#~char"
}
}
}
},
but no account is imported
10/08/2024 09:28 AM
Please share postman screenshot and curl command [Refer https://codingnconcepts.com/postman/how-to-generate-curl-command-from-postman/ ]
⚠️‼️‼️Do not upload any attachments that contain sensitive information, such as IP Addresses, URLs, Company/Employee Names, Email Addresses, etc.‼️‼️⚠️
10/08/2024 09:31 AM
curl -X POST --location 'https://url/v1/post-users-paging' \
--header 'accept: application/json' \
--header 'Authorization: Bearer abcd' \
--header 'Content-Type: application/json' \
--data '{
"page": 1,
"size": 100
}'
10/08/2024 09:34 AM
Please share logs in text format
Could you kindly provide a detailed snapshot of the information extracted from the logs, encompassing errors and other pertinent functionality details encountered during the execution of this process? Your assistance in furnishing this information would greatly aid in the analysis and resolution of any issues .
‼️‼️⚠️Do not upload any attachments that contain sensitive information, such as IP Addresses, URLs, Company/Employee Names, Email Addresses, etc.⚠️ ‼️‼️Refer https://forums.saviynt.com/t5/help/faqpage/title/WhenNotifyAboutPII
10/08/2024 09:43 AM
unfortunately no error coming up once run the account import job, either on job logs or log viewer
2024-10-08T23:39:12+07:00-ecm-worker-integration.ExternalConnectionCallService-quartzScheduler_Worker-6-6nfpb-DEBUG Key=ImportAccountEntJSON Value={| "accountParams": {| "connection": "userAuth",| "processingType": "SequentialAndIterative",| "statusAndThresholdConfig": {| "statusColumn": "customproperty11",| "activeStatus": [| "1"| ],| "deleteLinks": true,| "accountThresholdValue": 100,| "correlateInactiveAccounts": false,| "inactivateAccountsNotInFile": true,| "deleteAccEntForActiveAccounts": true| },| "call": {| "call1": {| "callOrder": 0,| "stageNumber": 0,| "http": {| "url": "https://url/v1/post-users-paging",| "httpMethod": "POST",| "httpHeaders": {| "Authorization": "${access_token}",| "Accept": "*/*"| },| "httpContentType": "application/json",| "httpParams": "{\"page\":\"1\",\"size\":\"50\"}"| },| "listField": "data.list",| "keyField": "accountID",| "colsToPropsMap": {| "accountID": "name~#~char",| "name": "name~#~char",| "displayName": "name~#~char",| "customproperty1": "role~#~char",| "customproperty2": "productOwner~#~char",| "customproperty3": "validity~#~char"| }| }| }| },| "entitlementParams": {| "processingType": "SequentialAndIterative",| "entTypes": {| "Role": {| "entTypeOrder": 0,| "call": {| "call1": {| "connection": "userAuth",| "callOrder": 0,| "stageNumber": 0,| "http": {| "url": "https://url/v1/get-role-all",| "httpMethod": "GET",| "httpHeaders": {| "Authorization": "${access_token}",| "Accept": "*/*"| }| },| "listField": "data",| "keyField": "entitlementID",| "colsToPropsMap": {| "entitlementID": "code~#~char",| "entitlement_value": "name~#~char",| "displayname": "name~#~char"| },| "disableDeletedEntitlements": false,| "errorHandling": {| "onError": "log",| "logMessage": "Failed to execute API call. Error message: ${error_message}"| }| }| }| },| "Productowner": {| "entTypeOrder": 0,| "call": {| "call1": {| "connection": "userAuth",| "callOrder": 0,| "stageNumber": 0,| "http": {| "url": "https://url/v1/get-product-owner-all",| "httpMethod": "GET",| "httpHeaders": {| "Authorization": "${access_token}",| "Accept": "*/*"| }| },| "listField": "data",| "keyField": "entitlementID",| "colsToPropsMap": {| "entitlementID": "code~#~char",| "entitlement_value": "name~#~char",| "displayname": "name~#~char"| },| "disableDeletedEntitlements": false,| "errorHandling": {| "onError": "log",| "logMessage": "Failed to execute API call. Error message: ${error_message}"| }| }| }| }| }| },| "acctEntParams": {},| "acctEntMappings": {}|}
10/08/2024 09:52 AM
10/08/2024 09:56 AM - edited 10/08/2024 09:57 AM
10/08/2024 10:08 AM
Please share full logs one liner will not help to debug
10/08/2024 10:17 AM
10/08/2024 10:33 AM
Logs just contains when job is started. No line is showing or no full logs when job is ended.