How do I map the "id" value of the entitlement

How do I put the “id” value of the entitlement in the body? Image1 (I would put $plan. ??? )
I need to pass this value that is in image 2


The ID value of an entitlement will indeed be sent in the provisioning plan.
You can simply use $plan.(entitlementTypeName)$. Where entitlementTypeName is the name of the entitlement type, for example ‘group’.
So looking at your screenshots you will need to use $plan.group$

Hi @clebercarvalhoRaise

Thank you asking the question. In add entitlement you will need to change the hardcode 970 value with $plan.profiles. That should work i believe in your case.

Please try it and let me know if that helps.

Regards
Vikas.

Hi @clebercarvalhoRaise,

In your account schemas which attributes represent entitilement ?

Do I need to create a provisional policy?

No, a provisioning plan is created automatically by ISC when a create/update is triggered.
You only need to replace the “970” in your body with $plan.profiles$
That should suffice.

In the request body, profiles object contain only id ?

I mean :

{
...
"profiles" : [
      {
       "id" : "970"
     },
    {
       "id" : "otherId"
     }
]

}

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