You used the "employment_information_country" filter in your query, but the "job_information" records in the results weren't filtered out by the parameter.
- SAP SuccessFactors HXM Suite
- Compound Employee API
Reproducing the Issue
Execute a Compound Employee query using the filter below:
employment_information_company IN ('AAA')
However, the results show job_information records with the field "company_territory_code = BBB", so it looks like the filter got ignored.
This is the expected behavior, according to the Compound Employee API guide.
The filters "employment_information_country" and "employment_information_company" are used together with the parameter "suppressUnwantedGlobalInfo", according to this page of the guide.
It's stated that the filters will only be applied in the following segments:
So "job_information" segment is not under the filter's scope.
compound employee, ce, compoundemployee, success factors, successfactors, sf, api, parameter, select, filter, segment, value, not apply, not applied, not valid, ignored, incorrect, unwanted, employment_information_company, employment_information_country, suppressUnwantedGlobalInfo, company_territory_code, country , KBA , LOD-SF-INT-CE , Compound Employee API , Problem