Hi team,
Is there any replacement of transform preview API as earlier I am using this cc API
https://sailpoint.api.identitynow.com/cc/api/user/preview/:identityId.
Hi @Faizan9097 ,
Greeting of the Day!
please use the below curl. Hope it is helpful for you
....
curl -L 'https://sailpoint.api.identitynow.com/v3/identity-profiles/identity-preview' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"identityId": "2c9180857893f12901789445619b0366",
"identityAttributeConfig": {
"enabled": true,
"attributeTransforms": [
{
"identityAttributeName": "email",
"transformDefinition": {
"type": "accountAttribute",
"attributes": {
"attributeName": "e-mail",
"sourceName": "MySource",
"sourceId": "2c9180877a826e68017a8c0b03da1a53"
}
}
}
]
}
}
Thank You
Hi @Faizan9097 ,
You can view the preview from Identity Profile itself, please navigate through below:
Identity Management → Identity Profiles → Mapping (you will see a preview option)
Here is the SailPoint API documentation to Generate Identity Profile Preview
show-identity-preview | SailPoint Developer Community
If I want to use that transform on provisioning policy on particular source then how we can check.
You can validate in different ways:
- Add a test attribute in identity profile → Attach the transform → Check in the preview (in the UI).
- Use above API shared.
- You can also use VS code.
2 Likes
Thanks alot Shekhar.
2 Likes
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.