Got the e4 gateway demo api working