NTT DATA interview question

How to consume the API.