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

PRISM SOAP Integration

anuragtripathi
New Contributor II
New Contributor II

Not able to create ticket in PRISM Ivanti, please help 

[
{
"REQUESTXML": "<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"><soap:Body><SubmitRequest xmlns=\"SaaS.Services\"><sessionKey>XXXXXXXXXXXX</sessionKey><tenantId>XXXXXXXXX</tenantId><subscriptionId>XXXXXXXXXXX</subscriptionId><srparameters><FRSHEATServiceReqParam><strName>new_joiner_name</strName><strValue>Test IGAUser3</strValue></FRSHEATServiceReqParam><FRSHEATServiceReqParam><strName>new_joiner_mobile_number</strName><strValue>123123123</strValue></FRSHEATServiceReqParam><FRSHEATServiceReqParam><strName>new_joiner_designation</strName><strValue>Cleaner</strValue></FRSHEATServiceReqParam><FRSHEATServiceReqParam><strName>department</strName><strValue>Cleaning Department</strValue></FRSHEATServiceReqParam><FRSHEATServiceReqParam><strName>division</strName><strValue>Cleaning Division</strValue></FRSHEATServiceReqParam><FRSHEATServiceReqParam><strName>work_location</strName><strValue>Malaysia</strValue></FRSHEATServiceReqParam><FRSHEATServiceReqParam><strName>email_prefchem_com</strName><strValue>test.igauser3@email.com</strValue></FRSHEATServiceReqParam><FRSHEATServiceReqParam><strName>email_prefchem_com_my</strName><strValue>test.igauser3@email.com.my</strValue></FRSHEATServiceReqParam><FRSHEATServiceReqParam><strName>hiring_manager_email</strName><strValue>manager@email.com</strValue></FRSHEATServiceReqParam><FRSHEATServiceReqParam><strName>employment_type</strName><strValue>Permanent</strValue></FRSHEATServiceReqParam><FRSHEATServiceReqParam><strName>report_duty_date</strName><strValue>2024-09-04T09:17:00</strValue></FRSHEATServiceReqParam><FRSHEATServiceReqParam><strName>contract_start_date</strName><strValue>2024-09-01T09:17:00</strValue></FRSHEATServiceReqParam><FRSHEATServiceReqParam><strName>contract_end_date</strName><strValue></strValue></FRSHEATServiceReqParam><FRSHEATServiceReqParam><strName>L1_approver</strName><strValue>PRefChem HR Recruiters</strValue></FRSHEATServiceReqParam><FRSHEATServiceReqParam><strName>requester_name</strName><strValue>Ahmad Syahirulfitri Habibi Mohd Rudin</strValue></FRSHEATServiceReqParam><FRSHEATServiceReqParam><strName>service</strName><strValue>Operations</strValue></FRSHEATServiceReqParam><FRSHEATServiceReqParam><strName>category</strName><strValue>EUC</strValue></FRSHEATServiceReqParam><FRSHEATServiceReqParam><strName>subcategory</strName><strValue>HP</strValue></FRSHEATServiceReqParam><FRSHEATServiceReqParam><strName>team</strName><strValue>ICT_OPS_EUC-L2</strValue></FRSHEATServiceReqParam></srparameters><loginId>XXXXXXXXXXXXXX</loginId></SubmitRequest></soap:Body></soap:Envelope>",
"SOAPACTION": "SaaS.Services/SubmitRequest",
"REQUESTPARAMS": {
"Content-Type": "text/xml; charset=utf-8"
},
"RESPONSEMAPPING": {
"RESPONSECODE": "Body.@fTotalRecurPrice",
"ACCOUNT.ACCOUNTID": "Body.@strRequestNum"
},
"SUCCESSCRITERIA": ["RESPONSECODE=0"]
}
]

 

Error - 
java.lang.Exception: SUCCESSCRITERIA not matched at com.saviynt.provisoning.SoapProvisioningService$_createAccount_closure49_closure91.doCall(SoapProvisioningService.groovy:3187) at com.saviynt.provisoning.SoapProvisioningService$_createAccount_closure49.doCall(SoapProvisioningService.groovy:3105) at com.saviynt.provisoning.SoapProvisioningService.createAccount(SoapProvisioningService.groovy:3079) at com.saviynt.provisoning.SoapProvisioningService.createAccount(SoapProvisioningService.groovy:3008) at com.saviynt.ecm.services.ArsTaskService.createAccountTarget(ArsTaskService.groovy:11844) at com.saviynt.ecm.services.ArsTaskHelperService$_whenTaskTypeIsThreeNewAccountAccess_closure50.doCall(ArsTaskHelperService.groovy:3078) at com.saviynt.ecm.services.ArsTaskHelperService.whenTaskTypeIsThreeNewAccountAccess(ArsTaskHelperService.groovy:3069) at com.saviynt.ecm.services.ArsTaskHelperService$_completeAutoProvTasksUpgraded_closure1.doCall(ArsTaskHelperService.groovy:175) at com.saviynt.ecm.services.ArsTaskHelperService.completeAutoProvTasksUpgraded(ArsTaskHelperService.groovy:160) at MultipleProvisioningJob.execute(MultipleProvisioningJob.groovy:222) at org.quartz.core.JobRunShell.run(JobRunShell.java:199) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)

