Domanda di colloquio di Atlas Copco Group

How would you approach designing an api for this problem?