AJ Bell interview question

Build a basic API to their specification