Upgrade the CompanyUsersRestApi module
Edit on GitHubUpgrading from version 1.3.0 to version 2.0.0
In this version, the behavior of the GET company-users
endpoint was changed. Now, it supports fetching of a single company user by uuid, a collection of company users available in a company, and a collection of Business-on-Behalf Company Users a user can impersonate as.
Adjust your code to use new functionality:
-
If you were using the
/company-users
endpoint to get available Business-on-Behalf Company Users, change it to/company-users/mine
. -
Regenerate transfer objects:
vendor/bin/console transfer:generate
- Make sure that database schema is up to date:
vendor/bin/console propel:install
vendor/bin/console transfer:generate
Estimated migration time: ~5 minutes
Thank you!
For submitting the form