Webservice Connector Create Account

Which IIQ version are you inquiring about?

Version 8.3

Share all details related to your problem, including any error messages you may have received.

Is it possible to trigger create account operation web service automatically before an add entitlement,
For example:

  • I have a create account operation follows with an add entitlement
  • when I add an entitlement to that identity, if it doesn’t have an account in that application it creates the account then adds the entitlement
    NB: The account and entitlement are created with two different POST operation

thanks

If I get you correctly - you want to create account and add entitlement in a single POST call right?

If so you can just set this attribute to true

 <entry key="createAccountWithEntReq">
        <value>
          <Boolean>true</Boolean>
        </value>
      </entry>

in the application definition XML.

There is two different POST calls /contexturl1 & /contexturl2 ,
when adding the entitlement, if there is no account it create it then add entitlement in other cas it just add the entitlement

Hi @massinissa ,

Your question isn’t clear. Can you elaborate it more?
From the below statement of yours, create account operation is always automatically triggered before adding entitlement.

“Is it possible to trigger create account operation web service automatically before an add entitlement”

If your requirement is to not call “add entitlement” API again when the request is create type, then as Kamil mentioned, you can declare the flag createAccountWithEntReq as true, which tells the connector that when a create request is initiated “Create Account” Operation also handles the add entitlement.

If you have two POST url’s say, /contexturl1 for Create Account and /contexturl2 for Add Entitlement after creation, you can declare two “Create Account” type operations. First one with the actual Creation API and then followed by Entitlement addition.

Regards,
Uday Kilambi

Hi @massinissa,

In ideal case when you are requesting entitlement then it should invoke your create account and then add entitlement operation.

If you want to place request as per your request, then you can use before operation rule to place the validation request and then perform the actual operation.

Let us know if you need further clarification.

Thanks

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.