This api is to get the customer details using his phone number.

Resource URL

https://www.goplayr.com/Api/getCustomerDetailsByPhone/phoneNumber/flag/auth_key

Parameters

ParameterDescriptionOptionalDefault
phone phone number is mandatory
flag Flag is always 1 1
auth_key auth_key required for authentication

Example

GET https://www.goplayr.com/Api/getCustomerDetailsByPhone/phoneNumber/flag/auth_key

Request

  None  

Response

  {
   {"status":true,"message":"Player detail","data":{"Player":{"id":"1752","email":"temp@gmail.com","username":"Shwetang-RD-Z0j00K0110110110000","device_id":null,
   "fname":"Shwetang RD","lname":null,"gender":null,"contact":"9611360801","address":"None","city_name":null,"city":"1","age":"0","title":null,"description":null,
   "longitude":"73.8567","latitude":"18.5204","profile_pic":"https:\/\/s3-us-west-2.amazonaws.com\/goplayr\/img\/default_profile.png","created":"2017-01-17 19:39:27"},
   "PlayerSetting":{"radious_on_map":"200","daily":"1","weekday":"","specificday":"","new_match":"1","endorsment":"1","message":"1","contact_no":"1"},
   "PlayerSports":[{"id":"1873","sports_id":"1","sports_type_id":"2","name":"Cricket","icon":"https:\/\/s3-us-west-2.amazonaws.com\/goplayr\/img\/sports\/20160514211341_1.png",
   "icon2":"https:\/\/s3-us-west-2.amazonaws.com\/goplayr\/img\/sports\/20160514211341_2.png","SkillsRatedByPlayers":[],"rate":"0"},{"id":"1874","sports_id":"2","sports_type_id":"2",
   "name":"Football","icon":"https:\/\/s3-us-west-2.amazonaws.com\/goplayr\/img\/sports\/20160916201159_1.png","icon2":"https:\/\/s3-us-west-2.amazonaws.com\/goplayr\/img\/sports\/20160514211314_2.png",
   "SkillsRatedByPlayers":[],"rate":"0"},{"id":"1875","sports_id":"8","sports_type_id":"2","name":"Cycling","icon":"https:\/\/s3-us-west-2.amazonaws.com\/goplayr\/img\/sports\/20160514211158_1.png",
   "icon2":"https:\/\/s3-us-west-2.amazonaws.com\/goplayr\/img\/sports\/20160514211158_2.png","SkillsRatedByPlayers":[],"rate":"0"},{"id":"1876","sports_id":"18","sports_type_id":"2","name":"Swimming",
   "icon":"https:\/\/s3-us-west-2.amazonaws.com\/goplayr\/img\/sports\/20160916201301_1.png","icon2":"https:\/\/s3-us-west-2.amazonaws.com\/goplayr\/img\/sports\/20160514210804_2.png",
   "SkillsRatedByPlayers":[],"rate":"0"}]}}
}  

Error Response

    

Resource Information

Rate Limited True
Response Format JSON
Authentication None