Atlas Copco Group interview question

How would you approach designing an api for this problem?