Web service connector

Hello,
I have a web service connector on which we have different attributes that I send in an API call.
Here is the call body:

{"Travellers":[{
         "Login":"$plan.nativeIdentity$",
        "LastName":"$plan.lastName$",
        "FirstName":"$plan.firstName$",
        "CompanyCode":"$plan.companyCode$",
        "Roles":$plan.roles$
}]}

Every variable works fine except $plan.roles$. This variable is a list, and the corresponding attribute in the account schema is marked as entitlement. The API operation is: “add-entitlement”. I am sure that the provisioning plan containts an attribute request called “roles” but I am not sure why the body of my API calls does not contain the values.

Regards.

Hi Nadim,
Can you check in the configuration if you have checked the box createAccountwithEnt ?

Thanks
Rakesh Bhati

Hello Rakesh,
My problem was on operation add entitlement. the endpoint requires that we provide mandatory information (Login, Last Name, First Name and company code) on top of the roles that need to be added.

We have realized that for some reason on the add entitlement operation, IDN removed all fields that were not flagged as entitlements or were not the native Identity, even thought we have a before provisioning rule to add all the necessary infomration in the plan.
To solve this issue we created a before Operation rule to add those fields in the API body.

Regards,
Nadim

1 Like

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