The correct query syntax for searching customers belonging to a segment using the REST API in the SAP Customer Data Platform is to use the having function in conjunction with the segments object. This allows the query to specify the segment name and value as conditions for the search. The syntax select * from profile where having(segments, (segments.name = and segments.value = )) is used to retrieve all profiles that match the specified segment criteria. References = This information can be found in the SAP Help Portal’s documentation on Query Syntax Specification for the SAP Customer Data Platform1.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit