How to populate enum value from API call

still awaiting for your reply.