v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Update Lead Followups

Lets you update the recent follow up date and till id of a lead.

post/leads/{leadId}/followup

Path parameters

leadIdstring required

Unique ID of the lead to update.

Request body

followedUpByinteger

Unique ID of the staff who followed up.

createdOnstring date

Date and time of lead creation in YYYY-MM-DDThh:mm:ssTZD format. Example: 2018-10-05T08:00:00+05:30

followedUpOnstring date required

Date of recent follow up discussion with the customer in YYYY-MM-DDTHH:MM:SS+TZD

createdByinteger required

Till ID that updated the follow up

nextFollowUpstring date

Date and time of the next follow up discussion with the customer in YYYY-MM-DDTHH:MM:SS+TZD

notesstring

Brief follow up notes.

scheduledFollowUpstring date

Actual scheduled date and time of the current follow up discussion with the customer in YYYY-MM-DDTHH:MM:SS+TZD

Response

200

createdByinteger
createdOnstring
idinteger
lastFollowUpstring
lastUpdatedByinteger
lastUpdatedOnstring
leadForstring
orgSourceIdinteger
statusstring
typestring
userIdinteger

Example response

{
  "createdBy": 124,
  "createdOn": "2019-04-16T05:19:06Z",
  "extendedFields": {
    "trial_status": "Not Done"
  },
  "followUpDetails": [
    {
      "createdBy": 124,
      "createdOn": "2019-04-16T05:19:06Z",
      "followedUpBy": 124,
      "followedUpOn": "2019-04-17T05:19:06Z",
      "id": 122,
      "leadId": 63,
      "notes": "notes 1",
      "scheduledFollowUp": "2019-04-17T05:19:06Z",
      "userId": 340417059
    }
  ],
  "id": 63,
  "lastFollowUp": "2019-04-17T05:19:06Z",
  "lastUpdatedBy": 124,
  "lastUpdatedOn": "2019-04-16T05:19:06Z",
  "leadFor": "sku_902307",
  "orgSourceId": -1,
  "status": "OPEN",
  "statusLogDetails": [
    {
      "createdBy": 124,
      "createdOn": "2019-04-16T05:19:06Z",
      "id": 137,
      "leadId": 63,
      "reason": "Reason1",
      "reasonId": 2,
      "status": "OPEN",
      "userId": 340417059
    }
  ],
  "type": "SKU",
  "userId": 340417059
}