# Web Services SaaS Connector | How to pass attribute received in JSON response (of Create Operation) in GetObject Request URL?

**URL:** <https://developer.sailpoint.com/discuss/t/web-services-saas-connector-how-to-pass-attribute-received-in-json-response-of-create-operation-in-getobject-request-url/80513>\
**Category:** SHF Discussion and Questions\
**Tags:** webservice-connector, sailpoint-identity-security, saas-connector, apis\
**Created:** [September 9, 2024, 10:20am UTC](https://developer.sailpoint.com/discuss/t/web-services-saas-connector-how-to-pass-attribute-received-in-json-response-of-create-operation-in-getobject-request-url/80513 "2024-09-09T10:20:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SailPoint\_Learner](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@SailPoint\_Learner](https://developer.sailpoint.com/discuss/u/SailPoint_Learner)\
**Post date:** [September 9, 2024, 10:20am UTC](https://developer.sailpoint.com/discuss/t/web-services-saas-connector-how-to-pass-attribute-received-in-json-response-of-create-operation-in-getobject-request-url/80513/1 "2024-09-09T10:20:14Z")

</div>

Hi Experts,

I’m working on “Web Services SaaS Connector” and for one of the applications:

1. Create operation response is: `{"isSuccess: true, "message": "account has been created", "data": {"userId": Dynamically generated integer}}`
2. As account created in target is not displayed in IdentityNow until Account Aggregation is executed and Add Entitlement Operation requires userId to be passed in request body so I added getObject operation to bring the account in IdentityNow right after account creation.

Request URL for getObject call is https://…/…/userId.

I’ve tried these Request URLs for getObject but none of them has worked:

1. https://…/…/$getObject.nativeIdentity$
2. https://…/…/$plan.nativeIdentity$
3. https://…/…/$response.data.userId$
4. https://…/…/$output.attributes.data.userId$

Other options tried to execute getObject, but they didn’t work:

1. Added Account Aggregation as Child of Create Account EndPoint
2. Added another Create Account Operation to execute getObject

Have I missed anything? Could you please advise on this?

---

<div class="post-metadata">

**Author:** ![shekhardas1825](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/shekhardas1825/32/20889_2.png) [@shekhardas1825](https://developer.sailpoint.com/discuss/u/shekhardas1825)\
**Post date:** [September 9, 2024, 10:50am UTC](https://developer.sailpoint.com/discuss/t/web-services-saas-connector-how-to-pass-attribute-received-in-json-response-of-create-operation-in-getobject-request-url/80513/2 "2024-09-09T10:50:45Z")

</div>

@SailPoint_Learner There is a similar post of resolving the issue, you have to write a afterOperation connector rule:

[Webservice Connector - Create Account Operation - Empty Response - Identity Security Cloud (ISC) / ISC Discussion and Questions - SailPoint Developer Community](https://developer.sailpoint.com/discuss/t/webservice-connector-create-account-operation-empty-response/72077)

You may also look into below:  
[Create Account returns id(nativeIdentity in the schema), it is not getting mapped - Identity Security Cloud (ISC) / ISC Discussion and Questions - SailPoint Developer Community](https://developer.sailpoint.com/discuss/t/create-account-returns-id-nativeidentity-in-the-schema-it-is-not-getting-mapped/75001/13)

---

<div class="post-metadata">

**Author:** ![SailPoint\_Learner](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@SailPoint\_Learner](https://developer.sailpoint.com/discuss/u/SailPoint_Learner)\
**Post date:** [September 9, 2024, 10:55am UTC](https://developer.sailpoint.com/discuss/t/web-services-saas-connector-how-to-pass-attribute-received-in-json-response-of-create-operation-in-getobject-request-url/80513/3 "2024-09-09T10:55:47Z")

</div>

Thanks for responding @shekhardas1825.

As this is **Web Services SaaS Connector** , rules won’t work.

I tried implementing customizers but getting this error while debugging:

node:internal/child\_process:421  
throw new ErrnoException(err, ‘spawn’);

I tried adding shell:true in environment variable to fix this error but that also didn’t work.

Any other suggestion?

---

<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:** [November 8, 2024, 10:56am UTC](https://developer.sailpoint.com/discuss/t/web-services-saas-connector-how-to-pass-attribute-received-in-json-response-of-create-operation-in-getobject-request-url/80513/4 "2024-11-08T10:56:11Z")

</div>

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