# How Fetch account link attributes to update in body in webservices connector

**URL:** <https://developer.sailpoint.com/discuss/t/how-fetch-account-link-attributes-to-update-in-body-in-webservices-connector/82654>\
**Category:** SHF Discussion and Questions\
**Tags:** webservice-connector, apis, entitlements, rules, identity-security-cloud\
**Created:** [September 24, 2024, 8:19am UTC](https://developer.sailpoint.com/discuss/t/how-fetch-account-link-attributes-to-update-in-body-in-webservices-connector/82654 "2024-09-24T08:19:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PrashRV](https://avatars.discourse-cdn.com/v4/letter/p/ba9def/32.png) [@PrashRV](https://developer.sailpoint.com/discuss/u/PrashRV)\
**Post date:** [September 24, 2024, 8:19am UTC](https://developer.sailpoint.com/discuss/t/how-fetch-account-link-attributes-to-update-in-body-in-webservices-connector/82654/1 "2024-09-24T08:19:11Z")

</div>

Hi,

can someone help me on how to fetch the link object of specific identity in ISC, as my requirement is to update the body with some attributes from application account .

Thanks  
Prashanth

---

<div class="post-metadata">

**Author:** ![gourab](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/gourab/32/18650_2.png) [@gourab](https://developer.sailpoint.com/discuss/u/gourab)\
**Post date:** [September 24, 2024, 8:40am UTC](https://developer.sailpoint.com/discuss/t/how-fetch-account-link-attributes-to-update-in-body-in-webservices-connector/82654/2 "2024-09-24T08:40:54Z")

</div>

Hi @PrashRV ,  
What I have understood is you want some account attributes for update operation in your webservice connector. If this is the case you can follow this approach:

**Parent Endpoint** : First, retrieve the account details and map them in the response mapping.

**Child Endpoint** : Extract the values from the Parent response and pass them to the body.  
See similar post here : [Add/Remove Entitlement operation $plan placeholder issues](https://developer.sailpoint.com/discuss/t/add-remove-entitlement-operation-plan-placeholder-issues/19770)

**Another alternate** solution could be to use a beforeOperation rule to set your request body with required attributes.

Please check below documentation examples are given:  
[Web Services Before Operation Rule (sailpoint.com)](https://documentation.sailpoint.com/connectors/identityiq/webservices/help/integrating_webservices/beforeoperationrule.html#:~:text=The%20Before%20Operation%20Rule%20is%20used%20to%20calculate,such%20as%20Test%20Connection%2C%20Aggregation%2C%20and%20so%20on.)

[IdentityNow Rule Guide - Web Services Before Operation Rule - Compass (sailpoint.com)](https://community.sailpoint.com/t5/IdentityNow-Wiki/IdentityNow-Rule-Guide-Web-Services-Before-Operation-Rule/ta-p/77337)

[Web Services Before Operation Rule | SailPoint Developer Community](https://developer.sailpoint.com/docs/extensibility/rules/connector-rules/webservices-before-provisioning-rule/)

---

<div class="post-metadata">

**Author:** ![gmilunich](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/gmilunich/32/8431_2.png) [@gmilunich](https://developer.sailpoint.com/discuss/u/gmilunich)\
**Post date:** [October 30, 2024, 3:23pm UTC](https://developer.sailpoint.com/discuss/t/how-fetch-account-link-attributes-to-update-in-body-in-webservices-connector/82654/3 "2024-10-30T15:23:55Z")

</div>

> [@PrashRV](#):
>
> can someone help me on how to fetch the link object of specific identity in ISC, as my requirement is to update the body with some attributes from application account .

Are you looking to get attributes off of the Source Account or the Identity itself? I believe you are looking for the attributes off the Source Account (based on Link reference) but I wanted to clarify.

For those attributes, are you trying to get the ones that have changed, or are you looking to use existing attributes as part of the body that have not changed? (ie if the endpoint requires all attributes to be sent.)

> [@gourab](#):
>
> What I have understood is you want some account attributes for update operation in your webservice connector. If this is the case you can follow this approach:
> 
> **Parent Endpoint** : First, retrieve the account details and map them in the response mapping.
> 
> **Child Endpoint** : Extract the values from the Parent response and pass them to the body.  
> See similar post here : [Add/Remove Entitlement operation $plan placeholder issues](https://developer.sailpoint.com/discuss/t/add-remove-entitlement-operation-plan-placeholder-issues/19770)
> 
> **Another alternate** solution could be to use a beforeOperation rule to set your request body with required attributes.
> 
> Please check below documentation examples are given:  
> [Web Services Before Operation Rule (sailpoint.com)](https://documentation.sailpoint.com/connectors/identityiq/webservices/help/integrating_webservices/beforeoperationrule.html#:~:text=The%20Before%20Operation%20Rule%20is%20used%20to%20calculate,such%20as%20Test%20Connection%2C%20Aggregation%2C%20and%20so%20on.)
> 
> [IdentityNow Rule Guide - Web Services Before Operation Rule - Compass (sailpoint.com)](https://community.sailpoint.com/t5/IdentityNow-Wiki/IdentityNow-Rule-Guide-Web-Services-Before-Operation-Rule/ta-p/77337)
> 
> [Web Services Before Operation Rule | SailPoint Developer Community](https://developer.sailpoint.com/docs/extensibility/rules/connector-rules/webservices-before-provisioning-rule/)

First, this is a great response with a lot of detail.

Second, these are also the suggestions I would have made for this question.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [December 29, 2024, 3:24pm UTC](https://developer.sailpoint.com/discuss/t/how-fetch-account-link-attributes-to-update-in-body-in-webservices-connector/82654/4 "2024-12-29T15:24:12Z")

</div>

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