Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Import Account is not working as response is in XML format and data is with in Tags.

VisveswaraReddy
New Contributor II
New Contributor II

Hi Team,

 

I am not able get the accounts, the response in postman is in XMl format can you please help with JSON.

<User>
<description>--Added from --</description>
<id>2367</id>
<identityGroupName>groupname</identityGroupName>
<name>etest001</name>
<version>0</version>
<attributeInfo>
<attributeName>Description</attributeName>
<attributeValue>Outside Services Worker</attributeValue>
</attributeInfo>
<attributeInfo>
<attributeName>Real Name</attributeName>
<attributeValue>Armando </attributeValue>
</attributeInfo>
<changePassword>false</changePassword>
<created>Mar 18 2024 21:25:28</created>
<dateExceedsEnabled>false</dateExceedsEnabled>
<emailAddress>Armando@sav.com</emailAddress>
<enablePassword>*******</enablePassword>
<enablePasswordHash>false</enablePasswordHash>
<enabled>true</enabled>
<lastLogin></lastLogin>
<lastModified>Oct 17 2024 12:10:09</lastModified>
<lastPasswordChange>Oct 17 2024 12:10:09</lastPasswordChange>
<loginFailuresCounter>0</loginFailuresCounter>
<maxFailedLoginAttempts>0</maxFailedLoginAttempts>
<maxFailedLoginAttemptsEnabled>false</maxFailedLoginAttemptsEnabled>
<password>*******</password>
<passwordNeverExpires>false</passwordNeverExpires>
<passwordType>*******</passwordType>
</User>
<User>

 

import Json:

{
"accountParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "url here",
"httpHeaders": {
"Content-Type": "application/xml",
"Accept": "application/xml",
"Authorization": "${access_token}"
},
"httpContentType": "text/xml",
"httpMethod": "GET"
},
"listField": "response.user.description.id.identityGroupName",
"keyField": "accountID",
"statusConfig": {
"active": "true",
"inactive": "false"
},
"colsToPropsMap": {
"accountID": "id~#~char",
"name": "name~#~char",
"customproperty1": "user.description~#~char",
"customproperty2": "user.identityGroupName~#~char",
"customproperty3": "user.version~#~char",
"customproperty4": "user.changePassword~#~char",
"customproperty5": "created~#~char",
"customproperty6": "dateExceedsEnabled~#~char",
"customproperty7": "attributeNam~#~char",
"customproperty8": "attributeValue~#~char",
"customproperty9": "emailAddress~#~char",
"customproperty10": "enablePassword~#~char",
"customproperty11": "enablePasswordHash~#~char",
"status": "enabled~#~char",
"customproperty13": "lastLogin~#~char",
"customproperty14": "lastModified~#~char",
"customproperty15": "lastPasswordChange~#~char",
"customproperty16": "loginFailuresCounter~#~char",
"customproperty17": "maxFailedLoginAttemptsEnabled~#~char",
"customproperty18": "password~#~char",
"customproperty19": "passwordNeverExpires~#~char",
"customproperty20": "passwordType~#~char"
}
}
}
}
}

 

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

Please share the logs in text format for easier debugging. Additionally, provide the task ID, error details, or specific line numbers where the issues occur to help us review the relevant sections efficiently.



⚠️ Important: Do not upload attachments containing sensitive information, such as IP addresses, URLs, company/employee names, or email addresses. For more information, refer to the Saviynt PII Policy.


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

The Job is getting success but accounts are not getting into system.

VisveswaraReddy_0-1729688987291.png

 

Please share the logs in text file. also does response if you convert online xml to json is it working ?


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