I'm trying to add a new application through WAS API. For which I have created an authentication record and trying to set this record as the default record for the application being created.
<?xml version="1.0" encoding="UTF-8"?>
<ServiceRequest> <data> <WebApp> <name>Name</name> <url>https://web_ip</url> <defaultScanner> <type>INTERNAL</type> <friendlyName>scanner name</friendlyName> </defaultScanner> <logoutRegexList> <set> <UrlEntry regex="true">logout</UrlEntry> </set> </logoutRegexList> <config> <defaultAuthRecord> <id>Auth Record ID</id> </defaultAuthRecord> </config> </WebApp> </data> </ServiceRequest>
This request is being sent to create/was/webapp. "INVALID_REQUEST" is the error I'm receiving
I'm able to create a valid application if "defaultAuthRecord" tag is not included in the parameter. API User Guide snap for your reference
Where do you think I'm making a mistake here? Or is there any other way to add default Authentication record for a Web Application