POST api/Leads/AddFollowUpWithUpdateStage

Request Information

URI Parameters

None.

Body Parameters

AddLeadFollowUpWithUpdateStagePostVm
NameDescriptionTypeAdditional information
LeadId

integer

None.

LeadInterestId

integer

None.

ContactId

integer

None.

ChannelPartnerId

integer

None.

FollowUpId

integer

None.

IsStageUpdated

boolean

None.

StageId

integer

None.

StageReasonId

integer

None.

LIStageId

integer

None.

LIStageReasonId

integer

None.

IsTaskAdded

boolean

None.

Type

string

None.

LeadActivityTypeId

integer

None.

Title

string

None.

Remark

string

None.

StartDateTime

date

None.

EndDateTime

date

None.

Confirmation

string

None.

IsPerformed

boolean

None.

Feedback

string

None.

UserId

integer

None.

ProjectIds

Collection of integer

None.

ToBeReminded

boolean

None.

ReminderOver

string

None.

LocationAddress

string

None.

LocationType

string

None.

FollowUpStatusId

integer

None.

SiteVisitType

string

None.

Users

Collection of SiteVisitUserVm

None.

IsNoteAdded

boolean

None.

Note

string

None.

Request Formats

application/json, text/json

Sample:
{
  "LeadId": 1,
  "LeadInterestId": 2,
  "ContactId": 3,
  "ChannelPartnerId": 4,
  "FollowUpId": 5,
  "IsStageUpdated": true,
  "StageId": 1,
  "StageReasonId": 1,
  "LIStageId": 1,
  "LIStageReasonId": 1,
  "IsTaskAdded": true,
  "Type": "sample string 8",
  "LeadActivityTypeId": 1,
  "Title": "sample string 9",
  "Remark": "sample string 10",
  "StartDateTime": "2025-12-07T15:32:51.3677181Z",
  "EndDateTime": "2025-12-07T15:32:51.3677181Z",
  "Confirmation": "sample string 12",
  "IsPerformed": true,
  "Feedback": "sample string 14",
  "UserId": 15,
  "ProjectIds": [
    1,
    2
  ],
  "ToBeReminded": true,
  "ReminderOver": "sample string 17",
  "LocationAddress": "sample string 18",
  "LocationType": "sample string 19",
  "FollowUpStatusId": 1,
  "SiteVisitType": "sample string 20",
  "Users": [
    {
      "Id": 1,
      "Name": "sample string 1"
    },
    {
      "Id": 1,
      "Name": "sample string 1"
    }
  ],
  "IsNoteAdded": true,
  "Note": "sample string 22"
}

application/xml, text/xml

Sample:
<AddLeadFollowUpWithUpdateStagePostVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Services.Lead">
  <ChannelPartnerId>4</ChannelPartnerId>
  <Confirmation>sample string 12</Confirmation>
  <ContactId>3</ContactId>
  <EndDateTime>2025-12-07T21:02:51.3677181+05:30</EndDateTime>
  <Feedback>sample string 14</Feedback>
  <FollowUpId>5</FollowUpId>
  <FollowUpStatusId>1</FollowUpStatusId>
  <IsNoteAdded>true</IsNoteAdded>
  <IsPerformed>true</IsPerformed>
  <IsStageUpdated>true</IsStageUpdated>
  <IsTaskAdded>true</IsTaskAdded>
  <LIStageId>1</LIStageId>
  <LIStageReasonId>1</LIStageReasonId>
  <LeadActivityTypeId>1</LeadActivityTypeId>
  <LeadId>1</LeadId>
  <LeadInterestId>2</LeadInterestId>
  <LocationAddress>sample string 18</LocationAddress>
  <LocationType>sample string 19</LocationType>
  <Note>sample string 22</Note>
  <ProjectIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </ProjectIds>
  <Remark>sample string 10</Remark>
  <ReminderOver>sample string 17</ReminderOver>
  <SiteVisitType>sample string 20</SiteVisitType>
  <StageId>1</StageId>
  <StageReasonId>1</StageReasonId>
  <StartDateTime>2025-12-07T21:02:51.3677181+05:30</StartDateTime>
  <Title>sample string 9</Title>
  <ToBeReminded>true</ToBeReminded>
  <Type>sample string 8</Type>
  <UserId>15</UserId>
  <Users>
    <SiteVisitUserVm>
      <Id>1</Id>
      <Name>sample string 1</Name>
    </SiteVisitUserVm>
    <SiteVisitUserVm>
      <Id>1</Id>
      <Name>sample string 1</Name>
    </SiteVisitUserVm>
  </Users>
</AddLeadFollowUpWithUpdateStagePostVm>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AddLeadFollowUpWithUpdateStagePostVm'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.