Genpact interview question

Api status codes