POST api/ScheduleShowing

Request Information

URI Parameters

None.

Body Parameters

ScheduleShowingEmail
NameDescriptionTypeAdditional information
AgentID

integer

None.

BuyerName

string

None.

BuyerEmail

string

None.

ID

string

None.

ShowDate

string

None.

ShowTime

string

None.

leadActivityType

LeadActivityType

None.

productType

ProductType

None.

agentContactType

AgentContactType

None.

mlsPropertyListingID

string

None.

buyerId

integer

None.

active

boolean

None.

agentId

integer

None.

cookieId

globally unique identifier

None.

email

string

None.

Email_Sort

string

None.

phone

string

None.

id

string

None.

leadActivityTypeDescription

string

None.

LeadActivityTypeDescription_Sort

string

None.

name

string

None.

Name_Sort

string

None.

productTypeDescription

string

None.

ProductTypeDescription_Sort

string

None.

timestamp

date

None.

platform

string

None.

partner

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AgentID": 1,
  "BuyerName": "sample string 2",
  "BuyerEmail": "sample string 3",
  "ID": "sample string 4",
  "ShowDate": "sample string 5",
  "ShowTime": "sample string 6",
  "leadActivityType": 11,
  "productType": 1,
  "agentContactType": 1,
  "mlsPropertyListingID": "sample string 7",
  "buyerId": 1,
  "active": true,
  "agentId": 9,
  "cookieId": "c4ec16e3-c37b-455f-ace3-78626873bfe8",
  "email": "sample string 10",
  "Email_Sort": "sample string 10",
  "phone": "sample string 11",
  "id": "sample string 12",
  "leadActivityTypeDescription": "Message Agent Activity",
  "LeadActivityTypeDescription_Sort": "message agent activity",
  "name": "sample string 13",
  "Name_Sort": "sample string 13",
  "productTypeDescription": "IDX Home Search",
  "ProductTypeDescription_Sort": "idx home search",
  "timestamp": "2024-12-21T15:45:35.4437218+00:00",
  "platform": "sample string 15",
  "partner": "sample string 16"
}

text/html

Sample:
{"AgentID":1,"BuyerName":"sample string 2","BuyerEmail":"sample string 3","ID":"sample string 4","ShowDate":"sample string 5","ShowTime":"sample string 6","leadActivityType":11,"productType":1,"agentContactType":1,"mlsPropertyListingID":"sample string 7","buyerId":1,"active":true,"agentId":9,"cookieId":"c4ec16e3-c37b-455f-ace3-78626873bfe8","email":"sample string 10","Email_Sort":"sample string 10","phone":"sample string 11","id":"sample string 12","leadActivityTypeDescription":"Message Agent Activity","LeadActivityTypeDescription_Sort":"message agent activity","name":"sample string 13","Name_Sort":"sample string 13","productTypeDescription":"IDX Home Search","ProductTypeDescription_Sort":"idx home search","timestamp":"2024-12-21T15:45:35.4437218+00:00","platform":"sample string 15","partner":"sample string 16"}

application/xml, text/xml

Sample:
<ScheduleShowingEmail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Emails">
  <Active xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">true</Active>
  <AgentId xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">9</AgentId>
  <BuyerId xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">1</BuyerId>
  <CookieId xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">c4ec16e3-c37b-455f-ace3-78626873bfe8</CookieId>
  <Email xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">sample string 10</Email>
  <Id xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">sample string 12</Id>
  <LeadActivityType xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">MessageAgentActivity</LeadActivityType>
  <Name xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">sample string 13</Name>
  <Partner xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">sample string 16</Partner>
  <Phone xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">sample string 11</Phone>
  <Platform xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">sample string 15</Platform>
  <TimeStamp xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">2024-12-21T15:45:35.4437218+00:00</TimeStamp>
  <AgentContactType xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">MessageAgent</AgentContactType>
  <MLSPropertyListingID xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">sample string 7</MLSPropertyListingID>
  <AgentID>1</AgentID>
  <BuyerEmail>sample string 3</BuyerEmail>
  <BuyerName>sample string 2</BuyerName>
  <ID>sample string 4</ID>
  <ShowDate>sample string 5</ShowDate>
  <ShowTime>sample string 6</ShowTime>
</ScheduleShowingEmail>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.