to get a personalized navigation.
to get a personalized navigation.
Hi,
I'm writing an integration and was wondering if it is possible to include Attributes when getting a list of projects using the /controller/api/v1/project-endpoint. Currently I receive an empty list of Attributes when trying to do this. While using the /controller/api/v1/project/{projectID}-endpoint to retrieve a specific project includes a populated list of Attributes. Is this behavior expected, and if so, can i force the API to return Attributes when getting a range of Projects somehow?
Solved! Go to Solution.
Hi,
The attributes field gets returned with the values if you use the "expandAttribute" parameter and set it to true:
/controller/api/v1/project?expandAttribute=true
For get specific project, the attribute field is always returned if it has any attributes set.
For the get all endpoint it is documented:
Copyright © 2022 Visma.com. All rights reserved.