Topic by Regis Lecoq
Content
Hi All,
My requirement is to retrieve the specific Owner of an Incident through the REST Connect API. The problem is when I send my Incident GET request, I can see in the response the "assignedTo": is blank, only the "staffGroup": returns some value. (eg: "id": 100001).
If I run the same GET on the Account, I can see the Incident Owner indeed belongs to this Group "100001". Problem is, how do I know which one is the Assigned Owner since there can be a multitude of Staff Accounts in this Group, and I do not see a "Primary" Flag.. Anybody has run into this issue?
Please advise. Thank You!.
Also: looking at Data Dictionary I can see there is an existing field under Incidents "Assigned Account" (incidents.assgn_acct_id) which contains exactly the data I am looking for.. but if I create a Custom Field based on this assgn_acct_id column, it is always blank in the Response.. (even though it is necessarily populated through the Join incidents.assgn_acct_id = accounts.acct_id)
"assgn_acct_id": null
Thank you in Advance for any help!