Fetch Lead Details
GET /order/client/tieup/fetch/lead-by-id?clientId=<client_id>&leadId=000
curl --location '{{url}}/order/client/tieup/fetch/lead-by-id?clientId=<client_id>&leadId=0' \
--header 'key-id: {{client_secret_code}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: {{auth_token}}' \
--data ''Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
key-id
{{client_secret_code}}
Parameter
Name
Type
Description
clientId
string
Client ID
leadId
number
Unique lead ID
Response
{
"success": true,
"message": "lead details fetched successfully!",
"data": {
"leadId": 0000,
"clientRefId": "xxxxxxx",
"serviceId": 1,
"pickUpLocation": "0.0, 1.1",
"dropLocation": "0.0, 1.1",
"vehicleType": "xxxxx",
"pinCode": null,
"orderId": null,
"productName": "xxxx",
"issue": "xxxxx",
"customerName": "xxxxx",
"vehicleMake": "xxxxxx",
"vehicleModel": "xxxx",
"serviceName": "xxxxxx",
"clientName": "xxxxx",
"districtName": "xxxxxx"
}
}Last updated