API to create a new customer - register a new customer on GoPlayr.

Resource URL

https://www.goplayr.com/api/cities

Parameters

ParameterDescriptionOptionalDefault
auth_key auth_key is mandatory for authentication

Example

POST https://www.goplayr.com/api/cities

Request

  Raw Headers :

  Content-Type: application/x-www-form-urlencoded

     Raw Payload : auth_key=YOURAUTHKEYHERE  

Response

  {
   {"status":true,"message":"City List","data":{"Cities":[{"id":"1","country_id":"1","name":"Pune","lat":"18.5204","long":"73.8567","status":"1"},{"id":"2","country_id":"1","name":"Mumbai","lat":"19.0760","long":"72.8777","status":"1"},
   {"id":"3","country_id":"1","name":"Delhi","lat":"28.5494489","long":"77.2001368","status":"1"},{"id":"4","country_id":"1","name":"Hyderabad","lat":"16.2429778","long":"80.628529","status":"1"},{"id":"5","country_id":"1","name":"Bengaluru","lat":"12.9715987","long":"77.5945627","status":"1"},
   {"id":"6","country_id":"1","name":"Chennai","lat":"13.0826802","long":"80.2707184","status":"1"},{"id":"7","country_id":"1","name":"Kolkata","lat":"22.572646","long":"88.363895","status":"1"},{"id":"8","country_id":"1","name":"Gurugram","lat":"28.4595","long":"77.0266","status":"1"},
   {"id":"11","country_id":"1","name":"Chandigarh","lat":"30.7333","long":"76.7794","status":"1"},{"id":"15","country_id":"1","name":"Goa","lat":"15.4909","long":"73.8278","status":"1"},{"id":"26","country_id":"1","name":"Indore","lat":"22.7196","long":"75.8577","status":"1"},
   {"id":"27","country_id":"1","name":"Nagpur","lat":"21.1458","long":"79.0882","status":"1"},{"id":"28","country_id":"1","name":"Ahmedabad","lat":"23.0225","long":"72.5714","status":"1"}]}}
}  

Error Response

    

Resource Information

Rate Limited True
Response Format JSON
Authentication None