Welcome to REST APIs Document Details
1. Get Token
To authenticate Lead Creator and issue the secure token for further use to call other APIs.
URL :
http://erentregistration.in/Account/GetTokenMethod Type :
POSTRequest Body (JSON) :
{ "Email": "LeadCreatorEmailOrMobileNo", "Password": "XXXXXXX"}Response Body (JSON) :
{ "status": "SUCCESS", "message": "Token generated successfully. It will expired at 9/17/2020 6:32:20 AM", "token": "gtKznc0EnXS3AHipxUVkEDzJifDFgfgONqY2W/zEjDksF55jFkAtYFu0uLDv6fuU7yqpKYVXxx+BZXO5HCtnbaiVTXZfpZTj+cyXR2H5XX2mlhjetyiQVf0KmLPDRofpHsVPEg+s4kqJXSWk3yht/5Ez/FWr3o8Geby4db8fUeVixMWA="}2. Get Domestic Locations
To get all the Domestic Locations we are working for.
URL :
http://erentregistration.in/LeadDetailsAPI/GetDomesticLocationsMethod Type :
GETRequest Headers :
token : gtKznc0EnXS3AHipxUVkEDzJifONqY2W/zEjDksF55jFkAtYFu0uLDv6fuU7yqpKYVXxx+BZXO5HCtnbaiVTXZfpZTj+cyXR2H5XX2mlhjetyiQVf0KmLPDRofpHsVPEg+s4kqJXSWk3yht/5Ez/FWr3o8Geby4db8fUeVixMWA=Response Body (JSON) :
{ "status": "SUCCESS", "message": "Success", "data": [ { "LocationId": 42, "Location": "Agra 281201" }, { "LocationId": 324, "Location": "Ahmednagar 4140001" }, { "LocationId": 44, "Location": "Ajmer 302006" } ] }3. Get International Locations
To get all the International Locations we are working for.
URL :
http://erentregistration.in/LeadDetailsAPI/GetInternationalLocationsMethod Type :
GETRequest Headers :
token : gtKznc0EnXS3AHipxUVkEDzJifONqY2W/zEjDksF55jFkAtYFu0uLDv6fuU7yqpKYVXxx+BZXO5HCtnbaiVTXZfpZTj+cyXR2H5XX2mlhjetyiQVf0KmLPDRofpHsVPEg+s4kqJXSWk3yht/5Ez/FWr3o8Geby4db8fUeVixMWA=Response Body (JSON) :
{ "status": "SUCCESS", "message": "Success", "data": [ { "LocationId": 208, "Location": "AUSTRALIA" }, { "LocationId": 148, "Location": "BAHRAIN" }, { "LocationId": 163, "Location": "BANGKONG / THAILAND " } ] }4. Create Lead
To Create Lead.