Symptom
Unable to Retrieve Directed Relationships Data of Accounts via API
Environment
SAP Sales Cloud and SAP Service Cloud Version 2
Reproducing the Issue
- Error thrown when performing a GET call in POSTMAN as follows:
https://<tenanturl>/sap/c4c/api/v1/account-service/accounts/relationships?directedRelationshipRole eq "rolecode"
Resolution
Perform the GET call as follows:
https://<tenanturl>/sap/c4c/api/v1/account-service/accounts?$filter=(lifeCycleStatus%20ne%20'DELETED')%20and%20(relationships/directedRelationshipRole%20eq%20'rolecode')
Keywords
Directed Relationships, api, account, postman , KBA , CEC-CRM-ACC , Account for SAP Sales/Service Cloud , Problem
Product
SAP Sales Cloud and SAP Service Cloud Version 2 1.0