POST api/messageagent

Request Information

URI Parameters

None.

Body Parameters

MessageAgentEmail
NameDescriptionTypeAdditional information
AgentID

integer

None.

BuyerName

string

None.

BuyerEmail

string

None.

BuyerMessage

string

None.

ID

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",
  "BuyerMessage": "sample string 4",
  "ID": "sample string 5",
  "leadActivityType": 11,
  "productType": 1,
  "agentContactType": 1,
  "mlsPropertyListingID": "sample string 6",
  "buyerId": 1,
  "active": true,
  "agentId": 8,
  "cookieId": "eae976e6-20d4-493b-84e4-0b69f0e468c3",
  "email": "sample string 9",
  "Email_Sort": "sample string 9",
  "phone": "sample string 10",
  "id": "sample string 11",
  "leadActivityTypeDescription": "Message Agent Activity",
  "LeadActivityTypeDescription_Sort": "message agent activity",
  "name": "sample string 12",
  "Name_Sort": "sample string 12",
  "productTypeDescription": "IDX Home Search",
  "ProductTypeDescription_Sort": "idx home search",
  "timestamp": "2024-12-21T16:21:48.4626869+00:00",
  "platform": "sample string 14",
  "partner": "sample string 15"
}

text/html

Sample:
{"AgentID":1,"BuyerName":"sample string 2","BuyerEmail":"sample string 3","BuyerMessage":"sample string 4","ID":"sample string 5","leadActivityType":11,"productType":1,"agentContactType":1,"mlsPropertyListingID":"sample string 6","buyerId":1,"active":true,"agentId":8,"cookieId":"eae976e6-20d4-493b-84e4-0b69f0e468c3","email":"sample string 9","Email_Sort":"sample string 9","phone":"sample string 10","id":"sample string 11","leadActivityTypeDescription":"Message Agent Activity","LeadActivityTypeDescription_Sort":"message agent activity","name":"sample string 12","Name_Sort":"sample string 12","productTypeDescription":"IDX Home Search","ProductTypeDescription_Sort":"idx home search","timestamp":"2024-12-21T16:21:48.4626869+00:00","platform":"sample string 14","partner":"sample string 15"}

application/xml, text/xml

Sample:
<MessageAgentEmail 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">8</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">eae976e6-20d4-493b-84e4-0b69f0e468c3</CookieId>
  <Email xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">sample string 9</Email>
  <Id xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">sample string 11</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 12</Name>
  <Partner xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">sample string 15</Partner>
  <Phone xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">sample string 10</Phone>
  <Platform xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">sample string 14</Platform>
  <TimeStamp xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">2024-12-21T16:21:48.4626869+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 6</MLSPropertyListingID>
  <AgentID>1</AgentID>
  <BuyerEmail>sample string 3</BuyerEmail>
  <BuyerMessage>sample string 4</BuyerMessage>
  <BuyerName>sample string 2</BuyerName>
  <ID>sample string 5</ID>
</MessageAgentEmail>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.