Some fields return as null when using List endpoints

User is trying to retrieve a list of employees using the Employee List endpoint, but some fields such as address return as null even though addresses are defined for the employees in CORE.

This happens because the list endpoints return flat models by default, i.e., nested properties (sub-models) are not included in the response. To retrieve the sub-models using the list endpoints, you need to use the expand parameter in the request URL. Check out API Documentation for details.

Was this article helpful?
1 out of 1 found this helpful