T-Systems Interview Question

write one rest API with exceptional handling