POST api/CreateFollowUp

Request Information

URI Parameters

None.

Body Parameters

CreateFollowUpVm
NameDescriptionTypeAdditional information
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.

LeadId

integer

None.

ProjectId

integer

None.

ProjectIds

Collection of integer

None.

ToBeReminded

boolean

None.

ReminderOver

string

None.

CheckIn

date

None.

CheckOut

date

None.

LocationAddress

string

None.

LocationType

string

None.

Image1Url

string

None.

Image2Url

string

None.

Image3Url

string

None.

Lat

decimal number

None.

Lng

decimal number

None.

FollowUpStatusId

integer

None.

SiteVisitType

string

None.

BookingId

integer

None.

CompanyStageId

integer

None.

LeadStageId

integer

None.

CompanyStageReasonId

integer

None.

BookingDate

date

None.

Users

Collection of SiteVisitUserVm

None.

Request Formats

application/json, text/json

Sample:
{
  "Type": "sample string 1",
  "LeadActivityTypeId": 1,
  "Title": "sample string 2",
  "Remark": "sample string 3",
  "StartDateTime": "2025-12-07T15:45:36.1497805Z",
  "EndDateTime": "2025-12-07T15:45:36.1497805Z",
  "Confirmation": "sample string 5",
  "IsPerformed": true,
  "Feedback": "sample string 7",
  "UserId": 1,
  "LeadId": 1,
  "ProjectId": 1,
  "ProjectIds": [
    1,
    2
  ],
  "ToBeReminded": true,
  "ReminderOver": "sample string 9",
  "CheckIn": "2025-12-07T15:45:36.1497805Z",
  "CheckOut": "2025-12-07T15:45:36.1497805Z",
  "LocationAddress": "sample string 12",
  "LocationType": "sample string 13",
  "Image1Url": "sample string 14",
  "Image2Url": "sample string 15",
  "Image3Url": "sample string 16",
  "Lat": 1.1,
  "Lng": 1.1,
  "FollowUpStatusId": 1,
  "SiteVisitType": "sample string 17",
  "BookingId": 1,
  "CompanyStageId": 1,
  "LeadStageId": 1,
  "CompanyStageReasonId": 1,
  "BookingDate": "2025-12-07T15:45:36.1508137Z",
  "Users": [
    {
      "Id": 1,
      "Name": "sample string 1"
    },
    {
      "Id": 1,
      "Name": "sample string 1"
    }
  ]
}

application/xml, text/xml

Sample:
<CreateFollowUpVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Services.Lead">
  <BookingDate>2025-12-07T21:15:36.1508137+05:30</BookingDate>
  <BookingId>1</BookingId>
  <CheckIn>2025-12-07T21:15:36.1497805+05:30</CheckIn>
  <CheckOut>2025-12-07T21:15:36.1497805+05:30</CheckOut>
  <CompanyStageId>1</CompanyStageId>
  <CompanyStageReasonId>1</CompanyStageReasonId>
  <Confirmation>sample string 5</Confirmation>
  <EndDateTime>2025-12-07T21:15:36.1497805+05:30</EndDateTime>
  <Feedback>sample string 7</Feedback>
  <FollowUpStatusId>1</FollowUpStatusId>
  <Image1Url>sample string 14</Image1Url>
  <Image2Url>sample string 15</Image2Url>
  <Image3Url>sample string 16</Image3Url>
  <IsPerformed>true</IsPerformed>
  <Lat>1.1</Lat>
  <LeadActivityTypeId>1</LeadActivityTypeId>
  <LeadId>1</LeadId>
  <LeadStageId>1</LeadStageId>
  <Lng>1.1</Lng>
  <LocationAddress>sample string 12</LocationAddress>
  <LocationType>sample string 13</LocationType>
  <ProjectId>1</ProjectId>
  <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 3</Remark>
  <ReminderOver>sample string 9</ReminderOver>
  <SiteVisitType>sample string 17</SiteVisitType>
  <StartDateTime>2025-12-07T21:15:36.1497805+05:30</StartDateTime>
  <Title>sample string 2</Title>
  <ToBeReminded>true</ToBeReminded>
  <Type>sample string 1</Type>
  <UserId>1</UserId>
  <Users>
    <SiteVisitUserVm>
      <Id>1</Id>
      <Name>sample string 1</Name>
    </SiteVisitUserVm>
    <SiteVisitUserVm>
      <Id>1</Id>
      <Name>sample string 1</Name>
    </SiteVisitUserVm>
  </Users>
</CreateFollowUpVm>

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 'CreateFollowUpVm'.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Description

string

None.

Data

Object

None.

Count

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Description": "sample string 3",
  "Data": {},
  "Count": 5
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models">
  <Count>5</Count>
  <Data />
  <Description>sample string 3</Description>
  <Message>sample string 2</Message>
  <Success>true</Success>
</Response>