Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/05/2024 08:25 AM - edited 09/05/2024 08:35 AM
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)
09/05/2024 08:29 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.‼️‼️⚠️
09/05/2024 08:34 AM
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>'