patch https://api-smartflo.tatateleservices.com/v1/broadcast/leads/
This API allows you to patch the leads list.
Sample Request
curl --request PATCH \
--url https://api-smartflo.tatateleservices.com/v1/broadcast/leads/id \
--header 'accept: application/json' \
--header 'content-type: application/json'
š Important!
Before we begin, note that the * sign denotes the mandatory variables in each table.
Request Variables (Path Params)
The following parameter is required to patch a lead list.
Variable Name | Description | Data Type |
---|---|---|
id | Unique ID of the lead list. | String |
Request Variables (Body Params)
The following parameter is required to patch a lead list:
Variable Name | Description | Data Type |
---|---|---|
field* | Type of field through which you want to update. | Integer |
lead_data* | Fields that needs to be updated. | object (LEAD_DATA) |
data* | List of data that is searched corresponding to the field provided & fields are updated. | array of strings |
Response Variables
The response returned is as following:
Variable Name | Description | Data Type |
---|---|---|
Success | The request success status, the possible values are: True (default) for success. False for failure. | Boolean |
Message | The message corresponding to the success status. For example, in 400 Response where the "success" variable pops as True, the message displayed is shown here. | String |