Populate enumeration from an API

I am developing an application where user need to select one status value from a list. But this list changes constantly and comes from an external source using REST api. How can I can i dynamically fill an enumeration from the data I am consuming from API or an external data source. 
1 answers

Enumerations in Mendix can only be used for static-predefined values. To assign dynamic values you can add a new entity e.g Status and use a reference selector. https://docs.mendix.com/refguide/reference-selector