Path variable in context URL

Hello all,

In the screenshot below, the highlighted number (org id) in the URL is hard coded in all operations. It’s not a part of the account schema or identity profile. It’s unique to the source endpoint.

Is there a way to do some sort of variable substitution in the context URL? Maybe patch a variable in the source?

You can use variable sent from plan. For example, $plan.samplevariable$.

Aren’t $plan variables the ones that are defined for the identity profile (identity attribs)?

If so, then based on my prev. post, the ord id is not a part of that. It’s also not in the account schema

The information of entitlement to remove is available in plan. You can fetch that from plan and use it as a dynamic variable. Other than that, I don’t see any way of assigning dynamic variable directly in the endpoint. You can set dynamic variable via web service before operation rule for that endpoint if you have specific variable to set in the endpoint before invoking that API.

The best case for you is to directly fetch from plan; where you get entitlement information for removal operations. Or use web service before operation rule to set the endpoint as you desired.