POST api/ScheduledVisitGenerateOTP

Request Information

URI Parameters

None.

Body Parameters

ScheduledVisitVm
NameDescriptionTypeAdditional information
Id

integer

None.

Email

string

None.

Mobile

string

None.

OTP

string

None.

Username

string

None.

InventoryId

integer

None.

ScheduledDate

date

None.

HasOnlineTour

boolean

None.

CampaignName

string

None.

SourceName

string

None.

UID

string

None.

IsFromMobile

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Email": "sample string 2",
  "Mobile": "sample string 3",
  "OTP": "sample string 4",
  "Username": "sample string 5",
  "InventoryId": 1,
  "ScheduledDate": "2025-12-07T14:40:53.5121136Z",
  "HasOnlineTour": true,
  "CampaignName": "sample string 8",
  "SourceName": "sample string 9",
  "UID": "sample string 10",
  "IsFromMobile": true
}

application/xml, text/xml

Sample:
<ScheduledVisitVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Services.Antilla">
  <CampaignName>sample string 8</CampaignName>
  <Email>sample string 2</Email>
  <HasOnlineTour>true</HasOnlineTour>
  <Id>1</Id>
  <InventoryId>1</InventoryId>
  <IsFromMobile>true</IsFromMobile>
  <Mobile>sample string 3</Mobile>
  <OTP>sample string 4</OTP>
  <ScheduledDate>2025-12-07T20:10:53.5121136+05:30</ScheduledDate>
  <SourceName>sample string 9</SourceName>
  <UID>sample string 10</UID>
  <Username>sample string 5</Username>
</ScheduledVisitVm>

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

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>