Web service QueryEmployeeIn returns service agents in the response.
SAP Business ByDesign
The web service queryemployeein returns both Internal and External Employee (service agents) data. Hence the response will contain Service agents as well.
This is a system designed behaviour.
queryemployeein, Web service , KBA , SRD-HR-PAD , Personnel Administration , Problem
SAP Business ByDesign 2022