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.

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": "fa71d1b9-a435-43af-b601-b6c0cc17a289",
  "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": "2021-08-03T09:30:51.1767699+00:00"
}

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":"fa71d1b9-a435-43af-b601-b6c0cc17a289","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":"2021-08-03T09:30:51.1767699+00:00"}

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">fa71d1b9-a435-43af-b601-b6c0cc17a289</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>
  <Phone xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">sample string 11</Phone>
  <TimeStamp xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">2021-08-03T09:30:51.1767699+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.