2 REPLIES 2

rushikeshvartak
All-Star
All-Star

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.‼️‼️⚠️


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

anuragtripathi
New Contributor II
New Contributor II

anuragtripathi_0-1725550385923.png

curl --location 'https://XXXXXXXXXXXXXXXXX/ServiceAPI/FRSHEATIntegration.asmx' \
--header 'Content-Type: text/xml' \
--header 'SOAPAction: "SaaS.Services/SubmitRequest"' \
--data-raw '<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<SubmitRequest xmlns="SaaS.Services">
<sessionKey>XXXXXXXXXXXXXXXX</sessionKey>
<tenantId>XXXXXXXXXXXXXXXXX</tenantId>
<subscriptionId>XXXXXXXXXXXX</subscriptionId>
<srparameters>
<FRSHEATServiceReqParam>
<strName>new_joiner_name</strName>
<strValue>Test IGAUser1</strValue>
</FRSHEATServiceReqParam>
<FRSHEATServiceReqParam>
<strName>new_joiner_mobile_number</strName>
<strValue>123123123</strValue>
</FRSHEATServiceReqParam>
<FRSHEATServiceReqParam>
<strName>new_joiner_designation</strName>
<strValue>Cleaner</strValue>
</FRSHEATServiceReqParam>
<FRSHEATServiceReqParam>
<strName>department</strName>
<strValue>Cleaning Department</strValue>
</FRSHEATServiceReqParam>
<FRSHEATServiceReqParam>
<strName>division</strName>
<strValue>Cleaning Division</strValue>
</FRSHEATServiceReqParam>
<FRSHEATServiceReqParam>
<strName>work_location</strName>
<strValue>XXXXXXXX</strValue>
</FRSHEATServiceReqParam>
<FRSHEATServiceReqParam>
<strName>email_prefchem_com</strName>
<strValue>test.igauser1@email.com</strValue>
</FRSHEATServiceReqParam>
<FRSHEATServiceReqParam>
<strName>email_prefchem_com_my</strName>
<strValue>test.igauser1@email.com.my</strValue>
</FRSHEATServiceReqParam>
<FRSHEATServiceReqParam>
<strName>hiring_manager_email</strName>
<strValue>manager@email.com</strValue>
</FRSHEATServiceReqParam>
<FRSHEATServiceReqParam>
<strName>employment_type</strName>
<strValue>Permanent</strValue>
</FRSHEATServiceReqParam>
<FRSHEATServiceReqParam>
<strName>report_duty_date</strName>
<strValue>2024-09-04T09:17:00</strValue>
</FRSHEATServiceReqParam>
<FRSHEATServiceReqParam>
<strName>contract_start_date</strName>
<strValue>2024-09-01T09:17:00</strValue>
</FRSHEATServiceReqParam>
<FRSHEATServiceReqParam>
<strName>contract_end_date</strName>
<strValue></strValue>
</FRSHEATServiceReqParam>
<FRSHEATServiceReqParam>
<strName>L1_approver</strName>
<strValue>PRefChem HR Recruiters</strValue>
</FRSHEATServiceReqParam>
<FRSHEATServiceReqParam>
<strName>requester_name</strName>
<strValue>XXXXXXXXXXXXXXXXXX</strValue>
</FRSHEATServiceReqParam>
<FRSHEATServiceReqParam>
<strName>service</strName>
<strValue>Operations</strValue>
</FRSHEATServiceReqParam>
<FRSHEATServiceReqParam>
<strName>category</strName>
<strValue>EUC</strValue>
</FRSHEATServiceReqParam>
<FRSHEATServiceReqParam>
<strName>subcategory</strName>
<strValue>HP</strValue>
</FRSHEATServiceReqParam>
<FRSHEATServiceReqParam>
<strName>team</strName>
<strValue>ICT_OPS_EUC-L2</strValue>
</FRSHEATServiceReqParam>
</srparameters>
<loginId>XXXXXXXXXXXXXXXXXXX</loginId>
</SubmitRequest>
</soap:Body>
</soap:Envelope>'