<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response>
<Auth status = "0"></Auth >
<Read status = "0">
<User>
<departmentid/>
<name>Frazier, Scott</name>
<job_codeid>21</job_codeid>
<role_id>48</role_id>
<id>4</id>
<filterset_ids/>
<active/>
<externalid>34287</externalid>
<primary_filter_set>11</primary_filter_set>
<nickname>scott.frazier@ul.com</nickname>
<addr>
<Address>
<salutation/>
<mobile/>
<state/>
<email>scott.frazier@ul.com</email>
<addr2/>
<city/>
<fax/>
<contact_id/>
<addr1/>
<id>-1</id>
<middle/>
<country/>
<first>Scott</first>
<last>Frazier</last>
<phone/>
<addr4/>
<zip/>
<addr3/>
</Address>
</addr>
</User>
</Read >
</response>
Connection JSON:
{
"authentications": {
"login": {
"authType": "basic",
"properties": {
"SOAP_ENDPOINT": "****",
"USERNAME": "*****",
"PASSWORD": "*****",
"company":"****",
"PASSWORD_TYPE": "PasswordText",
"REQUESTPARAMS": {
"CONTENT-TYPE": "text/xml;charset=UTF-8",
"Connection": "Keep-Alive",
"Keep-Alive": "timeout=600, max=1000"
}
}
},
"accessProvisioning": {
"authType": "basic",
"properties": {
"SOAP_ENDPOINT": "*******",
"USERNAME": "**",
"PASSWORD": "***",
"company":"****",
"PASSWORD_TYPE": "PasswordText",
"REQUESTPARAMS": {
"CONTENT-TYPE": "text/xml;charset=UTF-8",
"Connection": "Keep-Alive",
"Keep-Alive": "timeout=600, max=1000"
}
}
}
}
}
AccountImportJSON:
{
"CONNECTION":"login",
"REQUESTXML":"<request API_version="1.0" client="ULSB2" client_ver="1.1" namespace="default" key="i6SlzfCtaiWgXIRt9xu3"><Read type="User" method="all" attr_name1="name" limit="1000"><_Return><name/><id/><nickname/></_Return></Read></request>",
"RESPONSEDATAPATH": "response.Read.children()",
"ACCOUNTMAPPING": "NAME:User.nickname,ACCOUNTID:User.id"
}
Getting error in import, Can anyone please share any sample import JSON?
Regards,
Atrayee