Analytics API requests - filtering by segments
Hi,
I've recently started using the API to make requests and am now successfully pulling metrics and splitting them out by elements.
However I am not succeeding to filter my results by previously configured segments. I have two issues:
1) To obtain the segment ID I am pulling a list using Segments.Get. It returns a list of 101 segments showing ID and name, but this does not appear to be comprehensive, and doesn't include the one I'm looking for. The segment definitely exists because I'm using it regularly in workspace.
2) In the absence of the segment I'm attempting to recreate it by using inline segments, as described here (analytics-1.4-apis/inline_segments.md at master · AdobeDocs/analytics-1.4-apis · GitHub ). However the original segment is based on an exclusion - e.g. "propXX" is NOT "zzz". The documentation shows how to create an inclusive one with " segment element selected " but not an exclusive one . Any ideas how to achieve this?
Thanks!