Professional Documents
Culture Documents
Introduction
This is a two-step challenge and those who complete both the steps will be eligible for Qualifier 2.
You should adhere to the signature of the API and should get a response code “200” in the response to step 2
submit your entry successfully.
Challenge
Step 1:
a. Execute a get API and pass your college registered email id as an input parameter.
b. You will get a secret key (x) and a list of numbers (Y)
c. You need to calculate below statistics on the numbers received (Y)
I. Count
II. Minimum
III. Maximum
IV. Mean
V. Median
VI. Mode
Step 2:
a. Execute another post API and pass your secret along with the calculated statistical values.
b. You will get
I. “Your response has been submitted successfully” if you’ve sent expected body to the Post
API
II. “Please try again!!!” if these are any error in your Post request.
Authentication
These are open API and does not require any authentication or authorization
Error Codes
Any response other than ‘Your response has been submitted successfully’ and status code:200 would be
considered un-successful attempt. You can retry in case of any response message other than ‘Your response
has been submitted successfully’.
Rate limit
You can only try and call the API 10 times at max. In case of multiple attempts, the last correct attempt
would be considered as your final submission.
Step 1
Method Get
https://bfhldevapigw.healthrx.co.in/campus-hiring/input?id=Mobile
Endpoint
Step 2
Method Post
https://bfhldevapigw.healthrx.co.in/campus-hiring/submit?id=Mobile
Endpoint
Please note: